#CDB97D#CDB97D
#CDB97D is a light, moderate yellow. Relative luminance 0.492; OKLCH L 78.9% C 0.081 H 91.8°. Best body text is #000000 at 10.83:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB97D |
|---|---|
| RGB | rgb(205, 185, 125) |
| HSL | hsl(45, 44%, 65%) |
| HSV | hsv(45, 39%, 80%) |
| CMYK | cmyk(0%, 9.8%, 39%, 19.6%) |
| CIE-LAB | lab(75.55, -1.40, 33.05) |
| CIE-LCH | lch(75.55, 33.08, 92.43°) |
| OKLab | oklab(78.88% -0.0025 0.0815) |
| OKLCH | oklch(78.88% 0.081 91.8) |
| XYZ | xyz(46.2285, 49.1593, 26.4516) |
| Luminance | 0.4916 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.07
Sandstone
#C9AE74
ΔE00 3.55
Tan (survey)
#D1B26F
ΔE00 3.74
Very Light Brown
#D3B683
ΔE00 4.07
Desert
#CCAD60
ΔE00 5.17
Fawn
#CFAF7B
ΔE00 5.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB97D #7D91CD
analogous
#CD917D #CDB97D #B9CD7D
triadic
#CDB97D #7DCDB9 #B97DCD
tetradic
#CDB97D #7DCD91 #7D91CD #CD7DB9
square
#CDB97D #7DCD91 #7D91CD #CD7DB9
split-complementary
#CDB97D #7DB9CD #917DCD
monochromatic
#967F3A #BCA151 #CDB97D #DED1A9 #EFE9D5
Accessibility & contrast
On white
1.94
#CDB97D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.83
#CDB97D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB97D
10.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB97D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB97D | 1.00 | 1.94 | 10.83 | 10.83 |
| #FFFFFF | 1.94 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.83 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.83 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B779
Deuteranopia (green-blind)
#CBBD7F
Tritanopia (blue-blind)
#D9B0AA
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #cdb97d; /* rgb */ color: rgb(205, 185, 125); /* oklch */ color: oklch(78.9% 0.081 91.8);
Tailwind
colors: {
custom: {
50: '#ddcda3',
500: '#cdb97d',
950: '#000000',
},
}SCSS
$custom: #cdb97d; $custom-light: #ddcda3; $custom-dark: #000000;
JSON
{
"hex": "#cdb97d",
"rgb": {
"r": 205,
"g": 185,
"b": 125
},
"hsl": {
"h": 45,
"s": 44.444,
"l": 64.706
},
"oklch": {
"l": 0.7888,
"c": 0.08149,
"h": 91.8
},
"luminance": 0.49158
}Semantic roles & 50–950 ramp
primary
#CDB97D
secondary
#C5CCE1
accent
#50B82E
background
#FDFCFA
surface
#FBF9F4
border
#D4D2CE
text
#15130F
muted
#83827F