#F0D671#F0D671
#F0D671 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.7% C 0.125 H 95.2°. Best body text is #000000 at 14.56:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D671 |
|---|---|
| RGB | rgb(240, 214, 113) |
| HSL | hsl(48, 81%, 69%) |
| HSV | hsv(48, 53%, 94%) |
| CMYK | cmyk(0%, 10.8%, 52.9%, 5.9%) |
| CIE-LAB | lab(85.91, -3.41, 52.61) |
| CIE-LCH | lch(85.91, 52.72, 93.71°) |
| OKLab | oklab(87.74% -0.0113 0.1241) |
| OKLCH | oklch(87.74% 0.125 95.2) |
| XYZ | xyz(62.9647, 67.8134, 25.3923) |
| Luminance | 0.6781 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.35
Wheat (survey)
#FBDD7E
ΔE00 2.36
Pale Gold
#FDDE6C
ΔE00 2.77
Light Mustard
#F7D560
ΔE00 2.79
Yellow Tan
#FFE36E
ΔE00 3.53
Sand Yellow
#FCE166
ΔE00 3.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D671 #718BF0
analogous
#F09771 #F0D671 #CAF071
triadic
#F0D671 #71F0D6 #D671F0
tetradic
#F0D671 #71F097 #718BF0 #F071CA
square
#F0D671 #71F097 #718BF0 #F071CA
split-complementary
#F0D671 #71CAF0 #9771F0
monochromatic
#D1AA16 #EAC63A #F0D671 #F6E6A8 #FCF6E0
Accessibility & contrast
On white
1.44
#F0D671 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.56
#F0D671 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D671
14.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D671 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D671 | 1.00 | 1.44 | 14.56 | 14.56 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D268
Deuteranopia (green-blind)
#EFDA75
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d671; /* rgb */ color: rgb(240, 214, 113); /* oklch */ color: oklch(87.7% 0.125 95.2);
Tailwind
colors: {
custom: {
50: '#f7e29c',
500: '#f0d671',
950: '#000000',
},
}SCSS
$custom: #f0d671; $custom-light: #f7e29c; $custom-dark: #000000;
JSON
{
"hex": "#f0d671",
"rgb": {
"r": 240,
"g": 214,
"b": 113
},
"hsl": {
"h": 47.717,
"s": 80.892,
"l": 69.216
},
"oklch": {
"l": 0.87744,
"c": 0.12462,
"h": 95.2
},
"luminance": 0.67811
}Semantic roles & 50–950 ramp
primary
#F0D671
secondary
#3C59C9
accent
#34DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F