#F2DE66#F2DE66
#F2DE66 is a very light, vivid yellow. Relative luminance 0.721; OKLCH L 89.4% C 0.141 H 99.9°. Best body text is #000000 at 15.42:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DE66 |
|---|---|
| RGB | rgb(242, 222, 102) |
| HSL | hsl(51, 84%, 67%) |
| HSV | hsv(51, 58%, 95%) |
| CMYK | cmyk(0%, 8.3%, 57.9%, 5.1%) |
| CIE-LAB | lab(88.01, -7.48, 60.13) |
| CIE-LCH | lch(88.01, 60.59, 97.09°) |
| OKLab | oklab(89.41% -0.0244 0.1392) |
| OKLCH | oklch(89.41% 0.141 99.9) |
| XYZ | xyz(65.1399, 72.0818, 23.0497) |
| Luminance | 0.7208 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.28
Sand Yellow
#FCE166
ΔE00 2.05
Yellow Tan
#FFE36E
ΔE00 2.58
Pale Gold
#FDDE6C
ΔE00 3.11
Sandy
#F1DA7A
ΔE00 3.38
Light Gold
#FDDC5C
ΔE00 3.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DE66 #667AF2
analogous
#F29866 #F2DE66 #C0F266
triadic
#F2DE66 #66F2DE #DE66F2
tetradic
#F2DE66 #66F298 #667AF2 #F266C0
square
#F2DE66 #66F298 #667AF2 #F266C0
split-complementary
#F2DE66 #66C0F2 #9866F2
monochromatic
#CCB211 #EDD22E #F2DE66 #F7EA9E #FCF6D7
Accessibility & contrast
On white
1.36
#F2DE66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.42
#F2DE66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DE66
15.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DE66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DE66 | 1.00 | 1.36 | 15.42 | 15.42 |
| #FFFFFF | 1.36 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1D85A
Deuteranopia (green-blind)
#F6E06C
Tritanopia (blue-blind)
#FFD0C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2de66; /* rgb */ color: rgb(242, 222, 102); /* oklch */ color: oklch(89.4% 0.141 99.9);
Tailwind
colors: {
custom: {
50: '#f9e895',
500: '#f2de66',
950: '#000000',
},
}SCSS
$custom: #f2de66; $custom-light: #f9e895; $custom-dark: #000000;
JSON
{
"hex": "#f2de66",
"rgb": {
"r": 242,
"g": 222,
"b": 102
},
"hsl": {
"h": 51.429,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.89407,
"c": 0.14127,
"h": 99.9
},
"luminance": 0.72079
}Semantic roles & 50–950 ramp
primary
#F2DE66
secondary
#3449C9
accent
#24E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F