#F0D559#F0D559
#F0D559 is a very light, vivid yellow. Relative luminance 0.668; OKLCH L 87.3% C 0.144 H 97.0°. Best body text is #000000 at 14.37:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D559 |
|---|---|
| RGB | rgb(240, 213, 89) |
| HSL | hsl(49, 83%, 65%) |
| HSV | hsv(49, 63%, 94%) |
| CMYK | cmyk(0%, 11.2%, 62.9%, 5.9%) |
| CIE-LAB | lab(85.42, -4.62, 62.89) |
| CIE-LCH | lch(85.42, 63.06, 94.20°) |
| OKLab | oklab(87.28% -0.0175 0.1434) |
| OKLCH | oklch(87.28% 0.144 97) |
| XYZ | xyz(61.5353, 66.8380, 19.1090) |
| Luminance | 0.6683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 2.16
Light Gold
#FDDC5C
ΔE00 2.38
Maize
#F4D054
ΔE00 2.56
Sand Yellow
#FCE166
ΔE00 2.71
Dull Yellow
#EEDC5B
ΔE00 2.74
Pale Gold
#FDDE6C
ΔE00 2.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D559 #5974F0
analogous
#F08A59 #F0D559 #BFF059
triadic
#F0D559 #59F0D5 #D559F0
tetradic
#F0D559 #59F08A #5974F0 #F059BF
square
#F0D559 #59F08A #5974F0 #F059BF
split-complementary
#F0D559 #59BFF0 #8A59F0
monochromatic
#BD9F11 #EBC721 #F0D559 #F5E391 #FAF1C9
Accessibility & contrast
On white
1.46
#F0D559 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.37
#F0D559 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D559
14.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D559 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D559 | 1.00 | 1.46 | 14.37 | 14.37 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.37 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.37 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E9D04B
Deuteranopia (green-blind)
#F0D95F
Tritanopia (blue-blind)
#FFC6BB
Achromatopsia (no color)
#D5D5D5
Design tokens & code
CSS
--color: #f0d559; /* rgb */ color: rgb(240, 213, 89); /* oklch */ color: oklch(87.3% 0.144 97.0);
Tailwind
colors: {
custom: {
50: '#f8e18d',
500: '#f0d559',
950: '#000000',
},
}SCSS
$custom: #f0d559; $custom-light: #f8e18d; $custom-dark: #000000;
JSON
{
"hex": "#f0d559",
"rgb": {
"r": 240,
"g": 213,
"b": 89
},
"hsl": {
"h": 49.272,
"s": 83.425,
"l": 64.51
},
"oklch": {
"l": 0.87279,
"c": 0.14446,
"h": 97
},
"luminance": 0.66835
}Semantic roles & 50–950 ramp
primary
#F0D559
secondary
#314ABC
accent
#2DE006
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150C
muted
#86847F