#CCAD42#CCAD42
#CCAD42 is a light, vivid yellow. Relative luminance 0.431; OKLCH L 75.5% C 0.129 H 92.7°. Best body text is #000000 at 9.62:1 contrast (WCAG AA passes).
Color values
| HEX | #CCAD42 |
|---|---|
| RGB | rgb(204, 173, 66) |
| HSL | hsl(47, 58%, 53%) |
| HSV | hsv(47, 68%, 80%) |
| CMYK | cmyk(0%, 15.2%, 67.6%, 20%) |
| CIE-LAB | lab(71.64, -0.47, 57.04) |
| CIE-LCH | lch(71.64, 57.04, 90.47°) |
| OKLab | oklab(75.54% -0.0061 0.1285) |
| OKLCH | oklch(75.54% 0.129 92.7) |
| XYZ | xyz(40.8308, 43.1201, 11.3256) |
| Luminance | 0.4312 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.99
Desert
#CCAD60
ΔE00 4.48
Burnt Yellow
#D5AB09
ΔE00 4.59
Brownish Yellow
#C9B003
ΔE00 4.97
Mustard (survey)
#CEB301
ΔE00 5.18
Gold (survey)
#DBB40C
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CCAD42 #4261CC
analogous
#CC6842 #CCAD42 #A6CC42
triadic
#CCAD42 #42CCAD #AD42CC
tetradic
#CCAD42 #42CC68 #4261CC #CC42A6
square
#CCAD42 #42CC68 #4261CC #CC42A6
split-complementary
#CCAD42 #42A6CC #6842CC
monochromatic
#74611F #A4892C #CCAD42 #D9C272 #E6D7A2
Accessibility & contrast
On white
2.18
#CCAD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.62
#CCAD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CCAD42
9.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CCAD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CCAD42 | 1.00 | 2.18 | 9.62 | 9.62 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C7B347
Tritanopia (blue-blind)
#DCA097
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #ccad42; /* rgb */ color: rgb(204, 173, 66); /* oklch */ color: oklch(75.5% 0.129 92.7);
Tailwind
colors: {
custom: {
50: '#dfc57c',
500: '#ccad42',
950: '#000000',
},
}SCSS
$custom: #ccad42; $custom-light: #dfc57c; $custom-dark: #000000;
JSON
{
"hex": "#ccad42",
"rgb": {
"r": 204,
"g": 173,
"b": 66
},
"hsl": {
"h": 46.522,
"s": 57.5,
"l": 52.941
},
"oklch": {
"l": 0.75541,
"c": 0.12866,
"h": 92.7
},
"luminance": 0.43118
}Semantic roles & 50–950 ramp
primary
#CCAD42
secondary
#97A4D3
accent
#6AE147
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C