#CDB562#CDB562
#CDB562 is a light, moderate yellow. Relative luminance 0.469; OKLCH L 77.6% C 0.107 H 93.6°. Best body text is #000000 at 10.38:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB562 |
|---|---|
| RGB | rgb(205, 181, 98) |
| HSL | hsl(47, 52%, 59%) |
| HSV | hsv(47, 52%, 80%) |
| CMYK | cmyk(0%, 11.7%, 52.2%, 19.6%) |
| CIE-LAB | lab(74.13, -1.99, 45.04) |
| CIE-LCH | lch(74.13, 45.08, 92.52°) |
| OKLab | oklab(77.64% -0.0067 0.1068) |
| OKLCH | oklch(77.64% 0.107 93.6) |
| XYZ | xyz(43.9069, 46.9107, 18.2948) |
| Luminance | 0.4691 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.11
Tan (survey)
#D1B26F
ΔE00 4.02
Sandy Brown
#C4A661
ΔE00 5.04
Sandstone
#C9AE74
ΔE00 5.29
Sand (survey)
#E2CA76
ΔE00 5.36
Darkkhaki
#BDB76B
ΔE00 5.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB562 #627ACD
analogous
#CD8062 #CDB562 #B0CD62
triadic
#CDB562 #62CDB5 #B562CD
tetradic
#CDB562 #62CD80 #627ACD #CD62B0
square
#CDB562 #62CD80 #627ACD #CD62B0
split-complementary
#CDB562 #62B0CD #8062CD
monochromatic
#89742C #B79B3A #CDB562 #DCCB90 #EBE1BF
Accessibility & contrast
On white
2.02
#CDB562 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.38
#CDB562 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB562
10.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB562 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB562 | 1.00 | 2.02 | 10.38 | 10.38 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.38 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.38 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B25B
Deuteranopia (green-blind)
#CBB965
Tritanopia (blue-blind)
#DBAAA2
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cdb562; /* rgb */ color: rgb(205, 181, 98); /* oklch */ color: oklch(77.6% 0.107 93.6);
Tailwind
colors: {
custom: {
50: '#deca90',
500: '#cdb562',
950: '#000000',
},
}SCSS
$custom: #cdb562; $custom-light: #deca90; $custom-dark: #000000;
JSON
{
"hex": "#cdb562",
"rgb": {
"r": 205,
"g": 181,
"b": 98
},
"hsl": {
"h": 46.542,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.77638,
"c": 0.10698,
"h": 93.6
},
"luminance": 0.46909
}Semantic roles & 50–950 ramp
primary
#CDB562
secondary
#B1BADA
accent
#6DDB4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E