#F0DB62#F0DB62
#F0DB62 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.142 H 99.5°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DB62 |
|---|---|
| RGB | rgb(240, 219, 98) |
| HSL | hsl(51, 83%, 66%) |
| HSV | hsv(51, 59%, 94%) |
| CMYK | cmyk(0%, 8.8%, 59.2%, 5.9%) |
| CIE-LAB | lab(87.03, -7.07, 60.76) |
| CIE-LCH | lch(87.03, 61.17, 96.63°) |
| OKLab | oklab(88.58% -0.0235 0.1401) |
| OKLCH | oklch(88.58% 0.142 99.5) |
| XYZ | xyz(63.4738, 70.0728, 21.7349) |
| Luminance | 0.7007 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.19
Sand Yellow
#FCE166
ΔE00 2.20
Yellow Tan
#FFE36E
ΔE00 2.82
Pale Gold
#FDDE6C
ΔE00 3.06
Light Gold
#FDDC5C
ΔE00 3.24
Sandy
#F1DA7A
ΔE00 3.37
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DB62 #6277F0
analogous
#F09462 #F0DB62 #BEF062
triadic
#F0DB62 #62F0DB #DB62F0
tetradic
#F0DB62 #62F094 #6277F0 #F062BE
square
#F0DB62 #62F094 #6277F0 #F062BE
split-complementary
#F0DB62 #62BEF0 #9462F0
monochromatic
#C5AA13 #EBCE2A #F0DB62 #F5E89A #FBF5D2
Accessibility & contrast
On white
1.40
#F0DB62 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.01
#F0DB62 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DB62
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DB62 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DB62 | 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)
#EED555
Deuteranopia (green-blind)
#F4DD68
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0db62; /* rgb */ color: rgb(240, 219, 98); /* oklch */ color: oklch(88.6% 0.142 99.5);
Tailwind
colors: {
custom: {
50: '#f8e593',
500: '#f0db62',
950: '#000000',
},
}SCSS
$custom: #f0db62; $custom-light: #f8e593; $custom-dark: #000000;
JSON
{
"hex": "#f0db62",
"rgb": {
"r": 240,
"g": 219,
"b": 98
},
"hsl": {
"h": 51.127,
"s": 82.558,
"l": 66.275
},
"oklch": {
"l": 0.8858,
"c": 0.14201,
"h": 99.5
},
"luminance": 0.7007
}Semantic roles & 50–950 ramp
primary
#F0DB62
secondary
#3449C2
accent
#27DF07
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F