#CCAC3B#CCAC3B
#CCAC3B is a light, vivid yellow. Relative luminance 0.427; OKLCH L 75.3% C 0.133 H 92.8°. Best body text is #000000 at 9.53:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAC3B |
|---|---|
| RGB | rgb(204, 172, 59) |
| HSL | hsl(47, 59%, 52%) |
| HSV | hsv(47, 71%, 80%) |
| CMYK | cmyk(0%, 15.7%, 71.1%, 20%) |
| CIE-LAB | lab(71.32, -0.31, 59.60) |
| CIE-LCH | lch(71.32, 59.61, 90.30°) |
| OKLab | oklab(75.28% -0.0065 0.1327) |
| OKLCH | oklch(75.28% 0.133 92.8) |
| XYZ | xyz(40.4459, 42.6605, 10.2408) |
| Luminance | 0.4266 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.61
Burnt Yellow
#D5AB09
ΔE00 3.93
Brownish Yellow
#C9B003
ΔE00 4.49
Gold (survey)
#DBB40C
ΔE00 4.71
Mustard (survey)
#CEB301
ΔE00 4.71
Dark Yellow
#D5B60A
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAC3B #3B5BCC
analogous
#CC643B #CCAC3B #A3CC3B
triadic
#CCAC3B #3BCCAC #AC3BCC
tetradic
#CCAC3B #3BCC64 #3B5BCC #CC3BA3
square
#CCAC3B #3BCC64 #3B5BCC #CC3BA3
split-complementary
#CCAC3B #3BA3CC #643BCC
monochromatic
#705D1D #A0862A #CCAC3B #D9C16C #E5D59C
Accessibility & contrast
On white
2.20
#CCAC3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.53
#CCAC3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAC3B
9.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAC3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAC3B | 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)
#BEA92B
Deuteranopia (green-blind)
#C6B341
Tritanopia (blue-blind)
#DC9E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccac3b; /* rgb */ color: rgb(204, 172, 59); /* oklch */ color: oklch(75.3% 0.133 92.8);
Tailwind
colors: {
custom: {
50: '#dfc478',
500: '#ccac3b',
950: '#000000',
},
}SCSS
$custom: #ccac3b; $custom-light: #dfc478; $custom-dark: #000000;
JSON
{
"hex": "#ccac3b",
"rgb": {
"r": 204,
"g": 172,
"b": 59
},
"hsl": {
"h": 46.759,
"s": 58.704,
"l": 51.569
},
"oklch": {
"l": 0.75277,
"c": 0.13287,
"h": 92.8
},
"luminance": 0.42658
}Semantic roles & 50–950 ramp
primary
#CCAC3B
secondary
#92A0D1
accent
#68E246
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B