#F0DA80#F0DA80
#F0DA80 is a very light, moderate yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.113 H 96.0°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DA80 |
|---|---|
| RGB | rgb(240, 218, 128) |
| HSL | hsl(48, 79%, 72%) |
| HSV | hsv(48, 47%, 94%) |
| CMYK | cmyk(0%, 9.2%, 46.7%, 5.9%) |
| CIE-LAB | lab(87.11, -4.13, 46.84) |
| CIE-LCH | lch(87.11, 47.02, 95.05°) |
| OKLab | oklab(88.75% -0.0119 0.1126) |
| OKLCH | oklch(88.75% 0.113 96) |
| XYZ | xyz(64.9048, 70.2290, 30.5546) |
| Luminance | 0.7023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 0.93
Wheat (survey)
#FBDD7E
ΔE00 2.44
Sand (survey)
#E2CA76
ΔE00 3.80
Khaki (CSS)
#F0E68C
ΔE00 4.01
Pale Gold
#FDDE6C
ΔE00 4.02
Yellow Tan
#FFE36E
ΔE00 4.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DA80 #8096F0
analogous
#F0A280 #F0DA80 #CEF080
triadic
#F0DA80 #80F0DA #DA80F0
tetradic
#F0DA80 #80F0A2 #8096F0 #F080CE
square
#F0DA80 #80F0A2 #8096F0 #F080CE
split-complementary
#F0DA80 #80CEF0 #A280F0
monochromatic
#DCB61A #EACA49 #F0DA80 #F6EAB7 #FCF7E4
Accessibility & contrast
On white
1.40
#F0DA80 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.05
#F0DA80 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DA80
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DA80 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DA80 | 1.00 | 1.40 | 15.05 | 15.05 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EAD679
Deuteranopia (green-blind)
#F0DD84
Tritanopia (blue-blind)
#FFCEC4
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0da80; /* rgb */ color: rgb(240, 218, 128); /* oklch */ color: oklch(88.7% 0.113 96.0);
Tailwind
colors: {
custom: {
50: '#f7e5a6',
500: '#f0da80',
950: '#000000',
},
}SCSS
$custom: #f0da80; $custom-light: #f7e5a6; $custom-dark: #000000;
JSON
{
"hex": "#f0da80",
"rgb": {
"r": 240,
"g": 218,
"b": 128
},
"hsl": {
"h": 48.214,
"s": 78.873,
"l": 72.157
},
"oklch": {
"l": 0.88748,
"c": 0.11319,
"h": 96
},
"luminance": 0.70227
}Semantic roles & 50–950 ramp
primary
#F0DA80
secondary
#4A63CB
accent
#33DB0A
background
#FFFEFC
surface
#FFFCF6
border
#D7D5D0
text
#17150F
muted
#858480