#F0D662#F0D662
#F0D662 is a very light, vivid yellow. Relative luminance 0.675; OKLCH L 87.6% C 0.138 H 96.8°. Best body text is #000000 at 14.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D662 |
|---|---|
| RGB | rgb(240, 214, 98) |
| HSL | hsl(49, 83%, 66%) |
| HSV | hsv(49, 59%, 94%) |
| CMYK | cmyk(0%, 10.8%, 59.2%, 5.9%) |
| CIE-LAB | lab(85.76, -4.54, 59.33) |
| CIE-LCH | lch(85.76, 59.50, 94.37°) |
| OKLab | oklab(87.57% -0.0163 0.137) |
| OKLCH | oklch(87.57% 0.138 96.8) |
| XYZ | xyz(62.1889, 67.5031, 21.3066) |
| Luminance | 0.6750 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.15
Pale Gold
#FDDE6C
ΔE00 2.44
Sand Yellow
#FCE166
ΔE00 2.60
Light Gold
#FDDC5C
ΔE00 2.66
Dull Yellow
#EEDC5B
ΔE00 2.80
Sandy
#F1DA7A
ΔE00 2.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D662 #627CF0
analogous
#F08F62 #F0D662 #C3F062
triadic
#F0D662 #62F0D6 #D662F0
tetradic
#F0D662 #62F08F #627CF0 #F062C3
square
#F0D662 #62F08F #627CF0 #F062C3
split-complementary
#F0D662 #62C3F0 #8F62F0
monochromatic
#C5A413 #EBC72A #F0D662 #F5E59A #FBF3D2
Accessibility & contrast
On white
1.45
#F0D662 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.50
#F0D662 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D662
14.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D662 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D662 | 1.00 | 1.45 | 14.50 | 14.50 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D156
Deuteranopia (green-blind)
#F0DA67
Tritanopia (blue-blind)
#FFC8BD
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d662; /* rgb */ color: rgb(240, 214, 98); /* oklch */ color: oklch(87.6% 0.138 96.8);
Tailwind
colors: {
custom: {
50: '#f8e292',
500: '#f0d662',
950: '#000000',
},
}SCSS
$custom: #f0d662; $custom-light: #f8e292; $custom-dark: #000000;
JSON
{
"hex": "#f0d662",
"rgb": {
"r": 240,
"g": 214,
"b": 98
},
"hsl": {
"h": 49.014,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.8757,
"c": 0.13796,
"h": 96.8
},
"luminance": 0.675
}Semantic roles & 50–950 ramp
primary
#F0D662
secondary
#344EC2
accent
#2EDF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F