#F0D372#F0D372
#F0D372 is a very light, vivid yellow. Relative luminance 0.663; OKLCH L 87.2% C 0.121 H 93.1°. Best body text is #000000 at 14.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D372 |
|---|---|
| RGB | rgb(240, 211, 114) |
| HSL | hsl(46, 81%, 69%) |
| HSV | hsv(46, 53%, 94%) |
| CMYK | cmyk(0%, 12.1%, 52.5%, 5.9%) |
| CIE-LAB | lab(85.17, -1.80, 51.24) |
| CIE-LCH | lch(85.17, 51.27, 92.01°) |
| OKLab | oklab(87.16% -0.0065 0.1212) |
| OKLCH | oklch(87.16% 0.121 93.1) |
| XYZ | xyz(62.2690, 66.3315, 25.4396) |
| Luminance | 0.6633 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.18
Wheat (survey)
#FBDD7E
ΔE00 2.38
Light Mustard
#F7D560
ΔE00 2.82
Sand (survey)
#E2CA76
ΔE00 3.16
Pale Gold
#FDDE6C
ΔE00 3.33
Maize
#F4D054
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D372 #728FF0
analogous
#F09472 #F0D372 #CEF072
triadic
#F0D372 #72F0D3 #D372F0
tetradic
#F0D372 #72F094 #728FF0 #F072CE
square
#F0D372 #72F094 #728FF0 #F072CE
split-complementary
#F0D372 #72CEF0 #9472F0
monochromatic
#D1A616 #EAC23B #F0D372 #F6E4A9 #FCF6E1
Accessibility & contrast
On white
1.47
#F0D372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.27
#F0D372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D372
14.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D372 | 1.00 | 1.47 | 14.27 | 14.27 |
| #FFFFFF | 1.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E5D069
Deuteranopia (green-blind)
#ECD876
Tritanopia (blue-blind)
#FFC6BC
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d372; /* rgb */ color: rgb(240, 211, 114); /* oklch */ color: oklch(87.2% 0.121 93.1);
Tailwind
colors: {
custom: {
50: '#f7e09d',
500: '#f0d372',
950: '#000000',
},
}SCSS
$custom: #f0d372; $custom-light: #f7e09d; $custom-dark: #000000;
JSON
{
"hex": "#f0d372",
"rgb": {
"r": 240,
"g": 211,
"b": 114
},
"hsl": {
"h": 46.19,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.87156,
"c": 0.12139,
"h": 93.1
},
"luminance": 0.66329
}Semantic roles & 50–950 ramp
primary
#F0D372
secondary
#3D5DC9
accent
#39DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F