#F0CC76#F0CC76
#F0CC76 is a very light, moderate orange. Relative luminance 0.630; OKLCH L 85.8% C 0.113 H 87.3°. Best body text is #000000 at 13.60:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CC76 |
|---|---|
| RGB | rgb(240, 204, 118) |
| HSL | hsl(42, 80%, 70%) |
| HSV | hsv(42, 51%, 94%) |
| CMYK | cmyk(0%, 15%, 50.8%, 5.9%) |
| CIE-LAB | lab(83.45, 2.14, 47.24) |
| CIE-LCH | lch(83.45, 47.29, 87.41°) |
| OKLab | oklab(85.82% 0.0053 0.1127) |
| OKLCH | oklch(85.82% 0.113 87.3) |
| XYZ | xyz(60.8004, 63.0220, 26.0979) |
| Luminance | 0.6302 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.57
Wheat (survey)
#FBDD7E
ΔE00 4.37
Light Mustard
#F7D560
ΔE00 4.92
Sandy
#F1DA7A
ΔE00 5.06
Maize
#F4D054
ΔE00 5.26
Pale Gold
#FDDE6C
ΔE00 5.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CC76 #769AF0
analogous
#F08F76 #F0CC76 #D7F076
triadic
#F0CC76 #76F0CC #CC76F0
tetradic
#F0CC76 #76F08F #769AF0 #F076D7
square
#F0CC76 #76F08F #769AF0 #F076D7
split-complementary
#F0CC76 #76D7F0 #8F76F0
monochromatic
#D49D17 #EAB73F #F0CC76 #F6E1AD #FCF5E3
Accessibility & contrast
On white
1.54
#F0CC76 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.60
#F0CC76 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CC76
13.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CC76 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CC76 | 1.00 | 1.54 | 13.60 | 13.60 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECA6F
Deuteranopia (green-blind)
#E7D479
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f0cc76; /* rgb */ color: rgb(240, 204, 118); /* oklch */ color: oklch(85.8% 0.113 87.3);
Tailwind
colors: {
custom: {
50: '#f7db9f',
500: '#f0cc76',
950: '#000000',
},
}SCSS
$custom: #f0cc76; $custom-light: #f7db9f; $custom-dark: #000000;
JSON
{
"hex": "#f0cc76",
"rgb": {
"r": 240,
"g": 204,
"b": 118
},
"hsl": {
"h": 42.295,
"s": 80.263,
"l": 70.196
},
"oklch": {
"l": 0.85822,
"c": 0.11286,
"h": 87.3
},
"luminance": 0.63019
}Semantic roles & 50–950 ramp
primary
#F0CC76
secondary
#4169CA
accent
#47DD09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380