#F0DB61#F0DB61
#F0DB61 is a very light, vivid yellow. Relative luminance 0.701; OKLCH L 88.6% C 0.143 H 99.6°. Best body text is #000000 at 15.01:1 contrast (WCAG AA passes).
Color values
| HEX | #F0DB61 |
|---|---|
| RGB | rgb(240, 219, 97) |
| HSL | hsl(51, 83%, 66%) |
| HSV | hsv(51, 60%, 94%) |
| CMYK | cmyk(0%, 8.8%, 59.6%, 5.9%) |
| CIE-LAB | lab(87.02, -7.13, 61.19) |
| CIE-LCH | lch(87.02, 61.60, 96.65°) |
| OKLab | oklab(88.57% -0.0238 0.1408) |
| OKLCH | oklch(88.57% 0.143 99.6) |
| XYZ | xyz(63.4268, 70.0540, 21.4878) |
| Luminance | 0.7005 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Dull Yellow
#EEDC5B
ΔE00 1.10
Sand Yellow
#FCE166
ΔE00 2.20
Yellow Tan
#FFE36E
ΔE00 2.85
Pale Gold
#FDDE6C
ΔE00 3.11
Light Gold
#FDDC5C
ΔE00 3.23
Sandy
#F1DA7A
ΔE00 3.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0DB61 #6176F0
analogous
#F09361 #F0DB61 #BDF061
triadic
#F0DB61 #61F0DB #DB61F0
tetradic
#F0DB61 #61F093 #6176F0 #F061BD
square
#F0DB61 #61F093 #6176F0 #F061BD
split-complementary
#F0DB61 #61BDF0 #9361F0
monochromatic
#C4AA13 #EBCE29 #F0DB61 #F5E899 #FBF4D1
Accessibility & contrast
On white
1.40
#F0DB61 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
15.01
#F0DB61 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0DB61
15.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0DB61 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0DB61 | 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)
#EED554
Deuteranopia (green-blind)
#F4DD67
Tritanopia (blue-blind)
#FFCDC1
Achromatopsia (no color)
#DADADA
Design tokens & code
CSS
--color: #f0db61; /* rgb */ color: rgb(240, 219, 97); /* oklch */ color: oklch(88.6% 0.143 99.6);
Tailwind
colors: {
custom: {
50: '#f8e592',
500: '#f0db61',
950: '#000000',
},
}SCSS
$custom: #f0db61; $custom-light: #f8e592; $custom-dark: #000000;
JSON
{
"hex": "#f0db61",
"rgb": {
"r": 240,
"g": 219,
"b": 97
},
"hsl": {
"h": 51.189,
"s": 82.659,
"l": 66.078
},
"oklch": {
"l": 0.8857,
"c": 0.14284,
"h": 99.6
},
"luminance": 0.70051
}Semantic roles & 50–950 ramp
primary
#F0DB61
secondary
#3448C2
accent
#26DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F