#CCAB3C#CCAB3C
#CCAB3C is a light, vivid yellow. Relative luminance 0.423; OKLCH L 75.1% C 0.132 H 92.1°. Best body text is #000000 at 9.46:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAB3C |
|---|---|
| RGB | rgb(204, 171, 60) |
| HSL | hsl(46, 59%, 52%) |
| HSV | hsv(46, 71%, 80%) |
| CMYK | cmyk(0%, 16.2%, 70.6%, 20%) |
| CIE-LAB | lab(71.07, 0.27, 58.95) |
| CIE-LCH | lch(71.07, 58.95, 89.74°) |
| OKLab | oklab(75.08% -0.0047 0.1315) |
| OKLCH | oklch(75.08% 0.132 92.1) |
| XYZ | xyz(40.2825, 42.2918, 10.3155) |
| Luminance | 0.4229 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.78
Burnt Yellow
#D5AB09
ΔE00 3.95
Brownish Yellow
#C9B003
ΔE00 4.89
Desert
#CCAD60
ΔE00 4.89
Gold (survey)
#DBB40C
ΔE00 4.93
Ocher
#BF9B0C
ΔE00 5.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAB3C #3C5DCC
analogous
#CC633C #CCAB3C #A5CC3C
triadic
#CCAB3C #3CCCAB #AB3CCC
tetradic
#CCAB3C #3CCC63 #3C5DCC #CC3CA5
square
#CCAB3C #3CCC63 #3C5DCC #CC3CA5
split-complementary
#CCAB3C #3CA5CC #633CCC
monochromatic
#705D1D #A1862A #CCAB3C #D9C06D #E5D59D
Accessibility & contrast
On white
2.22
#CCAB3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.46
#CCAB3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAB3C
9.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAB3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAB3C | 1.00 | 2.22 | 9.46 | 9.46 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.46 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.46 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA82C
Deuteranopia (green-blind)
#C6B242
Tritanopia (blue-blind)
#DC9D94
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #ccab3c; /* rgb */ color: rgb(204, 171, 60); /* oklch */ color: oklch(75.1% 0.132 92.1);
Tailwind
colors: {
custom: {
50: '#dfc378',
500: '#ccab3c',
950: '#000000',
},
}SCSS
$custom: #ccab3c; $custom-light: #dfc378; $custom-dark: #000000;
JSON
{
"hex": "#ccab3c",
"rgb": {
"r": 204,
"g": 171,
"b": 60
},
"hsl": {
"h": 46.25,
"s": 58.537,
"l": 51.765
},
"oklch": {
"l": 0.7508,
"c": 0.1316,
"h": 92.1
},
"luminance": 0.42289
}Semantic roles & 50–950 ramp
primary
#CCAB3C
secondary
#92A1D1
accent
#6AE246
background
#FEFBF7
surface
#FCF7EE
border
#D5D0C9
text
#161209
muted
#84817B