#CCAC2D#CCAC2D
#CCAC2D is a light, vivid yellow. Relative luminance 0.425; OKLCH L 75.2% C 0.141 H 94.0°. Best body text is #000000 at 9.51:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC2D |
|---|---|
| RGB | rgb(204, 172, 45) |
| HSL | hsl(48, 64%, 49%) |
| HSV | hsv(48, 78%, 80%) |
| CMYK | cmyk(0%, 15.7%, 77.9%, 20%) |
| CIE-LAB | lab(71.24, -0.92, 64.67) |
| CIE-LCH | lch(71.24, 64.68, 90.82°) |
| OKLab | oklab(75.18% -0.0097 0.1408) |
| OKLCH | oklch(75.18% 0.141 94) |
| XYZ | xyz(40.1303, 42.5342, 8.5783) |
| Luminance | 0.4253 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Burnt Yellow
#D5AB09
ΔE00 3.10
Mustard
#DBB42C
ΔE00 3.15
Brownish Yellow
#C9B003
ΔE00 3.30
Mustard (survey)
#CEB301
ΔE00 3.53
Dark Yellow
#D5B60A
ΔE00 3.78
Gold (survey)
#DBB40C
ΔE00 3.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC2D #2D4DCC
analogous
#CC5D2D #CCAC2D #9DCC2D
triadic
#CCAC2D #2DCCAC #AC2DCC
tetradic
#CCAC2D #2DCC5D #2D4DCC #CC2D9D
square
#CCAC2D #2DCC5D #2D4DCC #CC2D9D
split-complementary
#CCAC2D #2D9DCC #5D2DCC
monochromatic
#685717 #9A8222 #CCAC2D #DBC15B #E6D48D
Accessibility & contrast
On white
2.21
#CCAC2D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.51
#CCAC2D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC2D
9.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC2D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC2D | 1.00 | 2.21 | 9.51 | 9.51 |
| #FFFFFF | 2.21 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.51 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.51 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA911
Deuteranopia (green-blind)
#C7B235
Tritanopia (blue-blind)
#DD9E94
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ccac2d; /* rgb */ color: rgb(204, 172, 45); /* oklch */ color: oklch(75.2% 0.141 94.0);
Tailwind
colors: {
custom: {
50: '#e0c470',
500: '#ccac2d',
950: '#000000',
},
}SCSS
$custom: #ccac2d; $custom-light: #e0c470; $custom-dark: #000000;
JSON
{
"hex": "#ccac2d",
"rgb": {
"r": 204,
"g": 172,
"b": 45
},
"hsl": {
"h": 47.925,
"s": 63.855,
"l": 48.824
},
"oklch": {
"l": 0.75182,
"c": 0.1411,
"h": 94
},
"luminance": 0.42532
}Semantic roles & 50–950 ramp
primary
#CCAC2D
secondary
#8594D0
accent
#62E741
background
#FEFBF7
surface
#FDF7ED
border
#D5D0C8
text
#161208
muted
#84817B