#F0CC5E#F0CC5E
#F0CC5E is a very light, vivid yellow. Relative luminance 0.625; OKLCH L 85.5% C 0.134 H 91.2°. Best body text is #000000 at 13.50:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CC5E |
|---|---|
| RGB | rgb(240, 204, 94) |
| HSL | hsl(45, 83%, 65%) |
| HSV | hsv(45, 61%, 94%) |
| CMYK | cmyk(0%, 15%, 60.8%, 5.9%) |
| CIE-LAB | lab(83.19, 0.30, 58.25) |
| CIE-LCH | lch(83.19, 58.25, 89.70°) |
| OKLab | oklab(85.53% -0.0028 0.1342) |
| OKLCH | oklch(85.53% 0.134 91.2) |
| XYZ | xyz(59.5512, 62.5223, 19.5188) |
| Luminance | 0.6252 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Maize
#F4D054
ΔE00 1.89
Light Mustard
#F7D560
ΔE00 2.28
Pale Gold
#FDDE6C
ΔE00 4.22
Light Gold
#FDDC5C
ΔE00 4.24
Wheat (survey)
#FBDD7E
ΔE00 4.52
Sand (survey)
#E2CA76
ΔE00 4.66
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CC5E #5E82F0
analogous
#F0835E #F0CC5E #CBF05E
triadic
#F0CC5E #5EF0CC #CC5EF0
tetradic
#F0CC5E #5EF083 #5E82F0 #F05ECB
square
#F0CC5E #5EF083 #5E82F0 #F05ECB
split-complementary
#F0CC5E #5ECBF0 #835EF0
monochromatic
#C29612 #EBBA26 #F0CC5E #F5DE96 #FAEFCE
Accessibility & contrast
On white
1.56
#F0CC5E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.50
#F0CC5E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CC5E
13.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CC5E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CC5E | 1.00 | 1.56 | 13.50 | 13.50 |
| #FFFFFF | 1.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#E0C952
Deuteranopia (green-blind)
#E9D463
Tritanopia (blue-blind)
#FFBDB4
Achromatopsia (no color)
#CFCFCF
Design tokens & code
CSS
--color: #f0cc5e; /* rgb */ color: rgb(240, 204, 94); /* oklch */ color: oklch(85.5% 0.134 91.2);
Tailwind
colors: {
custom: {
50: '#f8db8f',
500: '#f0cc5e',
950: '#000000',
},
}SCSS
$custom: #f0cc5e; $custom-light: #f8db8f; $custom-dark: #000000;
JSON
{
"hex": "#f0cc5e",
"rgb": {
"r": 240,
"g": 204,
"b": 94
},
"hsl": {
"h": 45.205,
"s": 82.955,
"l": 65.49
},
"oklch": {
"l": 0.8553,
"c": 0.13421,
"h": 91.2
},
"luminance": 0.62519
}Semantic roles & 50–950 ramp
primary
#F0CC5E
secondary
#3355BF
accent
#3CDF06
background
#FFFEFC
surface
#FFFBF4
border
#D7D4CE
text
#18140D
muted
#86837F