#F0D472#F0D472
#F0D472 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.4% C 0.122 H 93.8°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D472 |
|---|---|
| RGB | rgb(240, 212, 114) |
| HSL | hsl(47, 81%, 69%) |
| HSV | hsv(47, 53%, 94%) |
| CMYK | cmyk(0%, 11.7%, 52.5%, 5.9%) |
| CIE-LAB | lab(85.42, -2.31, 51.54) |
| CIE-LCH | lch(85.42, 51.59, 92.57°) |
| OKLab | oklab(87.36% -0.008 0.1219) |
| OKLCH | oklch(87.36% 0.122 93.8) |
| XYZ | xyz(62.5182, 66.8299, 25.5227) |
| Luminance | 0.6683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.85
Wheat (survey)
#FBDD7E
ΔE00 2.29
Light Mustard
#F7D560
ΔE00 2.79
Pale Gold
#FDDE6C
ΔE00 3.13
Sand (survey)
#E2CA76
ΔE00 3.30
Maize
#F4D054
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D472 #728EF0
analogous
#F09572 #F0D472 #CDF072
triadic
#F0D472 #72F0D4 #D472F0
tetradic
#F0D472 #72F095 #728EF0 #F072CD
square
#F0D472 #72F095 #728EF0 #F072CD
split-complementary
#F0D472 #72CDF0 #9572F0
monochromatic
#D1A816 #EAC33B #F0D472 #F6E5A9 #FCF6E1
Accessibility & contrast
On white
1.46
#F0D472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#F0D472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D472
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D472 | 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)
#E6D069
Deuteranopia (green-blind)
#EDD976
Tritanopia (blue-blind)
#FFC7BD
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d472; /* rgb */ color: rgb(240, 212, 114); /* oklch */ color: oklch(87.4% 0.122 93.8);
Tailwind
colors: {
custom: {
50: '#f7e19d',
500: '#f0d472',
950: '#000000',
},
}SCSS
$custom: #f0d472; $custom-light: #f7e19d; $custom-dark: #000000;
JSON
{
"hex": "#f0d472",
"rgb": {
"r": 240,
"g": 212,
"b": 114
},
"hsl": {
"h": 46.667,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.87356,
"c": 0.12213,
"h": 93.8
},
"luminance": 0.66827
}Semantic roles & 50–950 ramp
primary
#F0D472
secondary
#3D5CC9
accent
#38DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F