#F2D866#F2D866
#F2D866 is a very light, vivid yellow. Relative luminance 0.689; OKLCH L 88.2% C 0.136 H 96.6°. Best body text is #000000 at 14.79:1 contrast (WCAG AA passes).
Color values
| HEX | #F2D866 |
|---|---|
| RGB | rgb(242, 216, 102) |
| HSL | hsl(49, 84%, 67%) |
| HSV | hsv(49, 58%, 95%) |
| CMYK | cmyk(0%, 10.7%, 57.9%, 5.1%) |
| CIE-LAB | lab(86.48, -4.45, 58.40) |
| CIE-LCH | lch(86.48, 58.57, 94.36°) |
| OKLab | oklab(88.2% -0.0157 0.1354) |
| OKLCH | oklch(88.2% 0.136 96.6) |
| XYZ | xyz(63.5746, 68.9511, 22.5280) |
| Luminance | 0.6895 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pale Gold
#FDDE6C
ΔE00 2.03
Light Mustard
#F7D560
ΔE00 2.19
Sand Yellow
#FCE166
ΔE00 2.26
Light Gold
#FDDC5C
ΔE00 2.54
Sandy
#F1DA7A
ΔE00 2.56
Yellow Tan
#FFE36E
ΔE00 2.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F2D866 #6680F2
analogous
#F29266 #F2D866 #C6F266
triadic
#F2D866 #66F2D8 #D866F2
tetradic
#F2D866 #66F292 #6680F2 #F266C6
square
#F2D866 #66F292 #6680F2 #F266C6
split-complementary
#F2D866 #66C6F2 #9266F2
monochromatic
#CCAA11 #EDCA2E #F2D866 #F7E69E #FCF5D7
Accessibility & contrast
On white
1.42
#F2D866 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.79
#F2D866 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F2D866
14.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F2D866 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F2D866 | 1.00 | 1.42 | 14.79 | 14.79 |
| #FFFFFF | 1.42 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.79 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.79 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EBD35A
Deuteranopia (green-blind)
#F2DC6B
Tritanopia (blue-blind)
#FFCABF
Achromatopsia (no color)
#D8D8D8
Design tokens & code
CSS
--color: #f2d866; /* rgb */ color: rgb(242, 216, 102); /* oklch */ color: oklch(88.2% 0.136 96.6);
Tailwind
colors: {
custom: {
50: '#f9e395',
500: '#f2d866',
950: '#000000',
},
}SCSS
$custom: #f2d866; $custom-light: #f9e395; $custom-dark: #000000;
JSON
{
"hex": "#f2d866",
"rgb": {
"r": 242,
"g": 216,
"b": 102
},
"hsl": {
"h": 48.857,
"s": 84.337,
"l": 67.451
},
"oklch": {
"l": 0.88196,
"c": 0.13635,
"h": 96.6
},
"luminance": 0.68948
}Semantic roles & 50–950 ramp
primary
#F2D866
secondary
#344FC9
accent
#2EE105
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150D
muted
#86847F