#F2D666#F2D666
#F2D666 is a very light, vivid yellow. Relative luminance 0.679; OKLCH L 87.8% C 0.135 H 95.4°. Best body text is #000000 at 14.59:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D666 |
|---|---|
| RGB | rgb(242, 214, 102) |
| HSL | hsl(48, 84%, 67%) |
| HSV | hsv(48, 58%, 95%) |
| CMYK | cmyk(0%, 11.6%, 57.9%, 5.1%) |
| CIE-LAB | lab(85.97, -3.44, 57.82) |
| CIE-LCH | lch(85.97, 57.92, 93.40°) |
| OKLab | oklab(87.8% -0.0128 0.1342) |
| OKLCH | oklch(87.8% 0.135 95.4) |
| XYZ | xyz(63.0654, 67.9326, 22.3582) |
| Luminance | 0.6793 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.65
Pale Gold
#FDDE6C
ΔE00 2.06
Light Gold
#FDDC5C
ΔE00 2.58
Sandy
#F1DA7A
ΔE00 2.61
Maize
#F4D054
ΔE00 2.68
Sand Yellow
#FCE166
ΔE00 2.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D666 #6682F2
analogous
#F29066 #F2D666 #C8F266
triadic
#F2D666 #66F2D6 #D666F2
tetradic
#F2D666 #66F290 #6682F2 #F266C8
square
#F2D666 #66F290 #6682F2 #F266C8
split-complementary
#F2D666 #66C8F2 #9066F2
monochromatic
#CCA711 #EDC72E #F2D666 #F7E59E #FCF4D7
Accessibility & contrast
On white
1.44
#F2D666 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.59
#F2D666 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D666
14.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D666 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D666 | 1.00 | 1.44 | 14.59 | 14.59 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D25B
Deuteranopia (green-blind)
#F0DB6B
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f2d666; /* rgb */ color: rgb(242, 214, 102); /* oklch */ color: oklch(87.8% 0.135 95.4);
Tailwind
colors: {
custom: {
50: '#f9e295',
500: '#f2d666',
950: '#000000',
},
}SCSS
$custom: #f2d666; $custom-light: #f9e295; $custom-dark: #000000;
JSON
{
"hex": "#f2d666",
"rgb": {
"r": 242,
"g": 214,
"b": 102
},
"hsl": {
"h": 48,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.87795,
"c": 0.13481,
"h": 95.4
},
"luminance": 0.6793
}Semantic roles & 50–950 ramp
primary
#F2D666
secondary
#3451C9
accent
#31E105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F