#F2D166#F2D166
#F2D166 is a very light, vivid yellow. Relative luminance 0.654; OKLCH L 86.8% C 0.131 H 92.4°. Best body text is #000000 at 14.09:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D166 |
|---|---|
| RGB | rgb(242, 209, 102) |
| HSL | hsl(46, 84%, 67%) |
| HSV | hsv(46, 58%, 95%) |
| CMYK | cmyk(0%, 13.6%, 57.9%, 5.1%) |
| CIE-LAB | lab(84.71, -0.89, 56.38) |
| CIE-LCH | lch(84.71, 56.39, 90.90°) |
| OKLab | oklab(86.8% -0.0054 0.1311) |
| OKLCH | oklch(86.8% 0.131 92.4) |
| XYZ | xyz(61.8193, 65.4406, 21.9429) |
| Luminance | 0.6544 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.53
Maize
#F4D054
ΔE00 2.09
Pale Gold
#FDDE6C
ΔE00 3.05
Wheat (survey)
#FBDD7E
ΔE00 3.26
Light Gold
#FDDC5C
ΔE00 3.47
Sandy
#F1DA7A
ΔE00 3.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D166 #6687F2
analogous
#F28B66 #F2D166 #CDF266
triadic
#F2D166 #66F2D1 #D166F2
tetradic
#F2D166 #66F28B #6687F2 #F266CD
square
#F2D166 #66F28B #6687F2 #F266CD
split-complementary
#F2D166 #66CDF2 #8B66F2
monochromatic
#CCA011 #EDC02E #F2D166 #F7E29E #FCF3D7
Accessibility & contrast
On white
1.49
#F2D166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.09
#F2D166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D166
14.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D166 | 1.00 | 1.49 | 14.09 | 14.09 |
| #FFFFFF | 1.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CE5B
Deuteranopia (green-blind)
#EDD86B
Tritanopia (blue-blind)
#FFC3B9
Achromatopsia (no color)
#D3D3D3
Design tokens & code
CSS
--color: #f2d166; /* rgb */ color: rgb(242, 209, 102); /* oklch */ color: oklch(86.8% 0.131 92.4);
Tailwind
colors: {
custom: {
50: '#f9de95',
500: '#f2d166',
950: '#000000',
},
}SCSS
$custom: #f2d166; $custom-light: #f9de95; $custom-dark: #000000;
JSON
{
"hex": "#f2d166",
"rgb": {
"r": 242,
"g": 209,
"b": 102
},
"hsl": {
"h": 45.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.86797,
"c": 0.13121,
"h": 92.4
},
"luminance": 0.65437
}Semantic roles & 50–950 ramp
primary
#F2D166
secondary
#3457C9
accent
#39E105
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F