#CDB159#CDB159
#CDB159 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.113 H 91.9°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB159 |
|---|---|
| RGB | rgb(205, 177, 89) |
| HSL | hsl(46, 54%, 58%) |
| HSV | hsv(46, 57%, 80%) |
| CMYK | cmyk(0%, 13.7%, 56.6%, 19.6%) |
| CIE-LAB | lab(72.99, -0.62, 48.08) |
| CIE-LCH | lch(72.99, 48.08, 90.74°) |
| OKLab | oklab(76.7% -0.0038 0.1125) |
| OKLCH | oklch(76.7% 0.113 91.9) |
| XYZ | xyz(42.7039, 45.1468, 15.9141) |
| Luminance | 0.4515 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.38
Tan (survey)
#D1B26F
ΔE00 4.13
Sandy Brown
#C4A661
ΔE00 4.47
Sandstone
#C9AE74
ΔE00 5.58
Sand Brown
#CBA560
ΔE00 5.78
Mustard
#DBB42C
ΔE00 5.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB159 #5975CD
analogous
#CD7759 #CDB159 #AFCD59
triadic
#CDB159 #59CDB1 #B159CD
tetradic
#CDB159 #59CD77 #5975CD #CD59AF
square
#CDB159 #59CD77 #5975CD #CD59AF
split-complementary
#CDB159 #59AFCD #7759CD
monochromatic
#846E28 #B39536 #CDB159 #DBC788 #E9DDB7
Accessibility & contrast
On white
2.09
#CDB159 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#CDB159 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB159
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB159 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB159 | 1.00 | 2.09 | 10.03 | 10.03 |
| #FFFFFF | 2.09 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE51
Deuteranopia (green-blind)
#C8B75D
Tritanopia (blue-blind)
#DCA59D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb159; /* rgb */ color: rgb(205, 177, 89); /* oklch */ color: oklch(76.7% 0.113 91.9);
Tailwind
colors: {
custom: {
50: '#dfc88a',
500: '#cdb159',
950: '#000000',
},
}SCSS
$custom: #cdb159; $custom-light: #dfc88a; $custom-dark: #000000;
JSON
{
"hex": "#cdb159",
"rgb": {
"r": 205,
"g": 177,
"b": 89
},
"hsl": {
"h": 45.517,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.76701,
"c": 0.11257,
"h": 91.9
},
"luminance": 0.45145
}Semantic roles & 50–950 ramp
primary
#CDB159
secondary
#AAB5D8
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D