#F0D55F#F0D55F
#F0D55F is a very light, vivid yellow. Relative luminance 0.669; OKLCH L 87.3% C 0.140 H 96.5°. Best body text is #000000 at 14.39:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D55F |
|---|---|
| RGB | rgb(240, 213, 95) |
| HSL | hsl(49, 83%, 66%) |
| HSV | hsv(49, 60%, 94%) |
| CMYK | cmyk(0%, 11.2%, 60.4%, 5.9%) |
| CIE-LAB | lab(85.48, -4.23, 60.35) |
| CIE-LCH | lch(85.48, 60.49, 94.01°) |
| OKLab | oklab(87.34% -0.0157 0.1388) |
| OKLCH | oklch(87.34% 0.14 96.5) |
| XYZ | xyz(61.7976, 66.9429, 20.4904) |
| Luminance | 0.6694 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.93
Light Gold
#FDDC5C
ΔE00 2.52
Pale Gold
#FDDE6C
ΔE00 2.53
Maize
#F4D054
ΔE00 2.58
Sand Yellow
#FCE166
ΔE00 2.73
Dull Yellow
#EEDC5B
ΔE00 2.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D55F #5F7AF0
analogous
#F08D5F #F0D55F #C2F05F
triadic
#F0D55F #5FF0D5 #D55FF0
tetradic
#F0D55F #5FF08D #5F7AF0 #F05FC2
square
#F0D55F #5FF08D #5F7AF0 #F05FC2
split-complementary
#F0D55F #5FC2F0 #8D5FF0
monochromatic
#C2A212 #EBC627 #F0D55F #F5E497 #FAF2CF
Accessibility & contrast
On white
1.46
#F0D55F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
14.39
#F0D55F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D55F
14.39:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D55F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D55F | 1.00 | 1.46 | 14.39 | 14.39 |
| #FFFFFF | 1.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 14.39 | 21.00 | 1.00 | 1.00 |
| ##000000 | 14.39 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E8D152
Deuteranopia (green-blind)
#EFD965
Tritanopia (blue-blind)
#FFC7BB
Achromatopsia (no color)
#D6D6D6
Design tokens & code
CSS
--color: #f0d55f; /* rgb */ color: rgb(240, 213, 95); /* oklch */ color: oklch(87.3% 0.140 96.5);
Tailwind
colors: {
custom: {
50: '#f8e191',
500: '#f0d55f',
950: '#000000',
},
}SCSS
$custom: #f0d55f; $custom-light: #f8e191; $custom-dark: #000000;
JSON
{
"hex": "#f0d55f",
"rgb": {
"r": 240,
"g": 213,
"b": 95
},
"hsl": {
"h": 48.828,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.87338,
"c": 0.13968,
"h": 96.5
},
"luminance": 0.6694
}Semantic roles & 50–950 ramp
primary
#F0D55F
secondary
#334DC0
accent
#2FDF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F