#F0D574#F0D574
#F0D574 is a very light, vivid yellow. Relative luminance 0.674; OKLCH L 87.6% C 0.121 H 94.2°. Best body text is #000000 at 14.48:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D574 |
|---|---|
| RGB | rgb(240, 213, 116) |
| HSL | hsl(47, 81%, 70%) |
| HSV | hsv(47, 52%, 94%) |
| CMYK | cmyk(0%, 11.2%, 51.7%, 5.9%) |
| CIE-LAB | lab(85.69, -2.65, 50.92) |
| CIE-LCH | lch(85.69, 50.99, 92.98°) |
| OKLab | oklab(87.58% -0.0088 0.1207) |
| OKLCH | oklch(87.58% 0.121 94.2) |
| XYZ | xyz(62.8840, 67.3775, 26.2124) |
| Luminance | 0.6737 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.50
Wheat (survey)
#FBDD7E
ΔE00 2.16
Light Mustard
#F7D560
ΔE00 3.02
Pale Gold
#FDDE6C
ΔE00 3.14
Sand (survey)
#E2CA76
ΔE00 3.31
Yellow Tan
#FFE36E
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D574 #748FF0
analogous
#F09774 #F0D574 #CDF074
triadic
#F0D574 #74F0D5 #D574F0
tetradic
#F0D574 #74F097 #748FF0 #F074CD
square
#F0D574 #74F097 #748FF0 #F074CD
split-complementary
#F0D574 #74CDF0 #9774F0
monochromatic
#D3AA17 #EAC43D #F0D574 #F6E6AB #FCF6E2
Accessibility & contrast
On white
1.45
#F0D574 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.48
#F0D574 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D574
14.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D574 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D574 | 1.00 | 1.45 | 14.48 | 14.48 |
| #FFFFFF | 1.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.48 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.48 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E7D16B
Deuteranopia (green-blind)
#EEDA78
Tritanopia (blue-blind)
#FFC8BE
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d574; /* rgb */ color: rgb(240, 213, 116); /* oklch */ color: oklch(87.6% 0.121 94.2);
Tailwind
colors: {
custom: {
50: '#f7e19e',
500: '#f0d574',
950: '#000000',
},
}SCSS
$custom: #f0d574; $custom-light: #f7e19e; $custom-dark: #000000;
JSON
{
"hex": "#f0d574",
"rgb": {
"r": 240,
"g": 213,
"b": 116
},
"hsl": {
"h": 46.935,
"s": 80.519,
"l": 69.804
},
"oklch": {
"l": 0.87582,
"c": 0.121,
"h": 94.2
},
"luminance": 0.67375
}Semantic roles & 50–950 ramp
primary
#F0D574
secondary
#3F5DC9
accent
#37DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F