#F0DC76#F0DC76
#F0DC76 is a very light, vivid yellow. Relative luminance 0.710; OKLCH L 89.0% C 0.125 H 98.5°. Best body text is #000000 at 15.20:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DC76 |
|---|---|
| RGB | rgb(240, 220, 118) |
| HSL | hsl(50, 80%, 70%) |
| HSV | hsv(50, 51%, 94%) |
| CMYK | cmyk(0%, 8.3%, 50.8%, 5.9%) |
| CIE-LAB | lab(87.50, -6.04, 52.12) |
| CIE-LCH | lch(87.50, 52.47, 96.61°) |
| OKLab | oklab(89.02% -0.0184 0.1235) |
| OKLCH | oklch(89.02% 0.125 98.5) |
| XYZ | xyz(64.8005, 71.0221, 27.4313) |
| Luminance | 0.7102 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.28
Wheat (survey)
#FBDD7E
ΔE00 3.15
Yellow Tan
#FFE36E
ΔE00 3.25
Pale Gold
#FDDE6C
ΔE00 3.30
Sand Yellow
#FCE166
ΔE00 3.35
Dull Yellow
#EEDC5B
ΔE00 3.39
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DC76 #768AF0
analogous
#F09F76 #F0DC76 #C7F076
triadic
#F0DC76 #76F0DC #DC76F0
tetradic
#F0DC76 #76F09F #768AF0 #F076C7
square
#F0DC76 #76F09F #768AF0 #F076C7
split-complementary
#F0DC76 #76C7F0 #9F76F0
monochromatic
#D4B517 #EACE3F #F0DC76 #F6EAAD #FCF8E3
Accessibility & contrast
On white
1.38
#F0DC76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.20
#F0DC76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DC76
15.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DC76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DC76 | 1.00 | 1.38 | 15.20 | 15.20 |
| #FFFFFF | 1.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD76D
Deuteranopia (green-blind)
#F3DE7A
Tritanopia (blue-blind)
#FFCFC4
Achromatopsia (no color)
#DBDBDB
Design tokens & code
CSS
--color: #f0dc76; /* rgb */ color: rgb(240, 220, 118); /* oklch */ color: oklch(89.0% 0.125 98.5);
Tailwind
colors: {
custom: {
50: '#f7e6a0',
500: '#f0dc76',
950: '#000000',
},
}SCSS
$custom: #f0dc76; $custom-light: #f7e6a0; $custom-dark: #000000;
JSON
{
"hex": "#f0dc76",
"rgb": {
"r": 240,
"g": 220,
"b": 118
},
"hsl": {
"h": 50.164,
"s": 80.263,
"l": 70.196
},
"oklch": {
"l": 0.89015,
"c": 0.12486,
"h": 98.5
},
"luminance": 0.7102
}Semantic roles & 50–950 ramp
primary
#F0DC76
secondary
#4157CA
accent
#2CDD09
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150F
muted
#858480