Crayola crayon color
Crayola Canary #FFFF99
Crayola Canary is shown here as #FFFF99, the commonly published value for the crayon. It is a pale soft yellow in the yellow family. In OKLCH it sits at lightness 0.978, chroma 0.124 and hue 108.5°. The nearest CSS named color is khaki (#F0E68C), ΔE2000 5.6 away.
- Relative luminance
- 0.9508
- OKLCH L · C · h
- 0.978 · 0.124 · 108.5
- Best text
- Black 20.01:1
- Hue family
- Yellow
#FFFF99 color codes
- HEX
#FFFF99- RGB
rgb(255, 255, 153)- HSL
hsl(60, 100%, 80%)- OKLCH
oklch(0.978 0.124 108.5)- OKLab
oklab(0.978 -0.039 0.118)- CIELAB (D65)
L* 98.07, a* -14.23, b* 48.66- XYZ (D65)
X 82.75, Y 95.08, Z 44.12- CMYK (naive)
cmyk(0%, 0%, 40%, 0%)
CIELAB and XYZ use the D65 white point; CSS lab() uses D50, so paste the OKLCH or HEX value into stylesheets. CMYK here is a plain formula with no press profile.
Crayola is a trademark of Crayola LLC, which this site is not affiliated with. The value is the commonly published sRGB rendering of the crayon, not a Crayola specification.
Legibility
Contrast: is #FFFF99 accessible?
Black text on it reaches 20.01:1, passing AAA. White text fails at 1.04:1.
WCAG 2 gives the same ratio whichever color is the text; APCA does not, so its Lc changes sign and size with polarity.
Open the Contrast System-
Black text on it
20.01:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc +102
-
White text on it
1.04:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc 0
Text is here, unreadable at 1.04:1
-
As text on black
20.01:1
- AA passes
- AA large passes
- AAA passes
- APCA Lc −104
-
As text on white
1.04:1
- AA fails
- AA large fails
- AAA fails
- APCA Lc 0
Text is here, unreadable at 1.04:1
Nearest versions that pass 4.5:1
-
For text on white
#7C7A00 4.52:1
Darkening its OKLCH lightness from 0.98 to 0.56 reaches 4.52:1 on white, keeping the hue.
-
For text on black
#FFFF99 20.01:1
It already reaches 20.01:1 on black, so no change is needed.
Checking another pair? Use the Contrast Checker.
Studio
Adjust #FFFF99 live
Move lightness, chroma and hue in OKLCH, or drag on the map. The map is every lightness and chroma at the current hue: sRGB inside the solid area, Display P3 out to the dashed line.
Scale
Shades and tints of #FFFF99
Eleven OKLCH lightness steps at this hue, each with its contrast against white and black. #FFFF99 sits at step 50.
Under each step, white and black text on it; a bold figure passes 4.5:1.
Gamut
How vivid #FFFF99 can get
At its lightness and hue, sRGB reaches OKLCH chroma 0.125; #FFFF99 uses 100% of it. Display P3 reaches no further at this hue.
- sRGB
- Display P3
- Rec. 2020
- Dominant wavelength
- OKLCH chroma
- 0.124
- sRGB edge
- 0.125
- Display P3 edge
- 0.124
- Rec. 2020 edge
- 0.152
- Dominant wavelength
- 570 nm
- Excitation purity
- 45%
- Chromaticity
- x 0.3728, y 0.4284
- This color#FFFF99
- Most vivid in sRGB#FFFF99
- Most vivid in Display P3oklch(0.978 0.124 108.5)
On a screen without Display P3 the last tile shows the sRGB edge instead.
.accent {
color: #ffff99;
}
@media (color-gamut: p3) {
.accent { color: color(display-p3 1 1 0.6497); }
}
Mixing
Mixing #FFFF99
Each row is the same mix worked out in a different space, with the halfway color at its end. sRGB, which older CSS gradients use, can sag gray or dark in the middle; OKLab keeps the lightness steps even; OKLCH holds chroma and hue as it goes.
White #FFFFFF
- sRGB50%#FFFFCC
- OKLab50%#FFFFCF
- OKLCH50%#FEFFD7
Black #000000
- sRGB50%#80804D
- OKLab50%#636338
- OKLCH50%#636338
Its complement #F7F7FF
- sRGB50%#FBFBCC
- OKLab50%#FBFCD0
- OKLCH50%#E2FFFF
/* A gradient and a mix, worked out in OKLCH */
background: linear-gradient(in oklch, #ffff99, white);
color: color-mix(in oklch, #ffff99 50%, white);
In use
#FFFF99 in an interface
A button, a link, a heading, a focused field, an icon and a chart line in this color, on a light page and a dark one. Each check is a WCAG 2 contrast minimum: 1.4.3 for text, 1.4.11 for the rest.
Light page
- Button labelText, 4.5:120.01:1 Passes
- Link and body-size textText, 4.5:11.04:1 Fails
- Large headingLarge text, 3:11.04:1 Fails
- Icons, borders and focus ringsNon-text, 3:11.04:1 Fails
For text on this page, the nearest shade that passes is #7C7A00 4.52:1
Dark page
- Button labelText, 4.5:120.01:1 Passes
- Link and body-size textText, 4.5:117.85:1 Passes
- Large headingLarge text, 3:117.85:1 Passes
- Icons, borders and focus ringsNon-text, 3:117.85:1 Passes
Color vision
How #FFFF99 looks with color blindness
Achromatopsia changes it most, ΔE2000 23.8; deuteranopia changes it least, 1.7.
Simulated with Machado et al. (2009) at full severity, in linear light.
Simulate a whole page What each type sees-
Protanopia
No working red (long-wavelength) cones
#FFF791 ΔE2000 2.4
Close match
Reads as pale soft yellow
-
Deuteranopia
No working green (medium-wavelength) cones
#FFFB9E ΔE2000 1.7
Very close
Reads as pale soft yellow
-
Tritanopia
No working blue (short-wavelength) cones
#FFF3E6 ΔE2000 20.4
Distinct
Reads as pale grayish orange
-
Achromatopsia
No cone color vision; lightness only
#F9F9F9 ΔE2000 23.8
Distinct
Reads as off-white
Pairing check
Checked against its complement, #F7F7FF. Their lightness contrast is only 1.01:1, so where hue collapses, add a label, icon or pattern.
| Vision | The pair | ΔE2000 | Verdict |
|---|---|---|---|
| Normal vision | #FFFF99 · #F7F7FF | 29.5 | Stays distinct |
| Protanopia | #FFF791 · #F5F8FF | 29.1 | Stays distinct |
| Deuteranopia | #FFFB9E · #F5F7FF | 28.5 | Stays distinct |
| Tritanopia | #FFF3E6 · #F6F8F9 | 7.9 | Harder to tell apart |
| Achromatopsia | #F9F9F9 · #F8F8F8 | 0.2 | Easily confused |
Harmony
Color harmonies for #FFFF99
Its complement is #F7F7FF, an off-white.
Hue rotations in OKLCH, mapped into sRGB by trimming chroma so hue and lightness stay put.
Open the Harmony Studio- Base#FFFF99
- Complement#F7F7FF
Complementary
Open in Harmony Studio- −30°#FFF7EA
- Base#FFFF99
- +30°#EBFFE5
Analogous
Open in Harmony Studio- Base#FFFF99
- +120°#EFFAFF
- +240°#FFF5F9
Triadic
Open in Harmony Studio- Base#FFFF99
- +150°#F4F8FF
- +210°#FDF5FF
Split-complementary
Open in Harmony StudioCode
Design tokens
Ready-to-paste tokens in six formats. Rename them to fit your system.
:root {
--color-crayola-canary: #ffff99;
}
// tailwind.config.js
module.exports = {
theme: {
extend: {
colors: {
'crayola-canary': '#ffff99',
},
},
},
};
/* app.css — Tailwind CSS v4 */
@import "tailwindcss";
@theme {
--color-crayola-canary: oklch(0.978 0.124 108.5);
}
{
"color": {
"crayola-canary": {
"$type": "color",
"$value": {
"colorSpace": "srgb",
"components": [1, 1, 0.6],
"hex": "#ffff99"
},
"$description": "Crayola Canary"
}
}
}
import SwiftUI
enum Palette {
static let crayolaCanary = Color(.sRGB, red: 1.000, green: 1.000, blue: 0.600, opacity: 1)
}
import androidx.compose.ui.graphics.Color
object Palette {
val CrayolaCanary = Color(0xFFFFFF99)
}
Matches
The nearest match in each system
The closest CSS name, Tailwind shade, RAL Classic paint and Crayola crayon by ΔE2000; under 2 is hard to tell apart side by side. RAL and Crayola values approximate physical colors.
Tools
Open #FFFF99 in the tools
Each opens over this page. More colors live in the Color Library, and every color page is listed on the hub.
- Color InspectorEvery format, its names, contrast and color vision in one panel.
- Contrast SystemBlack and white text on this color, with fixes in both directions.
- Harmony StudioPalettes built from this color, walked to a contrast target if you ask.
- Color Space ConverterThe same color in 34 notations, with its gamut headroom.
- Color Name FinderThe nearest of 1,055 color names by ΔE2000.