#F0E46E#F0E46E
#F0E46E is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.140 H 103.5°. Best body text is #000000 at 16.03:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E46E |
|---|---|
| RGB | rgb(240, 228, 110) |
| HSL | hsl(54, 81%, 69%) |
| HSV | hsv(54, 54%, 94%) |
| CMYK | cmyk(0%, 5%, 54.2%, 5.9%) |
| CIE-LAB | lab(89.46, -10.69, 58.14) |
| CIE-LCH | lch(89.46, 59.12, 100.42°) |
| OKLab | oklab(90.54% -0.0326 0.1358) |
| OKLCH | oklch(90.54% 0.14 103.5) |
| XYZ | xyz(66.4951, 75.1401, 25.7496) |
| Luminance | 0.7514 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.42
Dull Yellow
#EEDC5B
ΔE00 2.64
Yellowish
#FAEE66
ΔE00 2.86
Straw
#FCF679
ΔE00 3.92
Sand Yellow
#FCE166
ΔE00 3.95
Khaki (CSS)
#F0E68C
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E46E #6E7AF0
analogous
#F0A36E #F0E46E #BBF06E
triadic
#F0E46E #6EF0E4 #E46EF0
tetradic
#F0E46E #6EF0A3 #6E7AF0 #F06EBB
square
#F0E46E #6EF0A3 #6E7AF0 #F06EBB
split-complementary
#F0E46E #6EBBF0 #A36EF0
monochromatic
#CEBD15 #EADA37 #F0E46E #F6EEA5 #FBF9DD
Accessibility & contrast
On white
1.31
#F0E46E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.03
#F0E46E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E46E
16.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E46E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E46E | 1.00 | 1.31 | 16.03 | 16.03 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD62
Deuteranopia (green-blind)
#FAE474
Tritanopia (blue-blind)
#FFD7CA
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f0e46e; /* rgb */ color: rgb(240, 228, 110); /* oklch */ color: oklch(90.5% 0.140 103.5);
Tailwind
colors: {
custom: {
50: '#f7ec9b',
500: '#f0e46e',
950: '#000000',
},
}SCSS
$custom: #f0e46e; $custom-light: #f7ec9b; $custom-dark: #000000;
JSON
{
"hex": "#f0e46e",
"rgb": {
"r": 240,
"g": 228,
"b": 110
},
"hsl": {
"h": 54.462,
"s": 81.25,
"l": 68.627
},
"oklch": {
"l": 0.90543,
"c": 0.13968,
"h": 103.5
},
"luminance": 0.75138
}Semantic roles & 50–950 ramp
primary
#F0E46E
secondary
#3947C9
accent
#1CDE08
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F