#F2DF66#F2DF66
#F2DF66 is a very light, vivid yellow. Relative luminance 0.726; OKLCH L 89.6% C 0.142 H 100.5°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F2DF66 |
|---|---|
| RGB | rgb(242, 223, 102) |
| HSL | hsl(52, 84%, 67%) |
| HSV | hsv(52, 58%, 95%) |
| CMYK | cmyk(0%, 7.9%, 57.9%, 5.1%) |
| CIE-LAB | lab(88.26, -7.98, 60.41) |
| CIE-LCH | lch(88.26, 60.94, 97.52°) |
| OKLab | oklab(89.61% -0.0258 0.1398) |
| OKLCH | oklch(89.61% 0.142 100.5) |
| XYZ | xyz(65.4063, 72.6145, 23.1385) |
| Luminance | 0.7261 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.21
Sand Yellow
#FCE166
ΔE00 2.21
Yellow Tan
#FFE36E
ΔE00 2.74
Sandy Yellow
#FDEE73
ΔE00 3.28
Pale Gold
#FDDE6C
ΔE00 3.37
Sandy
#F1DA7A
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2DF66 #6679F2
analogous
#F29966 #F2DF66 #BFF266
triadic
#F2DF66 #66F2DF #DF66F2
tetradic
#F2DF66 #66F299 #6679F2 #F266BF
square
#F2DF66 #66F299 #6679F2 #F266BF
split-complementary
#F2DF66 #66BFF2 #9966F2
monochromatic
#CCB311 #EDD32E #F2DF66 #F7EB9E #FCF7D7
Accessibility & contrast
On white
1.35
#F2DF66 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.52
#F2DF66 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2DF66
15.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2DF66 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2DF66 | 1.00 | 1.35 | 15.52 | 15.52 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2D959
Deuteranopia (green-blind)
#F7E16C
Tritanopia (blue-blind)
#FFD1C4
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f2df66; /* rgb */ color: rgb(242, 223, 102); /* oklch */ color: oklch(89.6% 0.142 100.5);
Tailwind
colors: {
custom: {
50: '#f9e896',
500: '#f2df66',
950: '#000000',
},
}SCSS
$custom: #f2df66; $custom-light: #f9e896; $custom-dark: #000000;
JSON
{
"hex": "#f2df66",
"rgb": {
"r": 242,
"g": 223,
"b": 102
},
"hsl": {
"h": 51.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.89609,
"c": 0.14213,
"h": 100.5
},
"luminance": 0.72612
}Semantic roles & 50–950 ramp
primary
#F2DF66
secondary
#3448C9
accent
#23E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18160E
muted
#86847F