#CCAC47#CCAC47
#CCAC47 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.124 H 91.5°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC47 |
|---|---|
| RGB | rgb(204, 172, 71) |
| HSL | hsl(46, 57%, 54%) |
| HSV | hsv(46, 65%, 80%) |
| CMYK | cmyk(0%, 15.7%, 65.2%, 20%) |
| CIE-LAB | lab(71.42, 0.35, 54.64) |
| CIE-LCH | lch(71.42, 54.64, 89.63°) |
| OKLab | oklab(75.38% -0.0032 0.1242) |
| OKLCH | oklch(75.38% 0.124 91.5) |
| XYZ | xyz(40.7937, 42.7996, 12.0725) |
| Luminance | 0.4280 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.69
Mustard
#DBB42C
ΔE00 4.51
Burnt Yellow
#D5AB09
ΔE00 5.04
Sandy Brown
#C4A661
ΔE00 5.29
Brownish Yellow
#C9B003
ΔE00 5.84
Gold (survey)
#DBB40C
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC47 #4767CC
analogous
#CC6A47 #CCAC47 #AACC47
triadic
#CCAC47 #47CCAC #AC47CC
tetradic
#CCAC47 #47CC6A #4767CC #CC47AA
square
#CCAC47 #47CC6A #4767CC #CC47AA
split-complementary
#CCAC47 #47AACC #6A47CC
monochromatic
#776321 #A78A2E #CCAC47 #D9C277 #E7D7A7
Accessibility & contrast
On white
2.20
#CCAC47 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#CCAC47 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC47
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC47 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC47 | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA3B
Deuteranopia (green-blind)
#C6B34C
Tritanopia (blue-blind)
#DC9F97
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac47; /* rgb */ color: rgb(204, 172, 71); /* oklch */ color: oklch(75.4% 0.124 91.5);
Tailwind
colors: {
custom: {
50: '#dfc47f',
500: '#ccac47',
950: '#000000',
},
}SCSS
$custom: #ccac47; $custom-light: #dfc47f; $custom-dark: #000000;
JSON
{
"hex": "#ccac47",
"rgb": {
"r": 204,
"g": 172,
"b": 71
},
"hsl": {
"h": 45.564,
"s": 56.596,
"l": 53.922
},
"oklch": {
"l": 0.75382,
"c": 0.12427,
"h": 91.5
},
"luminance": 0.42797
}Semantic roles & 50–950 ramp
primary
#CCAC47
secondary
#9BA9D4
accent
#6CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C