#F0DF89#F0DF89
#F0DF89 is a very light, moderate yellow. Relative luminance 0.731; OKLCH L 89.9% C 0.108 H 98.4°. Best body text is #000000 at 15.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DF89 |
|---|---|
| RGB | rgb(240, 223, 137) |
| HSL | hsl(50, 77%, 74%) |
| HSV | hsv(50, 43%, 94%) |
| CMYK | cmyk(0%, 7.1%, 42.9%, 5.9%) |
| CIE-LAB | lab(88.50, -5.80, 44.15) |
| CIE-LCH | lch(88.50, 44.53, 97.48°) |
| OKLab | oklab(89.89% -0.0158 0.1071) |
| OKLCH | oklch(89.89% 0.108 98.4) |
| XYZ | xyz(66.8398, 73.1090, 34.2526) |
| Luminance | 0.7311 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (CSS)
#F0E68C
ΔE00 2.40
Sandy
#F1DA7A
ΔE00 2.42
Wheat (survey)
#FBDD7E
ΔE00 3.74
Dark Cream
#FFF39A
ΔE00 4.34
Light Tan
#FBEEAC
ΔE00 5.04
Sand (survey)
#E2CA76
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DF89 #899AF0
analogous
#F0AC89 #F0DF89 #CEF089
triadic
#F0DF89 #89F0DF #DF89F0
tetradic
#F0DF89 #89F0AC #899AF0 #F089CE
square
#F0DF89 #89F0AC #899AF0 #F089CE
split-complementary
#F0DF89 #89CEF0 #AC89F0
monochromatic
#E2C11D #E9D053 #F0DF89 #F7EEBF #FCF8E4
Accessibility & contrast
On white
1.34
#F0DF89 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.62
#F0DF89 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DF89
15.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DF89 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DF89 | 1.00 | 1.34 | 15.62 | 15.62 |
| #FFFFFF | 1.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EEDB82
Deuteranopia (green-blind)
#F3E18C
Tritanopia (blue-blind)
#FED4CA
Achromatopsia (no color)
#DEDEDE
Design tokens & code
CSS
--color: #f0df89; /* rgb */ color: rgb(240, 223, 137); /* oklch */ color: oklch(89.9% 0.108 98.4);
Tailwind
colors: {
custom: {
50: '#f6e8ac',
500: '#f0df89',
950: '#000000',
},
}SCSS
$custom: #f0df89; $custom-light: #f6e8ac; $custom-dark: #000000;
JSON
{
"hex": "#f0df89",
"rgb": {
"r": 240,
"g": 223,
"b": 137
},
"hsl": {
"h": 50.097,
"s": 77.444,
"l": 73.922
},
"oklch": {
"l": 0.89887,
"c": 0.10826,
"h": 98.4
},
"luminance": 0.73107
}Semantic roles & 50–950 ramp
primary
#F0DF89
secondary
#5266CC
accent
#2EDA0C
background
#FFFEFD
surface
#FFFCF7
border
#D7D5D0
text
#171610
muted
#858481