#CCAC45#CCAC45
#CCAC45 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.126 H 91.7°. Best body text is #000000 at 9.55:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC45 |
|---|---|
| RGB | rgb(204, 172, 69) |
| HSL | hsl(46, 57%, 54%) |
| HSV | hsv(46, 66%, 80%) |
| CMYK | cmyk(0%, 15.7%, 66.2%, 20%) |
| CIE-LAB | lab(71.40, 0.23, 55.50) |
| CIE-LCH | lch(71.40, 55.50, 89.76°) |
| OKLab | oklab(75.36% -0.0038 0.1257) |
| OKLCH | oklch(75.36% 0.126 91.7) |
| XYZ | xyz(40.7306, 42.7744, 11.7400) |
| Luminance | 0.4277 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.94
Mustard
#DBB42C
ΔE00 4.33
Burnt Yellow
#D5AB09
ΔE00 4.83
Sandy Brown
#C4A661
ΔE00 5.53
Brownish Yellow
#C9B003
ΔE00 5.60
Gold (survey)
#DBB40C
ΔE00 5.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC45 #4565CC
analogous
#CC6845 #CCAC45 #A8CC45
triadic
#CCAC45 #45CCAC #AC45CC
tetradic
#CCAC45 #45CC68 #4565CC #CC45A8
square
#CCAC45 #45CC68 #4565CC #CC45A8
split-complementary
#CCAC45 #45A8CC #6845CC
monochromatic
#766220 #A68A2E #CCAC45 #D9C175 #E6D7A5
Accessibility & contrast
On white
2.20
#CCAC45 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.55
#CCAC45 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC45
9.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC45 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC45 | 1.00 | 2.20 | 9.55 | 9.55 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEAA39
Deuteranopia (green-blind)
#C6B34A
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac45; /* rgb */ color: rgb(204, 172, 69); /* oklch */ color: oklch(75.4% 0.126 91.7);
Tailwind
colors: {
custom: {
50: '#dfc47d',
500: '#ccac45',
950: '#000000',
},
}SCSS
$custom: #ccac45; $custom-light: #dfc47d; $custom-dark: #000000;
JSON
{
"hex": "#ccac45",
"rgb": {
"r": 204,
"g": 172,
"b": 69
},
"hsl": {
"h": 45.778,
"s": 56.962,
"l": 53.529
},
"oklch": {
"l": 0.75363,
"c": 0.1258,
"h": 91.7
},
"luminance": 0.42772
}Semantic roles & 50–950 ramp
primary
#CCAC45
secondary
#99A7D3
accent
#6CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C