#FFFE42#FFFE42
#FFFE42 is a very light, vivid yellow. Relative luminance 0.925; OKLCH L 96.8% C 0.193 H 109.2°. Best body text is #000000 at 19.51:1 contrast (WCAG AA passes).
Color values
| HEX | #FFFE42 |
|---|---|
| RGB | rgb(255, 254, 66) |
| HSL | hsl(60, 100%, 63%) |
| HSV | hsv(60, 74%, 100%) |
| CMYK | cmyk(0%, 0.4%, 74.1%, 0%) |
| CIE-LAB | lab(97.04, -19.79, 83.28) |
| CIE-LCH | lch(97.04, 85.60, 103.37°) |
| OKLab | oklab(96.77% -0.0635 0.1823) |
| OKLCH | oklch(96.77% 0.193 109.2) |
| XYZ | xyz(77.6681, 92.5394, 18.9238) |
| Luminance | 0.9254 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Canary Yellow
#FFFE40
ΔE00 0.13
Sunshine Yellow
#FFFD37
ΔE00 0.69
Lemon Yellow
#FDFF38
ΔE00 0.79
Banana Yellow
#FAFE4B
ΔE00 1.36
Lemon (survey)
#FDFF52
ΔE00 1.37
Yellow (survey)
#FFFF14
ΔE00 1.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#FFFE42 #4243FF
analogous
#FFA042 #FFFE42 #A1FF42
triadic
#FFFE42 #42FFFE #FE42FF
tetradic
#FFFE42 #42FFA0 #4243FF #FF42A1
square
#FFFE42 #42FFA0 #4243FF #FF42A1
split-complementary
#FFFE42 #42A1FF #A042FF
monochromatic
#C7C600 #FFFE05 #FFFE42 #FFFE7F #FFFFBC
Accessibility & contrast
On white
1.08
#FFFE42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
19.51
#FFFE42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #FFFE42
19.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##FFFE42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##FFFE42 | 1.00 | 1.08 | 19.51 | 19.51 |
| #FFFFFF | 1.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 19.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 19.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#FFF311
Deuteranopia (green-blind)
#FFF952
Tritanopia (blue-blind)
#FFEEDB
Achromatopsia (no color)
#F6F6F6
Design tokens & code
CSS
--color: #fffe42; /* rgb */ color: rgb(255, 254, 66); /* oklch */ color: oklch(96.8% 0.193 109.2);
Tailwind
colors: {
custom: {
50: '#fffe84',
500: '#fffe42',
950: '#000000',
},
}SCSS
$custom: #fffe42; $custom-light: #fffe84; $custom-dark: #000000;
JSON
{
"hex": "#fffe42",
"rgb": {
"r": 255,
"g": 254,
"b": 66
},
"hsl": {
"h": 59.683,
"s": 100,
"l": 62.941
},
"oklch": {
"l": 0.9677,
"c": 0.19306,
"h": 109.2
},
"luminance": 0.92537
}Semantic roles & 50–950 ramp
primary
#FFFE42
secondary
#2223C3
accent
#01E600
background
#FFFFFC
surface
#FFFFF4
border
#D7D7CE
text
#19170C
muted
#87857F