#CCAC3E#CCAC3E
#CCAC3E is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.131 H 92.5°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC3E |
|---|---|
| RGB | rgb(204, 172, 62) |
| HSL | hsl(46, 58%, 52%) |
| HSV | hsv(46, 70%, 80%) |
| CMYK | cmyk(0%, 15.7%, 69.6%, 20%) |
| CIE-LAB | lab(71.35, -0.16, 58.41) |
| CIE-LCH | lch(71.35, 58.41, 90.16°) |
| OKLab | oklab(75.3% -0.0057 0.1307) |
| OKLCH | oklch(75.3% 0.131 92.5) |
| XYZ | xyz(40.5260, 42.6925, 10.6624) |
| Luminance | 0.4269 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.80
Burnt Yellow
#D5AB09
ΔE00 4.17
Desert
#CCAD60
ΔE00 4.79
Brownish Yellow
#C9B003
ΔE00 4.80
Gold (survey)
#DBB40C
ΔE00 4.96
Mustard (survey)
#CEB301
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC3E #3E5ECC
analogous
#CC653E #CCAC3E #A5CC3E
triadic
#CCAC3E #3ECCAC #AC3ECC
tetradic
#CCAC3E #3ECC65 #3E5ECC #CC3EA5
square
#CCAC3E #3ECC65 #3E5ECC #CC3EA5
split-complementary
#CCAC3E #3EA5CC #653ECC
monochromatic
#725F1E #A2872B #CCAC3E #D9C16E #E6D69F
Accessibility & contrast
On white
2.20
#CCAC3E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#CCAC3E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC3E
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC3E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC3E | 1.00 | 2.20 | 9.54 | 9.54 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.54 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.54 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92F
Deuteranopia (green-blind)
#C6B344
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac3e; /* rgb */ color: rgb(204, 172, 62); /* oklch */ color: oklch(75.3% 0.131 92.5);
Tailwind
colors: {
custom: {
50: '#dfc479',
500: '#ccac3e',
950: '#000000',
},
}SCSS
$custom: #ccac3e; $custom-light: #dfc479; $custom-dark: #000000;
JSON
{
"hex": "#ccac3e",
"rgb": {
"r": 204,
"g": 172,
"b": 62
},
"hsl": {
"h": 46.479,
"s": 58.197,
"l": 52.157
},
"oklch": {
"l": 0.75301,
"c": 0.13086,
"h": 92.5
},
"luminance": 0.4269
}Semantic roles & 50–950 ramp
primary
#CCAC3E
secondary
#94A2D2
accent
#69E146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B