#F0DB72#F0DB72
#F0DB72 is a very light, vivid yellow. Relative luminance 0.704; OKLCH L 88.8% C 0.128 H 98.2°. Best body text is #000000 at 15.08:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DB72 |
|---|---|
| RGB | rgb(240, 219, 114) |
| HSL | hsl(50, 81%, 69%) |
| HSV | hsv(50, 53%, 94%) |
| CMYK | cmyk(0%, 8.8%, 52.5%, 5.9%) |
| CIE-LAB | lab(87.20, -5.87, 53.66) |
| CIE-LCH | lch(87.20, 53.97, 96.24°) |
| OKLab | oklab(88.76% -0.0183 0.1265) |
| OKLCH | oklch(88.76% 0.128 98.2) |
| XYZ | xyz(64.3061, 70.4058, 26.1187) |
| Luminance | 0.7040 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sandy
#F1DA7A
ΔE00 1.44
Pale Gold
#FDDE6C
ΔE00 2.98
Sand Yellow
#FCE166
ΔE00 3.00
Yellow Tan
#FFE36E
ΔE00 3.01
Dull Yellow
#EEDC5B
ΔE00 3.03
Wheat (survey)
#FBDD7E
ΔE00 3.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DB72 #7287F0
analogous
#F09C72 #F0DB72 #C6F072
triadic
#F0DB72 #72F0DB #DB72F0
tetradic
#F0DB72 #72F09C #7287F0 #F072C6
square
#F0DB72 #72F09C #7287F0 #F072C6
split-complementary
#F0DB72 #72C6F0 #9C72F0
monochromatic
#D1B216 #EACD3B #F0DB72 #F6E9A9 #FCF7E1
Accessibility & contrast
On white
1.39
#F0DB72 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.08
#F0DB72 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DB72
15.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DB72 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DB72 | 1.00 | 1.39 | 15.08 | 15.08 |
| #FFFFFF | 1.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 15.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 15.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#EDD668
Deuteranopia (green-blind)
#F2DE77
Tritanopia (blue-blind)
#FFCEC3
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0db72; /* rgb */ color: rgb(240, 219, 114); /* oklch */ color: oklch(88.8% 0.128 98.2);
Tailwind
colors: {
custom: {
50: '#f7e59d',
500: '#f0db72',
950: '#000000',
},
}SCSS
$custom: #f0db72; $custom-light: #f7e59d; $custom-dark: #000000;
JSON
{
"hex": "#f0db72",
"rgb": {
"r": 240,
"g": 219,
"b": 114
},
"hsl": {
"h": 50,
"s": 80.769,
"l": 69.412
},
"oklch": {
"l": 0.88762,
"c": 0.1278,
"h": 98.2
},
"luminance": 0.70403
}Semantic roles & 50–950 ramp
primary
#F0DB72
secondary
#3D54C9
accent
#2CDD08
background
#FFFEFC
surface
#FFFCF5
border
#D7D5CF
text
#17150E
muted
#85847F