#F0DB60#F0DB60
#F0DB60 is a very light, vivid yellow. Relative luminance 0.700; OKLCH L 88.6% C 0.144 H 99.7°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DB60 |
|---|---|
| RGB | rgb(240, 219, 96) |
| HSL | hsl(51, 83%, 66%) |
| HSV | hsv(51, 60%, 94%) |
| CMYK | cmyk(0%, 8.8%, 60%, 5.9%) |
| CIE-LAB | lab(87.01, -7.20, 61.61) |
| CIE-LCH | lch(87.01, 62.03, 96.67°) |
| OKLab | oklab(88.56% -0.0241 0.1416) |
| OKLCH | oklch(88.56% 0.144 99.7) |
| XYZ | xyz(63.3805, 70.0355, 21.2437) |
| Luminance | 0.7003 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.03
Sand Yellow
#FCE166
ΔE00 2.20
Yellow Tan
#FFE36E
ΔE00 2.89
Pale Gold
#FDDE6C
ΔE00 3.15
Light Gold
#FDDC5C
ΔE00 3.21
Sandy
#F1DA7A
ΔE00 3.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DB60 #6075F0
analogous
#F09360 #F0DB60 #BDF060
triadic
#F0DB60 #60F0DB #DB60F0
tetradic
#F0DB60 #60F093 #6075F0 #F060BD
square
#F0DB60 #60F093 #6075F0 #F060BD
split-complementary
#F0DB60 #60BDF0 #9360F0
monochromatic
#C3A912 #EBCE28 #F0DB60 #F5E898 #FBF4D0
Accessibility & contrast
On white
1.40
#F0DB60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.01
#F0DB60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DB60
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DB60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DB60 | 1.00 | 1.40 | 15.01 | 15.01 |
| #FFFFFF | 1.40 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EED553
Deuteranopia (green-blind)
#F4DD66
Tritanopia (blue-blind)
#FFCDC0
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0db60; /* rgb */ color: rgb(240, 219, 96); /* oklch */ color: oklch(88.6% 0.144 99.7);
Tailwind
colors: {
custom: {
50: '#f8e592',
500: '#f0db60',
950: '#000000',
},
}SCSS
$custom: #f0db60; $custom-light: #f8e592; $custom-dark: #000000;
JSON
{
"hex": "#f0db60",
"rgb": {
"r": 240,
"g": 219,
"b": 96
},
"hsl": {
"h": 51.25,
"s": 82.759,
"l": 65.882
},
"oklch": {
"l": 0.8856,
"c": 0.14366,
"h": 99.7
},
"luminance": 0.70033
}Semantic roles & 50–950 ramp
primary
#F0DB60
secondary
#3348C1
accent
#26DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F