#CDB95F#CDB95F
#CDB95F is a light, moderate yellow. Relative luminance 0.485; OKLCH L 78.4% C 0.113 H 97.0°. Best body text is #000000 at 10.70:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB95F |
|---|---|
| RGB | rgb(205, 185, 95) |
| HSL | hsl(49, 52%, 59%) |
| HSV | hsv(49, 54%, 80%) |
| CMYK | cmyk(0%, 9.8%, 53.7%, 19.6%) |
| CIE-LAB | lab(75.14, -4.34, 47.71) |
| CIE-LCH | lch(75.14, 47.90, 95.19°) |
| OKLab | oklab(78.43% -0.0139 0.1123) |
| OKLCH | oklch(78.43% 0.113 97) |
| XYZ | xyz(44.5929, 48.5051, 17.8378) |
| Luminance | 0.4850 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.83
Sand (survey)
#E2CA76
ΔE00 4.84
Desert
#CCAD60
ΔE00 4.98
Tan (survey)
#D1B26F
ΔE00 5.82
Sandy Brown
#C4A661
ΔE00 6.83
Sandstone
#C9AE74
ΔE00 7.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB95F #5F73CD
analogous
#CD825F #CDB95F #AACD5F
triadic
#CDB95F #5FCDB9 #B95FCD
tetradic
#CDB95F #5FCD82 #5F73CD #CD5FAA
square
#CDB95F #5FCD82 #5F73CD #CD5FAA
split-complementary
#CDB95F #5FAACD #825FCD
monochromatic
#87762A #B69F39 #CDB95F #DCCD8E #EAE2BC
Accessibility & contrast
On white
1.96
#CDB95F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.70
#CDB95F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB95F
10.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB95F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB95F | 1.00 | 1.96 | 10.70 | 10.70 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B557
Deuteranopia (green-blind)
#CEBC63
Tritanopia (blue-blind)
#DBAEA4
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cdb95f; /* rgb */ color: rgb(205, 185, 95); /* oklch */ color: oklch(78.4% 0.113 97.0);
Tailwind
colors: {
custom: {
50: '#dfcd8f',
500: '#cdb95f',
950: '#000000',
},
}SCSS
$custom: #cdb95f; $custom-light: #dfcd8f; $custom-dark: #000000;
JSON
{
"hex": "#cdb95f",
"rgb": {
"r": 205,
"g": 185,
"b": 95
},
"hsl": {
"h": 49.091,
"s": 52.381,
"l": 58.824
},
"oklch": {
"l": 0.78425,
"c": 0.11318,
"h": 97
},
"luminance": 0.48503
}Semantic roles & 50–950 ramp
primary
#CDB95F
secondary
#AEB6DA
accent
#66DC4C
background
#FDFCF8
surface
#FBF9F0
border
#D4D2CB
text
#15130C
muted
#83827D