#F0E173#F0E173
#F0E173 is a very light, vivid yellow. Relative luminance 0.736; OKLCH L 90.0% C 0.132 H 101.6°. Best body text is #000000 at 15.72:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E173 |
|---|---|
| RGB | rgb(240, 225, 115) |
| HSL | hsl(53, 81%, 70%) |
| HSV | hsv(53, 52%, 94%) |
| CMYK | cmyk(0%, 6.3%, 52.1%, 5.9%) |
| CIE-LAB | lab(88.74, -8.80, 55.01) |
| CIE-LCH | lch(88.74, 55.71, 99.09°) |
| OKLab | oklab(89.99% -0.0266 0.1295) |
| OKLCH | oklch(89.99% 0.132 101.6) |
| XYZ | xyz(65.9569, 73.6158, 26.9513) |
| Luminance | 0.7361 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.68
Sandy Yellow
#FDEE73
ΔE00 3.13
Sandy
#F1DA7A
ΔE00 3.20
Khaki (CSS)
#F0E68C
ΔE00 3.40
Sand Yellow
#FCE166
ΔE00 3.50
Yellow Tan
#FFE36E
ΔE00 3.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E173 #7382F0
analogous
#F0A373 #F0E173 #C1F073
triadic
#F0E173 #73F0E1 #E173F0
tetradic
#F0E173 #73F0A3 #7382F0 #F073C1
square
#F0E173 #73F0A3 #7382F0 #F073C1
split-complementary
#F0E173 #73C1F0 #A373F0
monochromatic
#D2BC17 #EAD53C #F0E173 #F6EDAA #FCF9E2
Accessibility & contrast
On white
1.34
#F0E173 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.72
#F0E173 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E173
15.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E173 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E173 | 1.00 | 1.34 | 15.72 | 15.72 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DB69
Deuteranopia (green-blind)
#F7E278
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f0e173; /* rgb */ color: rgb(240, 225, 115); /* oklch */ color: oklch(90.0% 0.132 101.6);
Tailwind
colors: {
custom: {
50: '#f7ea9e',
500: '#f0e173',
950: '#000000',
},
}SCSS
$custom: #f0e173; $custom-light: #f7ea9e; $custom-dark: #000000;
JSON
{
"hex": "#f0e173",
"rgb": {
"r": 240,
"g": 225,
"b": 115
},
"hsl": {
"h": 52.8,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.8999,
"c": 0.13224,
"h": 101.6
},
"luminance": 0.73613
}Semantic roles & 50–950 ramp
primary
#F0E173
secondary
#3E4FC9
accent
#22DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480