#F0CC7A#F0CC7A
#F0CC7A is a very light, moderate orange. Relative luminance 0.631; OKLCH L 85.9% C 0.109 H 86.4°. Best body text is #000000 at 13.62:1 contrast (WCAG AA passes).
Color values
| HEX | #F0CC7A |
|---|---|
| RGB | rgb(240, 204, 122) |
| HSL | hsl(42, 80%, 71%) |
| HSV | hsv(42, 49%, 94%) |
| CMYK | cmyk(0%, 15%, 49.2%, 5.9%) |
| CIE-LAB | lab(83.50, 2.49, 45.33) |
| CIE-LCH | lch(83.50, 45.40, 86.86°) |
| OKLab | oklab(85.88% 0.0068 0.1088) |
| OKLCH | oklch(85.88% 0.109 86.4) |
| XYZ | xyz(61.0432, 63.1191, 27.3764) |
| Luminance | 0.6312 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Sand (survey)
#E2CA76
ΔE00 3.74
Wheat (survey)
#FBDD7E
ΔE00 4.67
Sandy
#F1DA7A
ΔE00 5.41
Light Mustard
#F7D560
ΔE00 5.55
Maize
#F4D054
ΔE00 5.93
Pale Gold
#FDDE6C
ΔE00 6.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#F0CC7A #7A9EF0
analogous
#F0917A #F0CC7A #D9F07A
triadic
#F0CC7A #7AF0CC #CC7AF0
tetradic
#F0CC7A #7AF091 #7A9EF0 #F07AD9
square
#F0CC7A #7AF091 #7A9EF0 #F07AD9
split-complementary
#F0CC7A #7AD9F0 #917AF0
monochromatic
#D79D18 #EAB743 #F0CC7A #F6E1B1 #FCF4E4
Accessibility & contrast
On white
1.54
#F0CC7A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
13.62
#F0CC7A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #F0CC7A
13.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##F0CC7A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##F0CC7A | 1.00 | 1.54 | 13.62 | 13.62 |
| #FFFFFF | 1.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 13.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 13.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#DECA73
Deuteranopia (green-blind)
#E7D47D
Tritanopia (blue-blind)
#FFBFB8
Achromatopsia (no color)
#D0D0D0
Design tokens & code
CSS
--color: #f0cc7a; /* rgb */ color: rgb(240, 204, 122); /* oklch */ color: oklch(85.9% 0.109 86.4);
Tailwind
colors: {
custom: {
50: '#f7dba2',
500: '#f0cc7a',
950: '#000000',
},
}SCSS
$custom: #f0cc7a; $custom-light: #f7dba2; $custom-dark: #000000;
JSON
{
"hex": "#f0cc7a",
"rgb": {
"r": 240,
"g": 204,
"b": 122
},
"hsl": {
"h": 41.695,
"s": 79.73,
"l": 70.98
},
"oklch": {
"l": 0.85879,
"c": 0.109,
"h": 86.4
},
"luminance": 0.63116
}Semantic roles & 50–950 ramp
primary
#F0CC7A
secondary
#446DCA
accent
#4ADC09
background
#FFFEFC
surface
#FFFBF5
border
#D7D4CF
text
#17140F
muted
#858380