#F0D672#F0D672
#F0D672 is a very light, vivid yellow. Relative luminance 0.678; OKLCH L 87.8% C 0.124 H 95.1°. Best body text is #000000 at 14.57:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D672 |
|---|---|
| RGB | rgb(240, 214, 114) |
| HSL | hsl(48, 81%, 69%) |
| HSV | hsv(48, 53%, 94%) |
| CMYK | cmyk(0%, 10.8%, 52.5%, 5.9%) |
| CIE-LAB | lab(85.92, -3.33, 52.15) |
| CIE-LCH | lch(85.92, 52.25, 93.65°) |
| OKLab | oklab(87.76% -0.011 0.1232) |
| OKLCH | oklch(87.76% 0.124 95.1) |
| XYZ | xyz(63.0213, 67.8360, 25.6904) |
| Luminance | 0.6783 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.28
Wheat (survey)
#FBDD7E
ΔE00 2.29
Pale Gold
#FDDE6C
ΔE00 2.84
Light Mustard
#F7D560
ΔE00 2.88
Yellow Tan
#FFE36E
ΔE00 3.61
Sand (survey)
#E2CA76
ΔE00 3.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D672 #728CF0
analogous
#F09772 #F0D672 #CBF072
triadic
#F0D672 #72F0D6 #D672F0
tetradic
#F0D672 #72F097 #728CF0 #F072CB
square
#F0D672 #72F097 #728CF0 #F072CB
split-complementary
#F0D672 #72CBF0 #9772F0
monochromatic
#D1AB16 #EAC63B #F0D672 #F6E6A9 #FCF6E1
Accessibility & contrast
On white
1.44
#F0D672 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.57
#F0D672 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D672
14.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D672 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D672 | 1.00 | 1.44 | 14.57 | 14.57 |
| #FFFFFF | 1.44 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D269
Deuteranopia (green-blind)
#EFDA76
Tritanopia (blue-blind)
#FFC9BF
Achromatopsia (no color)
#D7D7D7
Design tokens & code
CSS
--color: #f0d672; /* rgb */ color: rgb(240, 214, 114); /* oklch */ color: oklch(87.8% 0.124 95.1);
Tailwind
colors: {
custom: {
50: '#f7e29d',
500: '#f0d672',
950: '#000000',
},
}SCSS
$custom: #f0d672; $custom-light: #f7e29d; $custom-dark: #000000;
JSON
{
"hex": "#f0d672",
"rgb": {
"r": 240,
"g": 214,
"b": 114
},
"hsl": {
"h": 47.619,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.87756,
"c": 0.12368,
"h": 95.1
},
"luminance": 0.67833
}Semantic roles & 50–950 ramp
primary
#F0D672
secondary
#3D5AC9
accent
#34DD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F