#F0D05F#F0D05F
#F0D05F is a very light, vivid yellow. Relative luminance 0.645; OKLCH L 86.3% C 0.136 H 93.5°. Best body text is #000000 at 13.89:1 contrast (WCAG AA passes).
Color values
| HEX | #F0D05F |
|---|---|
| RGB | rgb(240, 208, 95) |
| HSL | hsl(47, 83%, 66%) |
| HSV | hsv(47, 60%, 94%) |
| CMYK | cmyk(0%, 13.3%, 60.4%, 5.9%) |
| CIE-LAB | lab(84.21, -1.68, 58.94) |
| CIE-LCH | lch(84.21, 58.96, 91.64°) |
| OKLab | oklab(86.34% -0.0084 0.1358) |
| OKLCH | oklch(86.34% 0.136 93.5) |
| XYZ | xyz(60.5593, 64.4663, 20.0777) |
| Luminance | 0.6446 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Light Mustard
#F7D560
ΔE00 1.38
Maize
#F4D054
ΔE00 1.54
Pale Gold
#FDDE6C
ΔE00 3.17
Light Gold
#FDDC5C
ΔE00 3.20
Sandy
#F1DA7A
ΔE00 3.82
Wheat (survey)
#FBDD7E
ΔE00 3.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0D05F #5F7FF0
analogous
#F0885F #F0D05F #C7F05F
triadic
#F0D05F #5FF0D0 #D05FF0
tetradic
#F0D05F #5FF088 #5F7FF0 #F05FC7
square
#F0D05F #5FF088 #5F7FF0 #F05FC7
split-complementary
#F0D05F #5FC7F0 #885FF0
monochromatic
#C29C12 #EBC027 #F0D05F #F5E097 #FAF1CF
Accessibility & contrast
On white
1.51
#F0D05F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.89
#F0D05F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0D05F
13.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0D05F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0D05F | 1.00 | 1.51 | 13.89 | 13.89 |
| #FFFFFF | 1.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E4CC53
Deuteranopia (green-blind)
#ECD664
Tritanopia (blue-blind)
#FFC1B7
Achromatopsia (no color)
#D2D2D2
Design tokens & code
CSS
--color: #f0d05f; /* rgb */ color: rgb(240, 208, 95); /* oklch */ color: oklch(86.3% 0.136 93.5);
Tailwind
colors: {
custom: {
50: '#f8de90',
500: '#f0d05f',
950: '#000000',
},
}SCSS
$custom: #f0d05f; $custom-light: #f8de90; $custom-dark: #000000;
JSON
{
"hex": "#f0d05f",
"rgb": {
"r": 240,
"g": 208,
"b": 95
},
"hsl": {
"h": 46.759,
"s": 82.857,
"l": 65.686
},
"oklch": {
"l": 0.86336,
"c": 0.13604,
"h": 93.5
},
"luminance": 0.64463
}Semantic roles & 50–950 ramp
primary
#F0D05F
secondary
#3352C0
accent
#36DF06
background
#FFFEFC
surface
#FFFCF4
border
#D7D5CE
text
#18150D
muted
#86847F