#F0D474#F0D474
#F0D474 is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.4% C 0.120 H 93.5°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D474 |
|---|---|
| RGB | rgb(240, 212, 116) |
| HSL | hsl(46, 81%, 70%) |
| HSV | hsv(46, 52%, 94%) |
| CMYK | cmyk(0%, 11.7%, 51.7%, 5.9%) |
| CIE-LAB | lab(85.44, -2.14, 50.61) |
| CIE-LCH | lch(85.44, 50.66, 92.43°) |
| OKLab | oklab(87.38% -0.0073 0.12) |
| OKLCH | oklch(87.38% 0.12 93.5) |
| XYZ | xyz(62.6333, 66.8760, 26.1288) |
| Luminance | 0.6687 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.84
Wheat (survey)
#FBDD7E
ΔE00 2.21
Light Mustard
#F7D560
ΔE00 3.02
Sand (survey)
#E2CA76
ΔE00 3.14
Pale Gold
#FDDE6C
ΔE00 3.31
Maize
#F4D054
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D474 #7490F0
analogous
#F09674 #F0D474 #CEF074
triadic
#F0D474 #74F0D4 #D474F0
tetradic
#F0D474 #74F096 #7490F0 #F074CE
square
#F0D474 #74F096 #7490F0 #F074CE
split-complementary
#F0D474 #74CEF0 #9674F0
monochromatic
#D3A817 #EAC33D #F0D474 #F6E5AB #FCF6E2
Accessibility & contrast
On white
1.46
#F0D474 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#F0D474 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D474
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D474 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D474 | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E6D16C
Deuteranopia (green-blind)
#EDD978
Tritanopia (blue-blind)
#FFC7BE
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d474; /* rgb */ color: rgb(240, 212, 116); /* oklch */ color: oklch(87.4% 0.120 93.5);
Tailwind
colors: {
custom: {
50: '#f7e19e',
500: '#f0d474',
950: '#000000',
},
}SCSS
$custom: #f0d474; $custom-light: #f7e19e; $custom-dark: #000000;
JSON
{
"hex": "#f0d474",
"rgb": {
"r": 240,
"g": 212,
"b": 116
},
"hsl": {
"h": 46.452,
"s": 80.519,
"l": 69.804
},
"oklch": {
"l": 0.87382,
"c": 0.12023,
"h": 93.5
},
"luminance": 0.66873
}Semantic roles & 50–950 ramp
primary
#F0D474
secondary
#3F5EC9
accent
#39DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F