#CCAB4A#CCAB4A
#CCAB4A is a light, vivid orange. Relative luminance 0.425; OKLCH L 75.2% C 0.121 H 90.3°. Best body text is #000000 at 9.49:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAB4A |
|---|---|
| RGB | rgb(204, 171, 74) |
| HSL | hsl(45, 56%, 55%) |
| HSV | hsv(45, 64%, 80%) |
| CMYK | cmyk(0%, 16.2%, 63.7%, 20%) |
| CIE-LAB | lab(71.19, 1.07, 53.04) |
| CIE-LCH | lch(71.19, 53.05, 88.84°) |
| OKLab | oklab(75.21% -0.0007 0.1213) |
| OKLCH | oklch(75.21% 0.121 90.3) |
| XYZ | xyz(40.7028, 42.4599, 12.5289) |
| Luminance | 0.4246 (WCAG relative) |
| Temperature | warm |
| Family | orange |
Closest named colors
Desert
#CCAD60
ΔE00 3.16
Sandy Brown
#C4A661
ΔE00 4.70
Mustard
#DBB42C
ΔE00 4.96
Burnt Yellow
#D5AB09
ΔE00 5.40
Tan (survey)
#D1B26F
ΔE00 5.41
Sand Brown
#CBA560
ΔE00 5.48
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAB4A #4A6BCC
analogous
#CC6A4A #CCAB4A #ACCC4A
triadic
#CCAB4A #4ACCAB #AB4ACC
tetradic
#CCAB4A #4ACC6A #4A6BCC #CC4AAC
square
#CCAB4A #4ACC6A #4A6BCC #CC4AAC
split-complementary
#CCAB4A #4AACCC #6A4ACC
monochromatic
#796322 #A98A30 #CCAB4A #D9C17A #E7D7A9
Accessibility & contrast
On white
2.21
#CCAB4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.49
#CCAB4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAB4A
9.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAB4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAB4A | 1.00 | 2.21 | 9.49 | 9.49 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.49 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.49 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA93F
Deuteranopia (green-blind)
#C5B24E
Tritanopia (blue-blind)
#DC9E96
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ccab4a; /* rgb */ color: rgb(204, 171, 74); /* oklch */ color: oklch(75.2% 0.121 90.3);
Tailwind
colors: {
custom: {
50: '#dfc380',
500: '#ccab4a',
950: '#000000',
},
}SCSS
$custom: #ccab4a; $custom-light: #dfc380; $custom-dark: #000000;
JSON
{
"hex": "#ccab4a",
"rgb": {
"r": 204,
"g": 171,
"b": 74
},
"hsl": {
"h": 44.769,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.75208,
"c": 0.12128,
"h": 90.3
},
"luminance": 0.42458
}Semantic roles & 50–950 ramp
primary
#CCAB4A
secondary
#9DABD4
accent
#6FDF48
background
#FEFBF8
surface
#FCF7EF
border
#D5D0CA
text
#16120A
muted
#84817C