#CCAC3D#CCAC3D
#CCAC3D is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.132 H 92.6°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC3D |
|---|---|
| RGB | rgb(204, 172, 61) |
| HSL | hsl(47, 58%, 52%) |
| HSV | hsv(47, 70%, 80%) |
| CMYK | cmyk(0%, 15.7%, 70.1%, 20%) |
| CIE-LAB | lab(71.34, -0.21, 58.81) |
| CIE-LCH | lch(71.34, 58.81, 90.21°) |
| OKLab | oklab(75.29% -0.006 0.1314) |
| OKLCH | oklch(75.29% 0.132 92.6) |
| XYZ | xyz(40.4988, 42.6817, 10.5192) |
| Luminance | 0.4268 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.73
Burnt Yellow
#D5AB09
ΔE00 4.09
Brownish Yellow
#C9B003
ΔE00 4.69
Gold (survey)
#DBB40C
ΔE00 4.88
Desert
#CCAD60
ΔE00 4.91
Mustard (survey)
#CEB301
ΔE00 4.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC3D #3D5DCC
analogous
#CC643D #CCAC3D #A5CC3D
triadic
#CCAC3D #3DCCAC #AC3DCC
tetradic
#CCAC3D #3DCC64 #3D5DCC #CC3DA5
square
#CCAC3D #3DCC64 #3D5DCC #CC3DA5
split-complementary
#CCAC3D #3DA5CC #643DCC
monochromatic
#715E1E #A1872A #CCAC3D #D9C16D #E5D59E
Accessibility & contrast
On white
2.20
#CCAC3D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.54
#CCAC3D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC3D
9.54:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC3D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC3D | 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)
#BEA92E
Deuteranopia (green-blind)
#C6B343
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac3d; /* rgb */ color: rgb(204, 172, 61); /* oklch */ color: oklch(75.3% 0.132 92.6);
Tailwind
colors: {
custom: {
50: '#dfc479',
500: '#ccac3d',
950: '#000000',
},
}SCSS
$custom: #ccac3d; $custom-light: #dfc479; $custom-dark: #000000;
JSON
{
"hex": "#ccac3d",
"rgb": {
"r": 204,
"g": 172,
"b": 61
},
"hsl": {
"h": 46.573,
"s": 58.367,
"l": 51.961
},
"oklch": {
"l": 0.75293,
"c": 0.13154,
"h": 92.6
},
"luminance": 0.42679
}Semantic roles & 50–950 ramp
primary
#CCAC3D
secondary
#93A1D2
accent
#69E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B