#CCAC46#CCAC46
#CCAC46 is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.125 H 91.6°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC46 |
|---|---|
| RGB | rgb(204, 172, 70) |
| HSL | hsl(46, 57%, 54%) |
| HSV | hsv(46, 66%, 80%) |
| CMYK | cmyk(0%, 15.7%, 65.7%, 20%) |
| CIE-LAB | lab(71.41, 0.29, 55.07) |
| CIE-LCH | lch(71.41, 55.07, 89.70°) |
| OKLab | oklab(75.37% -0.0035 0.125) |
| OKLCH | oklch(75.37% 0.125 91.6) |
| XYZ | xyz(40.7619, 42.7869, 11.9048) |
| Luminance | 0.4279 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.82
Mustard
#DBB42C
ΔE00 4.42
Burnt Yellow
#D5AB09
ΔE00 4.93
Sandy Brown
#C4A661
ΔE00 5.41
Brownish Yellow
#C9B003
ΔE00 5.72
Gold (survey)
#DBB40C
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC46 #4666CC
analogous
#CC6946 #CCAC46 #A9CC46
triadic
#CCAC46 #46CCAC #AC46CC
tetradic
#CCAC46 #46CC69 #4666CC #CC46A9
square
#CCAC46 #46CC69 #4666CC #CC46A9
split-complementary
#CCAC46 #46A9CC #6946CC
monochromatic
#776221 #A78A2E #CCAC46 #D9C276 #E6D7A6
Accessibility & contrast
On white
2.20
#CCAC46 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#CCAC46 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC46
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC46 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC46 | 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)
#BEAA3A
Deuteranopia (green-blind)
#C6B34B
Tritanopia (blue-blind)
#DC9F96
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac46; /* rgb */ color: rgb(204, 172, 70); /* oklch */ color: oklch(75.4% 0.125 91.6);
Tailwind
colors: {
custom: {
50: '#dfc47e',
500: '#ccac46',
950: '#000000',
},
}SCSS
$custom: #ccac46; $custom-light: #dfc47e; $custom-dark: #000000;
JSON
{
"hex": "#ccac46",
"rgb": {
"r": 204,
"g": 172,
"b": 70
},
"hsl": {
"h": 45.672,
"s": 56.78,
"l": 53.725
},
"oklch": {
"l": 0.75373,
"c": 0.12504,
"h": 91.6
},
"luminance": 0.42785
}Semantic roles & 50–950 ramp
primary
#CCAC46
secondary
#9AA8D4
accent
#6CE048
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C