#CDAC3C#CDAC3C
#CDAC3C is a light, vivid yellow. Relative luminance 0.428; OKLCH L 75.4% C 0.132 H 92.2°. Best body text is #000000 at 9.56:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAC3C |
|---|---|
| RGB | rgb(205, 172, 60) |
| HSL | hsl(46, 59%, 52%) |
| HSV | hsv(46, 71%, 80%) |
| CMYK | cmyk(0%, 16.1%, 70.7%, 19.6%) |
| CIE-LAB | lab(71.43, 0.17, 59.34) |
| CIE-LCH | lch(71.43, 59.34, 89.84°) |
| OKLab | oklab(75.38% -0.0051 0.1323) |
| OKLCH | oklch(75.38% 0.132 92.2) |
| XYZ | xyz(40.7471, 42.8128, 10.3916) |
| Luminance | 0.4281 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.53
Burnt Yellow
#D5AB09
ΔE00 3.85
Gold (survey)
#DBB40C
ΔE00 4.70
Brownish Yellow
#C9B003
ΔE00 4.74
Mustard (survey)
#CEB301
ΔE00 4.92
Desert
#CCAD60
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAC3C #3C5DCD
analogous
#CD643C #CDAC3C #A6CD3C
triadic
#CDAC3C #3CCDAC #AC3CCD
tetradic
#CDAC3C #3CCD64 #3C5DCD #CD3CA6
square
#CDAC3C #3CCD64 #3C5DCD #CD3CA6
split-complementary
#CDAC3C #3CA6CD #643CCD
monochromatic
#715E1D #A2872A #CDAC3C #D9C16D #E6D59D
Accessibility & contrast
On white
2.20
#CDAC3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.56
#CDAC3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAC3C
9.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAC3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAC3C | 1.00 | 2.20 | 9.56 | 9.56 |
| #FFFFFF | 2.20 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.56 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.56 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA92C
Deuteranopia (green-blind)
#C7B342
Tritanopia (blue-blind)
#DE9E95
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #cdac3c; /* rgb */ color: rgb(205, 172, 60); /* oklch */ color: oklch(75.4% 0.132 92.2);
Tailwind
colors: {
custom: {
50: '#e0c478',
500: '#cdac3c',
950: '#000000',
},
}SCSS
$custom: #cdac3c; $custom-light: #e0c478; $custom-dark: #000000;
JSON
{
"hex": "#cdac3c",
"rgb": {
"r": 205,
"g": 172,
"b": 60
},
"hsl": {
"h": 46.345,
"s": 59.184,
"l": 51.961
},
"oklch": {
"l": 0.75384,
"c": 0.1324,
"h": 92.2
},
"luminance": 0.4281
}Semantic roles & 50–950 ramp
primary
#CDAC3C
secondary
#93A1D2
accent
#69E245
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#161209
muted
#84817B