#CDAD42#CDAD42
#CDAD42 is a light, vivid yellow. Relative luminance 0.433; OKLCH L 75.6% C 0.129 H 92.2°. Best body text is #000000 at 9.65:1 contrast (WCAG AA passes).
Color values
| HEX | #CDAD42 |
|---|---|
| RGB | rgb(205, 173, 66) |
| HSL | hsl(46, 58%, 53%) |
| HSV | hsv(46, 68%, 80%) |
| CMYK | cmyk(0%, 15.6%, 67.8%, 19.6%) |
| CIE-LAB | lab(71.73, -0.04, 57.17) |
| CIE-LCH | lch(71.73, 57.17, 90.04°) |
| OKLab | oklab(75.64% -0.005 0.1288) |
| OKLCH | oklch(75.64% 0.129 92.2) |
| XYZ | xyz(41.1059, 43.2619, 11.3385) |
| Luminance | 0.4326 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard
#DBB42C
ΔE00 3.85
Desert
#CCAD60
ΔE00 4.43
Burnt Yellow
#D5AB09
ΔE00 4.44
Brownish Yellow
#C9B003
ΔE00 5.10
Gold (survey)
#DBB40C
ΔE00 5.12
Mustard (survey)
#CEB301
ΔE00 5.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDAD42 #4262CD
analogous
#CD6742 #CDAD42 #A7CD42
triadic
#CDAD42 #42CDAD #AD42CD
tetradic
#CDAD42 #42CD67 #4262CD #CD42A7
square
#CDAD42 #42CD67 #4262CD #CD42A7
split-complementary
#CDAD42 #42A7CD #6742CD
monochromatic
#76621F #A68A2C #CDAD42 #DAC272 #E7D7A3
Accessibility & contrast
On white
2.18
#CDAD42 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.65
#CDAD42 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDAD42
9.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDAD42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDAD42 | 1.00 | 2.18 | 9.65 | 9.65 |
| #FFFFFF | 2.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAA34
Deuteranopia (green-blind)
#C7B447
Tritanopia (blue-blind)
#DDA097
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #cdad42; /* rgb */ color: rgb(205, 173, 66); /* oklch */ color: oklch(75.6% 0.129 92.2);
Tailwind
colors: {
custom: {
50: '#e0c57c',
500: '#cdad42',
950: '#000000',
},
}SCSS
$custom: #cdad42; $custom-light: #e0c57c; $custom-dark: #000000;
JSON
{
"hex": "#cdad42",
"rgb": {
"r": 205,
"g": 173,
"b": 66
},
"hsl": {
"h": 46.187,
"s": 58.159,
"l": 53.137
},
"oklch": {
"l": 0.75639,
"c": 0.12885,
"h": 92.2
},
"luminance": 0.4326
}Semantic roles & 50–950 ramp
primary
#CDAD42
secondary
#97A5D3
accent
#6AE146
background
#FEFCF7
surface
#FCF8EE
border
#D5D1C9
text
#16120A
muted
#84817C