#CDB456#CDB456
#CDB456 is a light, moderate yellow. Relative luminance 0.463; OKLCH L 77.3% C 0.117 H 94.6°. Best body text is #000000 at 10.26:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB456 |
|---|---|
| RGB | rgb(205, 180, 86) |
| HSL | hsl(47, 54%, 57%) |
| HSV | hsv(47, 58%, 80%) |
| CMYK | cmyk(0%, 12.2%, 58%, 19.6%) |
| CIE-LAB | lab(73.74, -2.43, 50.37) |
| CIE-LCH | lch(73.74, 50.43, 92.76°) |
| OKLab | oklab(77.28% -0.0094 0.1171) |
| OKLCH | oklch(77.28% 0.118 94.6) |
| XYZ | xyz(43.1796, 46.2956, 15.4638) |
| Luminance | 0.4629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.85
Tan (survey)
#D1B26F
ΔE00 5.35
Mustard
#DBB42C
ΔE00 5.64
Sandy Brown
#C4A661
ΔE00 5.84
Sand (survey)
#E2CA76
ΔE00 5.91
Darkkhaki
#BDB76B
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB456 #566FCD
analogous
#CD7956 #CDB456 #ABCD56
triadic
#CDB456 #56CDB4 #B456CD
tetradic
#CDB456 #56CD79 #566FCD #CD56AB
square
#CDB456 #56CD79 #566FCD #CD56AB
split-complementary
#CDB456 #56ABCD #7956CD
monochromatic
#826F26 #B19734 #CDB456 #DBC985 #E9DEB4
Accessibility & contrast
On white
2.05
#CDB456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.26
#CDB456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB456
10.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB456 | 1.00 | 2.05 | 10.26 | 10.26 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B14D
Deuteranopia (green-blind)
#CBB95A
Tritanopia (blue-blind)
#DCA89F
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #cdb456; /* rgb */ color: rgb(205, 180, 86); /* oklch */ color: oklch(77.3% 0.117 94.6);
Tailwind
colors: {
custom: {
50: '#dfca89',
500: '#cdb456',
950: '#000000',
},
}SCSS
$custom: #cdb456; $custom-light: #dfca89; $custom-dark: #000000;
JSON
{
"hex": "#cdb456",
"rgb": {
"r": 205,
"g": 180,
"b": 86
},
"hsl": {
"h": 47.395,
"s": 54.338,
"l": 57.059
},
"oklch": {
"l": 0.77282,
"c": 0.1175,
"h": 94.6
},
"luminance": 0.46294
}Semantic roles & 50–950 ramp
primary
#CDB456
secondary
#A7B1D8
accent
#69DE4A
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D