#F0E175#F0E175
#F0E175 is a very light, vivid yellow. Relative luminance 0.737; OKLCH L 90.0% C 0.130 H 101.5°. Best body text is #000000 at 15.73:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E175 |
|---|---|
| RGB | rgb(240, 225, 117) |
| HSL | hsl(53, 80%, 70%) |
| HSV | hsv(53, 51%, 94%) |
| CMYK | cmyk(0%, 6.3%, 51.3%, 5.9%) |
| CIE-LAB | lab(88.76, -8.64, 54.11) |
| CIE-LCH | lch(88.76, 54.79, 99.07°) |
| OKLab | oklab(90.02% -0.026 0.1277) |
| OKLCH | oklch(90.02% 0.13 101.5) |
| XYZ | xyz(66.0733, 73.6624, 27.5640) |
| Luminance | 0.7366 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.92
Sandy
#F1DA7A
ΔE00 3.05
Khaki (CSS)
#F0E68C
ΔE00 3.17
Sandy Yellow
#FDEE73
ΔE00 3.26
Sand Yellow
#FCE166
ΔE00 3.62
Yellow Tan
#FFE36E
ΔE00 3.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E175 #7584F0
analogous
#F0A475 #F0E175 #C1F075
triadic
#F0E175 #75F0E1 #E175F0
tetradic
#F0E175 #75F0A4 #7584F0 #F075C1
square
#F0E175 #75F0A4 #7584F0 #F075C1
split-complementary
#F0E175 #75C1F0 #A475F0
monochromatic
#D4BD17 #EAD53E #F0E175 #F6EDAC #FCF9E3
Accessibility & contrast
On white
1.33
#F0E175 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.73
#F0E175 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E175
15.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E175 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E175 | 1.00 | 1.33 | 15.73 | 15.73 |
| #FFFFFF | 1.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.73 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.73 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F2DB6B
Deuteranopia (green-blind)
#F7E27A
Tritanopia (blue-blind)
#FFD4C8
Achromatopsia (no color)
#DFDFDF
Design tokens & code
CSS
--color: #f0e175; /* rgb */ color: rgb(240, 225, 117); /* oklch */ color: oklch(90.0% 0.130 101.5);
Tailwind
colors: {
custom: {
50: '#f7ea9f',
500: '#f0e175',
950: '#000000',
},
}SCSS
$custom: #f0e175; $custom-light: #f7ea9f; $custom-dark: #000000;
JSON
{
"hex": "#f0e175",
"rgb": {
"r": 240,
"g": 225,
"b": 117
},
"hsl": {
"h": 52.683,
"s": 80.392,
"l": 70
},
"oklch": {
"l": 0.90015,
"c": 0.13035,
"h": 101.5
},
"luminance": 0.7366
}Semantic roles & 50–950 ramp
primary
#F0E175
secondary
#4051C9
accent
#23DD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17160F
muted
#858480