#F0DE8A#F0DE8A
#F0DE8A is a very light, moderate yellow. Relative luminance 0.726; OKLCH L 89.7% C 0.106 H 97.6°. Best body text is #000000 at 15.52:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DE8A |
|---|---|
| RGB | rgb(240, 222, 138) |
| HSL | hsl(49, 77%, 74%) |
| HSV | hsv(49, 43%, 94%) |
| CMYK | cmyk(0%, 7.5%, 42.5%, 5.9%) |
| CIE-LAB | lab(88.26, -5.19, 43.35) |
| CIE-LCH | lch(88.26, 43.66, 96.83°) |
| OKLab | oklab(89.7% -0.014 0.1053) |
| OKLCH | oklch(89.7% 0.106 97.6) |
| XYZ | xyz(66.6455, 72.6050, 34.5434) |
| Luminance | 0.7260 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 2.40
Khaki (CSS)
#F0E68C
ΔE00 2.82
Wheat (survey)
#FBDD7E
ΔE00 3.58
Dark Cream
#FFF39A
ΔE00 4.64
Sand (survey)
#E2CA76
ΔE00 4.76
Light Tan
#FBEEAC
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DE8A #8A9CF0
analogous
#F0AB8A #F0DE8A #CFF08A
triadic
#F0DE8A #8AF0DE #DE8AF0
tetradic
#F0DE8A #8AF0AB #8A9CF0 #F08ACF
square
#F0DE8A #8AF0AB #8A9CF0 #F08ACF
split-complementary
#F0DE8A #8ACFF0 #AB8AF0
monochromatic
#E2BF1E #E9CF54 #F0DE8A #F7EDC0 #FCF7E4
Accessibility & contrast
On white
1.35
#F0DE8A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.52
#F0DE8A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DE8A
15.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DE8A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DE8A | 1.00 | 1.35 | 15.52 | 15.52 |
| #FFFFFF | 1.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDDA83
Deuteranopia (green-blind)
#F2E08D
Tritanopia (blue-blind)
#FED3C9
Achromatopsia (no color)
#DDDDDD
Design tokens & code
CSS
--color: #f0de8a; /* rgb */ color: rgb(240, 222, 138); /* oklch */ color: oklch(89.7% 0.106 97.6);
Tailwind
colors: {
custom: {
50: '#f6e8ad',
500: '#f0de8a',
950: '#000000',
},
}SCSS
$custom: #f0de8a; $custom-light: #f6e8ad; $custom-dark: #000000;
JSON
{
"hex": "#f0de8a",
"rgb": {
"r": 240,
"g": 222,
"b": 138
},
"hsl": {
"h": 49.412,
"s": 77.273,
"l": 74.118
},
"oklch": {
"l": 0.89701,
"c": 0.10627,
"h": 97.6
},
"luminance": 0.72603
}Semantic roles & 50–950 ramp
primary
#F0DE8A
secondary
#5368CC
accent
#30DA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481