#CCAC4A#CCAC4A
#CCAC4A is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.122 H 91.1°. Best body text is #000000 at 9.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC4A |
|---|---|
| RGB | rgb(204, 172, 74) |
| HSL | hsl(45, 56%, 55%) |
| HSV | hsv(45, 64%, 80%) |
| CMYK | cmyk(0%, 15.7%, 63.7%, 20%) |
| CIE-LAB | lab(71.45, 0.54, 53.33) |
| CIE-LCH | lch(71.45, 53.33, 89.42°) |
| OKLab | oklab(75.41% -0.0023 0.1219) |
| OKLCH | oklch(75.41% 0.122 91.1) |
| XYZ | xyz(40.8924, 42.8391, 12.5921) |
| Luminance | 0.4284 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.28
Mustard
#DBB42C
ΔE00 4.81
Sandy Brown
#C4A661
ΔE00 4.92
Burnt Yellow
#D5AB09
ΔE00 5.37
Tan (survey)
#D1B26F
ΔE00 5.50
Sand Brown
#CBA560
ΔE00 5.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC4A #4A6ACC
analogous
#CC6B4A #CCAC4A #ABCC4A
triadic
#CCAC4A #4ACCAC #AC4ACC
tetradic
#CCAC4A #4ACC6B #4A6ACC #CC4AAB
square
#CCAC4A #4ACC6B #4A6ACC #CC4AAB
split-complementary
#CCAC4A #4AABCC #6B4ACC
monochromatic
#796422 #A98B30 #CCAC4A #D9C27A #E7D8A9
Accessibility & contrast
On white
2.19
#CCAC4A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.57
#CCAC4A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC4A
9.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC4A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC4A | 1.00 | 2.19 | 9.57 | 9.57 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3F
Deuteranopia (green-blind)
#C5B34E
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac4a; /* rgb */ color: rgb(204, 172, 74); /* oklch */ color: oklch(75.4% 0.122 91.1);
Tailwind
colors: {
custom: {
50: '#dfc480',
500: '#ccac4a',
950: '#000000',
},
}SCSS
$custom: #ccac4a; $custom-light: #dfc480; $custom-dark: #000000;
JSON
{
"hex": "#ccac4a",
"rgb": {
"r": 204,
"g": 172,
"b": 74
},
"hsl": {
"h": 45.231,
"s": 56.034,
"l": 54.51
},
"oklch": {
"l": 0.75412,
"c": 0.12191,
"h": 91.1
},
"luminance": 0.42837
}Semantic roles & 50–950 ramp
primary
#CCAC4A
secondary
#9DABD4
accent
#6EDF48
background
#FEFCF8
surface
#FCF8EF
border
#D5D1CA
text
#16120A
muted
#84817C