#CDB158#CDB158
#CDB158 is a light, moderate yellow. Relative luminance 0.451; OKLCH L 76.7% C 0.113 H 92.1°. Best body text is #000000 at 10.03:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB158 |
|---|---|
| RGB | rgb(205, 177, 88) |
| HSL | hsl(46, 54%, 57%) |
| HSV | hsv(46, 57%, 80%) |
| CMYK | cmyk(0%, 13.7%, 57.1%, 19.6%) |
| CIE-LAB | lab(72.98, -0.69, 48.55) |
| CIE-LCH | lch(72.98, 48.55, 90.82°) |
| OKLab | oklab(76.69% -0.0042 0.1134) |
| OKLCH | oklch(76.69% 0.113 92.1) |
| XYZ | xyz(42.6622, 45.1301, 15.6945) |
| Luminance | 0.4513 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.51
Tan (survey)
#D1B26F
ΔE00 4.28
Sandy Brown
#C4A661
ΔE00 4.59
Sandstone
#C9AE74
ΔE00 5.73
Mustard
#DBB42C
ΔE00 5.84
Sand Brown
#CBA560
ΔE00 5.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB158 #5874CD
analogous
#CD7758 #CDB158 #AFCD58
triadic
#CDB158 #58CDB1 #B158CD
tetradic
#CDB158 #58CD77 #5874CD #CD58AF
square
#CDB158 #58CD77 #5874CD #CD58AF
split-complementary
#CDB158 #58AFCD #7758CD
monochromatic
#836D27 #B29435 #CDB158 #DBC787 #E9DDB6
Accessibility & contrast
On white
2.09
#CDB158 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.03
#CDB158 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB158
10.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB158 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB158 | 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)
#C1AE4F
Deuteranopia (green-blind)
#C8B75C
Tritanopia (blue-blind)
#DCA59D
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cdb158; /* rgb */ color: rgb(205, 177, 88); /* oklch */ color: oklch(76.7% 0.113 92.1);
Tailwind
colors: {
custom: {
50: '#dfc88a',
500: '#cdb158',
950: '#000000',
},
}SCSS
$custom: #cdb158; $custom-light: #dfc88a; $custom-dark: #000000;
JSON
{
"hex": "#cdb158",
"rgb": {
"r": 205,
"g": 177,
"b": 88
},
"hsl": {
"h": 45.641,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.76688,
"c": 0.11349,
"h": 92.1
},
"luminance": 0.45128
}Semantic roles & 50–950 ramp
primary
#CDB158
secondary
#A9B4D8
accent
#6EDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D