Canary Yellow#FFFE40
#FFFE40 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.194 H 109.2°. Best body text is #000000 at 19.50:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFE40 |
|---|---|
| RGB | rgb(255, 254, 64) |
| HSL | hsl(60, 100%, 63%) |
| HSV | hsv(60, 75%, 100%) |
| CMYK | cmyk(0%, 0.4%, 74.9%, 0%) |
| CIE-LAB | lab(97.03, -19.87, 83.87) |
| CIE-LCH | lch(97.03, 86.19, 103.33°) |
| OKLab | oklab(96.76% -0.0639 0.1832) |
| OKLCH | oklch(96.76% 0.194 109.2) |
| XYZ | xyz(77.6102, 92.5162, 18.6187) |
| Luminance | 0.9251 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary Yellow
#FFFE40
ΔE00 0.00
Sunshine Yellow
#FFFD37
ΔE00 0.57
Lemon Yellow
#FDFF38
ΔE00 0.71
Banana Yellow
#FAFE4B
ΔE00 1.44
Lemon (survey)
#FDFF52
ΔE00 1.48
Yellow (survey)
#FFFF14
ΔE00 1.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFE40 #4041FF
analogous
#FF9F40 #FFFE40 #A0FF40
triadic
#FFFE40 #40FFFE #FE40FF
tetradic
#FFFE40 #40FF9F #4041FF #FF40A0
square
#FFFE40 #40FF9F #4041FF #FF40A0
split-complementary
#FFFE40 #40A0FF #9F40FF
monochromatic
#C5C400 #FFFE03 #FFFE40 #FFFE7D #FFFFBA
Accessibility & contrast
On white
1.08
#FFFE40 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.50
#FFFE40 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFE40
19.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFE40 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFE40 | 1.00 | 1.08 | 19.50 | 19.50 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF308
Deuteranopia (green-blind)
#FFF950
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #fffe40; /* rgb */ color: rgb(255, 254, 64); /* oklch */ color: oklch(96.8% 0.194 109.2);
Tailwind
colors: {
custom: {
50: '#fffe83',
500: '#fffe40',
950: '#000000',
},
}SCSS
$custom: #fffe40; $custom-light: #fffe83; $custom-dark: #000000;
JSON
{
"hex": "#fffe40",
"rgb": {
"r": 255,
"g": 254,
"b": 64
},
"hsl": {
"h": 59.686,
"s": 100,
"l": 62.549
},
"oklch": {
"l": 0.96759,
"c": 0.19403,
"h": 109.2
},
"luminance": 0.92514
}Semantic roles & 50–950 ramp
primary
#FFFE40
secondary
#2223C1
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F