#CDB962#CDB962
#CDB962 is a light, moderate yellow. Relative luminance 0.486; OKLCH L 78.5% C 0.110 H 96.7°. Best body text is #000000 at 10.71:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB962 |
|---|---|
| RGB | rgb(205, 185, 98) |
| HSL | hsl(49, 52%, 59%) |
| HSV | hsv(49, 52%, 80%) |
| CMYK | cmyk(0%, 9.8%, 52.2%, 19.6%) |
| CIE-LAB | lab(75.18, -4.08, 46.29) |
| CIE-LCH | lch(75.18, 46.47, 95.04°) |
| OKLab | oklab(78.46% -0.0128 0.1095) |
| OKLCH | oklch(78.46% 0.11 96.7) |
| XYZ | xyz(44.7319, 48.5607, 18.5698) |
| Luminance | 0.4856 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.65
Sand (survey)
#E2CA76
ΔE00 4.72
Desert
#CCAD60
ΔE00 4.77
Tan (survey)
#D1B26F
ΔE00 5.48
Sandy Brown
#C4A661
ΔE00 6.59
Sandstone
#C9AE74
ΔE00 6.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB962 #6276CD
analogous
#CD8462 #CDB962 #ACCD62
triadic
#CDB962 #62CDB9 #B962CD
tetradic
#CDB962 #62CD84 #6276CD #CD62AC
square
#CDB962 #62CD84 #6276CD #CD62AC
split-complementary
#CDB962 #62ACCD #8462CD
monochromatic
#89782C #B7A03A #CDB962 #DCCE90 #EBE2BF
Accessibility & contrast
On white
1.96
#CDB962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.71
#CDB962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB962
10.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB962 | 1.00 | 1.96 | 10.71 | 10.71 |
| #FFFFFF | 1.96 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CEBC66
Tritanopia (blue-blind)
#DBAEA5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cdb962; /* rgb */ color: rgb(205, 185, 98); /* oklch */ color: oklch(78.5% 0.110 96.7);
Tailwind
colors: {
custom: {
50: '#decd91',
500: '#cdb962',
950: '#000000',
},
}SCSS
$custom: #cdb962; $custom-light: #decd91; $custom-dark: #000000;
JSON
{
"hex": "#cdb962",
"rgb": {
"r": 205,
"g": 185,
"b": 98
},
"hsl": {
"h": 48.785,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.78464,
"c": 0.11026,
"h": 96.7
},
"luminance": 0.48559
}Semantic roles & 50–950 ramp
primary
#CDB962
secondary
#B1B8DA
accent
#67DB4D
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E