#CDB45B#CDB45B
#CDB45B is a light, moderate yellow. Relative luminance 0.464; OKLCH L 77.3% C 0.113 H 93.9°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB45B |
|---|---|
| RGB | rgb(205, 180, 91) |
| HSL | hsl(47, 53%, 58%) |
| HSV | hsv(47, 56%, 80%) |
| CMYK | cmyk(0%, 12.2%, 55.6%, 19.6%) |
| CIE-LAB | lab(73.79, -2.04, 48.05) |
| CIE-LCH | lch(73.79, 48.09, 92.43°) |
| OKLab | oklab(77.34% -0.0077 0.1127) |
| OKLCH | oklch(77.34% 0.113 93.9) |
| XYZ | xyz(43.3881, 46.3790, 16.5621) |
| Luminance | 0.4638 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.32
Tan (survey)
#D1B26F
ΔE00 4.66
Sandy Brown
#C4A661
ΔE00 5.32
Sand (survey)
#E2CA76
ΔE00 5.71
Darkkhaki
#BDB76B
ΔE00 5.99
Sandstone
#C9AE74
ΔE00 6.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB45B #5B74CD
analogous
#CD7B5B #CDB45B #ADCD5B
triadic
#CDB45B #5BCDB4 #B45BCD
tetradic
#CDB45B #5BCD7B #5B74CD #CD5BAD
square
#CDB45B #5BCD7B #5B74CD #CD5BAD
split-complementary
#CDB45B #5BADCD #7B5BCD
monochromatic
#857129 #B49937 #CDB45B #DBC98A #EADFB9
Accessibility & contrast
On white
2.04
#CDB45B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#CDB45B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB45B
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB45B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB45B | 1.00 | 2.04 | 10.28 | 10.28 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B153
Deuteranopia (green-blind)
#CAB95F
Tritanopia (blue-blind)
#DCA8A0
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cdb45b; /* rgb */ color: rgb(205, 180, 91); /* oklch */ color: oklch(77.3% 0.113 93.9);
Tailwind
colors: {
custom: {
50: '#dfca8c',
500: '#cdb45b',
950: '#000000',
},
}SCSS
$custom: #cdb45b; $custom-light: #dfca8c; $custom-dark: #000000;
JSON
{
"hex": "#cdb45b",
"rgb": {
"r": 205,
"g": 180,
"b": 91
},
"hsl": {
"h": 46.842,
"s": 53.271,
"l": 58.039
},
"oklch": {
"l": 0.77341,
"c": 0.11292,
"h": 93.9
},
"luminance": 0.46377
}Semantic roles & 50–950 ramp
primary
#CDB45B
secondary
#ABB5D9
accent
#6BDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#15130C
muted
#84827D