#F0C950#F0C950
#F0C950 is a very light, vivid yellow. Relative luminance 0.609; OKLCH L 84.8% C 0.143 H 91.0°. Best body text is #000000 at 13.18:1 contrast (WCAG AA passes).
Color values
| HEX | #F0C950 |
|---|---|
| RGB | rgb(240, 201, 80) |
| HSL | hsl(45, 84%, 63%) |
| HSV | hsv(45, 67%, 94%) |
| CMYK | cmyk(0%, 16.3%, 66.7%, 5.9%) |
| CIE-LAB | lab(82.31, 0.99, 63.38) |
| CIE-LCH | lch(82.31, 63.39, 89.10°) |
| OKLab | oklab(84.8% -0.0025 0.1431) |
| OKLCH | oklch(84.8% 0.143 91) |
| XYZ | xyz(58.2728, 60.8811, 16.2698) |
| Luminance | 0.6088 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.81
Light Mustard
#F7D560
ΔE00 2.98
Light Gold
#FDDC5C
ΔE00 4.58
Pale Gold
#FDDE6C
ΔE00 5.10
Golden Yellow
#FEC615
ΔE00 5.19
Golden
#F5BF03
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0C950 #5077F0
analogous
#F07950 #F0C950 #C7F050
triadic
#F0C950 #50F0C9 #C950F0
tetradic
#F0C950 #50F079 #5077F0 #F050C7
square
#F0C950 #50F079 #5077F0 #F050C7
split-complementary
#F0C950 #50C7F0 #7950F0
monochromatic
#B68D10 #EBB818 #F0C950 #F5DA88 #FAECC1
Accessibility & contrast
On white
1.59
#F0C950 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.18
#F0C950 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0C950
13.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0C950 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0C950 | 1.00 | 1.59 | 13.18 | 13.18 |
| #FFFFFF | 1.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DEC641
Deuteranopia (green-blind)
#E8D156
Tritanopia (blue-blind)
#FFB9B0
Achromatopsia (no color)
#CDCDCD
Design tokens & code
CSS
--color: #f0c950; /* rgb */ color: rgb(240, 201, 80); /* oklch */ color: oklch(84.8% 0.143 91.0);
Tailwind
colors: {
custom: {
50: '#f9d987',
500: '#f0c950',
950: '#000000',
},
}SCSS
$custom: #f0c950; $custom-light: #f9d987; $custom-dark: #000000;
JSON
{
"hex": "#f0c950",
"rgb": {
"r": 240,
"g": 201,
"b": 80
},
"hsl": {
"h": 45.375,
"s": 84.211,
"l": 62.745
},
"oklch": {
"l": 0.84799,
"c": 0.14309,
"h": 91
},
"luminance": 0.60878
}Semantic roles & 50–950 ramp
primary
#F0C950
secondary
#2F50B5
accent
#3AE105
background
#FFFEFC
surface
#FFFBF3
border
#D7D4CD
text
#18140C
muted
#86837F