#CDB259#CDB259
#CDB259 is a light, moderate yellow. Relative luminance 0.455; OKLCH L 76.9% C 0.113 H 92.7°. Best body text is #000000 at 10.11:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB259 |
|---|---|
| RGB | rgb(205, 178, 89) |
| HSL | hsl(46, 54%, 58%) |
| HSV | hsv(46, 57%, 80%) |
| CMYK | cmyk(0%, 13.2%, 56.6%, 19.6%) |
| CIE-LAB | lab(73.25, -1.14, 48.38) |
| CIE-LCH | lch(73.25, 48.39, 91.36°) |
| OKLab | oklab(76.91% -0.0054 0.1132) |
| OKLCH | oklch(76.91% 0.113 92.7) |
| XYZ | xyz(42.9022, 45.5433, 15.9802) |
| Luminance | 0.4554 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.76
Tan (survey)
#D1B26F
ΔE00 4.38
Sandy Brown
#C4A661
ΔE00 4.82
Sandstone
#C9AE74
ΔE00 5.81
Mustard
#DBB42C
ΔE00 5.93
Sand Brown
#CBA560
ΔE00 6.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB259 #5974CD
analogous
#CD7859 #CDB259 #AECD59
triadic
#CDB259 #59CDB2 #B259CD
tetradic
#CDB259 #59CD78 #5974CD #CD59AE
square
#CDB259 #59CD78 #5974CD #CD59AE
split-complementary
#CDB259 #59AECD #7859CD
monochromatic
#846E28 #B39636 #CDB259 #DBC888 #E9DEB7
Accessibility & contrast
On white
2.08
#CDB259 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.11
#CDB259 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB259
10.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB259 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB259 | 1.00 | 2.08 | 10.11 | 10.11 |
| #FFFFFF | 2.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AF51
Deuteranopia (green-blind)
#C9B75D
Tritanopia (blue-blind)
#DCA69E
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cdb259; /* rgb */ color: rgb(205, 178, 89); /* oklch */ color: oklch(76.9% 0.113 92.7);
Tailwind
colors: {
custom: {
50: '#dfc88a',
500: '#cdb259',
950: '#000000',
},
}SCSS
$custom: #cdb259; $custom-light: #dfc88a; $custom-dark: #000000;
JSON
{
"hex": "#cdb259",
"rgb": {
"r": 205,
"g": 178,
"b": 89
},
"hsl": {
"h": 46.034,
"s": 53.704,
"l": 57.647
},
"oklch": {
"l": 0.76906,
"c": 0.11329,
"h": 92.7
},
"luminance": 0.45541
}Semantic roles & 50–950 ramp
primary
#CDB259
secondary
#AAB4D8
accent
#6DDD4B
background
#FEFCF8
surface
#FCF8F0
border
#D5D1CB
text
#16130C
muted
#84827D