#F0E673#F0E673
#F0E673 is a very light, vivid yellow. Relative luminance 0.764; OKLCH L 91.0% C 0.137 H 104.3°. Best body text is #000000 at 16.27:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E673 |
|---|---|
| RGB | rgb(240, 230, 115) |
| HSL | hsl(55, 81%, 70%) |
| HSV | hsv(55, 52%, 94%) |
| CMYK | cmyk(0%, 4.2%, 52.1%, 5.9%) |
| CIE-LAB | lab(90.03, -11.29, 56.52) |
| CIE-LCH | lch(90.03, 57.64, 101.30°) |
| OKLab | oklab(91.01% -0.0338 0.1328) |
| OKLCH | oklch(91.01% 0.137 104.3) |
| XYZ | xyz(67.3285, 76.3588, 27.4084) |
| Luminance | 0.7636 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.45
Yellowish
#FAEE66
ΔE00 2.98
Dull Yellow
#EEDC5B
ΔE00 3.40
Straw
#FCF679
ΔE00 3.49
Khaki (CSS)
#F0E68C
ΔE00 3.54
Manilla
#FFFA86
ΔE00 4.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E673 #737DF0
analogous
#F0A873 #F0E673 #BCF073
triadic
#F0E673 #73F0E6 #E673F0
tetradic
#F0E673 #73F0A8 #737DF0 #F073BC
square
#F0E673 #73F0A8 #737DF0 #F073BC
split-complementary
#F0E673 #73BCF0 #A873F0
monochromatic
#D2C317 #EADC3C #F0E673 #F6F0AA #FCFAE2
Accessibility & contrast
On white
1.29
#F0E673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.27
#F0E673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E673
16.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E673 | 1.00 | 1.29 | 16.27 | 16.27 |
| #FFFFFF | 1.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F7DF68
Deuteranopia (green-blind)
#FBE579
Tritanopia (blue-blind)
#FFD9CC
Achromatopsia (no color)
#E2E2E2
Design tokens & code
CSS
--color: #f0e673; /* rgb */ color: rgb(240, 230, 115); /* oklch */ color: oklch(91.0% 0.137 104.3);
Tailwind
colors: {
custom: {
50: '#f7ed9e',
500: '#f0e673',
950: '#000000',
},
}SCSS
$custom: #f0e673; $custom-light: #f7ed9e; $custom-dark: #000000;
JSON
{
"hex": "#f0e673",
"rgb": {
"r": 240,
"g": 230,
"b": 115
},
"hsl": {
"h": 55.2,
"s": 80.645,
"l": 69.608
},
"oklch": {
"l": 0.91011,
"c": 0.13704,
"h": 104.3
},
"luminance": 0.76357
}Semantic roles & 50–950 ramp
primary
#F0E673
secondary
#3E49C9
accent
#1ADD09
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#17160F
muted
#858480