#F0E075#F0E075
#F0E075 is a very light, vivid yellow. Relative luminance 0.731; OKLCH L 89.8% C 0.129 H 100.9°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E075 |
|---|---|
| RGB | rgb(240, 224, 117) |
| HSL | hsl(52, 80%, 70%) |
| HSV | hsv(52, 51%, 94%) |
| CMYK | cmyk(0%, 6.7%, 51.3%, 5.9%) |
| CIE-LAB | lab(88.51, -8.13, 53.80) |
| CIE-LCH | lch(88.51, 54.41, 98.60°) |
| OKLab | oklab(89.81% -0.0245 0.1271) |
| OKLCH | oklch(89.81% 0.129 100.9) |
| XYZ | xyz(65.8037, 73.1233, 27.4741) |
| Luminance | 0.7312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.71
Dull Yellow
#EEDC5B
ΔE00 2.90
Khaki (CSS)
#F0E68C
ΔE00 3.25
Sand Yellow
#FCE166
ΔE00 3.48
Sandy Yellow
#FDEE73
ΔE00 3.48
Yellow Tan
#FFE36E
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E075 #7585F0
analogous
#F0A275 #F0E075 #C3F075
triadic
#F0E075 #75F0E0 #E075F0
tetradic
#F0E075 #75F0A2 #7585F0 #F075C3
square
#F0E075 #75F0A2 #7585F0 #F075C3
split-complementary
#F0E075 #75C3F0 #A275F0
monochromatic
#D4BB17 #EAD43E #F0E075 #F6ECAC #FCF9E3
Accessibility & contrast
On white
1.34
#F0E075 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.62
#F0E075 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E075
15.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E075 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E075 | 1.00 | 1.34 | 15.62 | 15.62 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F1DA6B
Deuteranopia (green-blind)
#F6E17A
Tritanopia (blue-blind)
#FFD3C7
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f0e075; /* rgb */ color: rgb(240, 224, 117); /* oklch */ color: oklch(89.8% 0.129 100.9);
Tailwind
colors: {
custom: {
50: '#f7e99f',
500: '#f0e075',
950: '#000000',
},
}SCSS
$custom: #f0e075; $custom-light: #f7e99f; $custom-dark: #000000;
JSON
{
"hex": "#f0e075",
"rgb": {
"r": 240,
"g": 224,
"b": 117
},
"hsl": {
"h": 52.195,
"s": 80.392,
"l": 70
},
"oklch": {
"l": 0.89812,
"c": 0.12942,
"h": 100.9
},
"luminance": 0.73121
}Semantic roles & 50–950 ramp
primary
#F0E075
secondary
#4052C9
accent
#24DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480