#F0DB6A#F0DB6A
#F0DB6A is a very light, vivid yellow. Relative luminance 0.702; OKLCH L 88.7% C 0.135 H 98.9°. Best body text is #000000 at 15.05:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DB6A |
|---|---|
| RGB | rgb(240, 219, 106) |
| HSL | hsl(51, 82%, 68%) |
| HSV | hsv(51, 56%, 94%) |
| CMYK | cmyk(0%, 8.8%, 55.8%, 5.9%) |
| CIE-LAB | lab(87.11, -6.49, 57.26) |
| CIE-LCH | lch(87.11, 57.63, 96.47°) |
| OKLab | oklab(88.67% -0.021 0.1335) |
| OKLCH | oklch(88.67% 0.135 98.9) |
| XYZ | xyz(63.8705, 70.2315, 23.8246) |
| Luminance | 0.7023 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 2.03
Sand Yellow
#FCE166
ΔE00 2.42
Sandy
#F1DA7A
ΔE00 2.43
Yellow Tan
#FFE36E
ΔE00 2.74
Pale Gold
#FDDE6C
ΔE00 2.86
Light Gold
#FDDC5C
ΔE00 3.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DB6A #6A7FF0
analogous
#F0986A #F0DB6A #C2F06A
triadic
#F0DB6A #6AF0DB #DB6AF0
tetradic
#F0DB6A #6AF098 #6A7FF0 #F06AC2
square
#F0DB6A #6AF098 #6A7FF0 #F06AC2
split-complementary
#F0DB6A #6AC2F0 #986AF0
monochromatic
#CBAF14 #EACE32 #F0DB6A #F6E8A2 #FBF6D9
Accessibility & contrast
On white
1.40
#F0DB6A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.05
#F0DB6A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DB6A
15.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DB6A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DB6A | 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)
#EDD65F
Deuteranopia (green-blind)
#F3DE6F
Tritanopia (blue-blind)
#FFCDC2
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0db6a; /* rgb */ color: rgb(240, 219, 106); /* oklch */ color: oklch(88.7% 0.135 98.9);
Tailwind
colors: {
custom: {
50: '#f8e598',
500: '#f0db6a',
950: '#000000',
},
}SCSS
$custom: #f0db6a; $custom-light: #f8e598; $custom-dark: #000000;
JSON
{
"hex": "#f0db6a",
"rgb": {
"r": 240,
"g": 219,
"b": 106
},
"hsl": {
"h": 50.597,
"s": 81.707,
"l": 67.843
},
"oklch": {
"l": 0.88667,
"c": 0.13512,
"h": 98.9
},
"luminance": 0.70229
}Semantic roles & 50–950 ramp
primary
#F0DB6A
secondary
#364DC8
accent
#29DE07
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#18150E
muted
#86847F