#F0E46A#F0E46A
#F0E46A is a very light, vivid yellow. Relative luminance 0.751; OKLCH L 90.5% C 0.143 H 103.7°. Best body text is #000000 at 16.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F0E46A |
|---|---|
| RGB | rgb(240, 228, 106) |
| HSL | hsl(55, 82%, 68%) |
| HSV | hsv(55, 56%, 94%) |
| CMYK | cmyk(0%, 5%, 55.8%, 5.9%) |
| CIE-LAB | lab(89.42, -11.00, 59.90) |
| CIE-LCH | lch(89.42, 60.90, 100.40°) |
| OKLab | oklab(90.5% -0.0339 0.1392) |
| OKLCH | oklch(90.5% 0.143 103.7) |
| XYZ | xyz(66.2823, 75.0550, 24.6285) |
| Luminance | 0.7505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy Yellow
#FDEE73
ΔE00 2.38
Dull Yellow
#EEDC5B
ΔE00 2.40
Yellowish
#FAEE66
ΔE00 2.57
Sand Yellow
#FCE166
ΔE00 3.89
Straw
#FCF679
ΔE00 3.90
Yellow Tan
#FFE36E
ΔE00 4.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0E46A #6A76F0
analogous
#F0A16A #F0E46A #B9F06A
triadic
#F0E46A #6AF0E4 #E46AF0
tetradic
#F0E46A #6AF0A1 #6A76F0 #F06AB9
square
#F0E46A #6AF0A1 #6A76F0 #F06AB9
split-complementary
#F0E46A #6AB9F0 #A16AF0
monochromatic
#CBBB14 #EADA32 #F0E46A #F6EEA2 #FBF8D9
Accessibility & contrast
On white
1.31
#F0E46A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
16.01
#F0E46A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0E46A
16.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0E46A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0E46A | 1.00 | 1.31 | 16.01 | 16.01 |
| #FFFFFF | 1.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 16.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 16.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#F6DD5E
Deuteranopia (green-blind)
#FAE470
Tritanopia (blue-blind)
#FFD6C9
Achromatopsia (no color)
#E1E1E1
Design tokens & code
CSS
--color: #f0e46a; /* rgb */ color: rgb(240, 228, 106); /* oklch */ color: oklch(90.5% 0.143 103.7);
Tailwind
colors: {
custom: {
50: '#f8ec98',
500: '#f0e46a',
950: '#000000',
},
}SCSS
$custom: #f0e46a; $custom-light: #f8ec98; $custom-dark: #000000;
JSON
{
"hex": "#f0e46a",
"rgb": {
"r": 240,
"g": 228,
"b": 106
},
"hsl": {
"h": 54.627,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.90499,
"c": 0.14323,
"h": 103.7
},
"luminance": 0.75053
}Semantic roles & 50–950 ramp
primary
#F0E46A
secondary
#3643C8
accent
#1BDE07
background
#FFFEFC
surface
#FFFDF5
border
#D7D5CF
text
#18160E
muted
#86847F