#CDBA71#CDBA71
#CDBA71 is a light, moderate yellow. Relative luminance 0.493; OKLCH L 78.9% C 0.096 H 95.2°. Best body text is #000000 at 10.86:1 contrast (WCAG AA passes).
Color values
| HEX | #CDBA71 |
|---|---|
| RGB | rgb(205, 186, 113) |
| HSL | hsl(48, 48%, 62%) |
| HSV | hsv(48, 45%, 80%) |
| CMYK | cmyk(0%, 9.3%, 44.9%, 19.6%) |
| CIE-LAB | lab(75.63, -3.21, 39.35) |
| CIE-LCH | lch(75.63, 39.48, 94.66°) |
| OKLab | oklab(78.89% -0.0087 0.0952) |
| OKLCH | oklch(78.89% 0.096 95.2) |
| XYZ | xyz(45.7176, 49.2909, 22.7255) |
| Luminance | 0.4929 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.27
Tan (survey)
#D1B26F
ΔE00 4.40
Sand (survey)
#E2CA76
ΔE00 4.70
Desert
#CCAD60
ΔE00 4.71
Sandstone
#C9AE74
ΔE00 5.07
Sand
#C2B280
ΔE00 5.14
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDBA71 #7184CD
analogous
#CD8C71 #CDBA71 #B2CD71
triadic
#CDBA71 #71CDBA #BA71CD
tetradic
#CDBA71 #71CD8C #7184CD #CD71B2
square
#CDBA71 #71CD8C #7184CD #CD71B2
split-complementary
#CDBA71 #71B2CD #8C71CD
monochromatic
#917D33 #BDA444 #CDBA71 #DDD09E #EDE6CC
Accessibility & contrast
On white
1.93
#CDBA71 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.86
#CDBA71 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDBA71
10.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDBA71 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDBA71 | 1.00 | 1.93 | 10.86 | 10.86 |
| #FFFFFF | 1.93 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B76B
Deuteranopia (green-blind)
#CDBD74
Tritanopia (blue-blind)
#DAB0A8
Achromatopsia (no color)
#BABABA
Design tokens & code
CSS
--color: #cdba71; /* rgb */ color: rgb(205, 186, 113); /* oklch */ color: oklch(78.9% 0.096 95.2);
Tailwind
colors: {
custom: {
50: '#dece9b',
500: '#cdba71',
950: '#000000',
},
}SCSS
$custom: #cdba71; $custom-light: #dece9b; $custom-dark: #000000;
JSON
{
"hex": "#cdba71",
"rgb": {
"r": 205,
"g": 186,
"b": 113
},
"hsl": {
"h": 47.609,
"s": 47.917,
"l": 62.353
},
"oklch": {
"l": 0.78886,
"c": 0.09564,
"h": 95.2
},
"luminance": 0.49289
}Semantic roles & 50–950 ramp
primary
#CDBA71
secondary
#BCC3DE
accent
#48BB2A
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E