#CDB558#CDB558
#CDB558 is a light, moderate yellow. Relative luminance 0.467; OKLCH L 77.5% C 0.116 H 95.1°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB558 |
|---|---|
| RGB | rgb(205, 181, 88) |
| HSL | hsl(48, 54%, 57%) |
| HSV | hsv(48, 57%, 80%) |
| CMYK | cmyk(0%, 11.7%, 57.1%, 19.6%) |
| CIE-LAB | lab(74.02, -2.80, 49.75) |
| CIE-LCH | lch(74.02, 49.83, 93.22°) |
| OKLab | oklab(77.51% -0.0103 0.116) |
| OKLCH | oklch(77.51% 0.116 95.1) |
| XYZ | xyz(43.4639, 46.7335, 15.9617) |
| Luminance | 0.4673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.02
Tan (survey)
#D1B26F
ΔE00 5.37
Sand (survey)
#E2CA76
ΔE00 5.66
Mustard
#DBB42C
ΔE00 5.92
Darkkhaki
#BDB76B
ΔE00 5.94
Sandy Brown
#C4A661
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB558 #5870CD
analogous
#CD7A58 #CDB558 #ABCD58
triadic
#CDB558 #58CDB5 #B558CD
tetradic
#CDB558 #58CD7A #5870CD #CD58AB
square
#CDB558 #58CD7A #5870CD #CD58AB
split-complementary
#CDB558 #58ABCD #7A58CD
monochromatic
#837027 #B29935 #CDB558 #DBCA87 #E9DFB6
Accessibility & contrast
On white
2.03
#CDB558 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#CDB558 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB558
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB558 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB558 | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B24F
Deuteranopia (green-blind)
#CBB95C
Tritanopia (blue-blind)
#DCA9A0
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cdb558; /* rgb */ color: rgb(205, 181, 88); /* oklch */ color: oklch(77.5% 0.116 95.1);
Tailwind
colors: {
custom: {
50: '#dfca8a',
500: '#cdb558',
950: '#000000',
},
}SCSS
$custom: #cdb558; $custom-light: #dfca8a; $custom-dark: #000000;
JSON
{
"hex": "#cdb558",
"rgb": {
"r": 205,
"g": 181,
"b": 88
},
"hsl": {
"h": 47.692,
"s": 53.917,
"l": 57.451
},
"oklch": {
"l": 0.77511,
"c": 0.11646,
"h": 95.1
},
"luminance": 0.46731
}Semantic roles & 50–950 ramp
primary
#CDB558
secondary
#A9B2D8
accent
#69DD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D