#CCAC3A#CCAC3A
#CCAC3A is a light, vivid yellow. Relative luminance 0.426; OKLCH L 75.3% C 0.134 H 92.9°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC3A |
|---|---|
| RGB | rgb(204, 172, 58) |
| HSL | hsl(47, 59%, 51%) |
| HSV | hsv(47, 72%, 80%) |
| CMYK | cmyk(0%, 15.7%, 71.6%, 20%) |
| CIE-LAB | lab(71.32, -0.36, 59.99) |
| CIE-LCH | lch(71.32, 60.00, 90.35°) |
| OKLab | oklab(75.27% -0.0068 0.1334) |
| OKLCH | oklch(75.27% 0.134 92.9) |
| XYZ | xyz(40.4202, 42.6502, 10.1055) |
| Luminance | 0.4265 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.56
Burnt Yellow
#D5AB09
ΔE00 3.85
Brownish Yellow
#C9B003
ΔE00 4.39
Mustard (survey)
#CEB301
ΔE00 4.61
Gold (survey)
#DBB40C
ΔE00 4.63
Dark Yellow
#D5B60A
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC3A #3A5ACC
analogous
#CC633A #CCAC3A #A3CC3A
triadic
#CCAC3A #3ACCAC #AC3ACC
tetradic
#CCAC3A #3ACC63 #3A5ACC #CC3AA3
square
#CCAC3A #3ACC63 #3A5ACC #CC3AA3
split-complementary
#CCAC3A #3AA3CC #633ACC
monochromatic
#6F5D1D #A08629 #CCAC3A #D9C06B #E5D59B
Accessibility & contrast
On white
2.20
#CCAC3A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CCAC3A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC3A
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC3A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC3A | 1.00 | 2.20 | 9.53 | 9.53 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA929
Deuteranopia (green-blind)
#C6B340
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac3a; /* rgb */ color: rgb(204, 172, 58); /* oklch */ color: oklch(75.3% 0.134 92.9);
Tailwind
colors: {
custom: {
50: '#e0c477',
500: '#ccac3a',
950: '#000000',
},
}SCSS
$custom: #ccac3a; $custom-light: #e0c477; $custom-dark: #000000;
JSON
{
"hex": "#ccac3a",
"rgb": {
"r": 204,
"g": 172,
"b": 58
},
"hsl": {
"h": 46.849,
"s": 58.871,
"l": 51.373
},
"oklch": {
"l": 0.75269,
"c": 0.13353,
"h": 92.9
},
"luminance": 0.42648
}Semantic roles & 50–950 ramp
primary
#CCAC3A
secondary
#919FD1
accent
#68E246
background
#FEFCF7
surface
#FCF8ED
border
#D5D1C8
text
#161209
muted
#84817B