#CDB462#CDB462
#CDB462 is a light, moderate yellow. Relative luminance 0.465; OKLCH L 77.4% C 0.106 H 92.8°. Best body text is #000000 at 10.30:1 contrast (WCAG AA passes).
Color values
| HEX | #CDB462 |
|---|---|
| RGB | rgb(205, 180, 98) |
| HSL | hsl(46, 52%, 59%) |
| HSV | hsv(46, 52%, 80%) |
| CMYK | cmyk(0%, 12.2%, 52.2%, 19.6%) |
| CIE-LAB | lab(73.87, -1.46, 44.73) |
| CIE-LCH | lch(73.87, 44.75, 91.87°) |
| OKLab | oklab(77.43% -0.0052 0.1061) |
| OKLCH | oklch(77.43% 0.106 92.8) |
| XYZ | xyz(43.7043, 46.5055, 18.2273) |
| Luminance | 0.4650 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.69
Tan (survey)
#D1B26F
ΔE00 3.67
Sandy Brown
#C4A661
ΔE00 4.66
Sandstone
#C9AE74
ΔE00 4.98
Sand (survey)
#E2CA76
ΔE00 5.58
Darkkhaki
#BDB76B
ΔE00 5.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CDB462 #627BCD
analogous
#CD7F62 #CDB462 #B1CD62
triadic
#CDB462 #62CDB4 #B462CD
tetradic
#CDB462 #62CD7F #627BCD #CD62B1
square
#CDB462 #62CD7F #627BCD #CD62B1
split-complementary
#CDB462 #62B1CD #7F62CD
monochromatic
#89732C #B79A3A #CDB462 #DCCA90 #EBE0BF
Accessibility & contrast
On white
2.04
#CDB462 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.30
#CDB462 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CDB462
10.30:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CDB462 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CDB462 | 1.00 | 2.04 | 10.30 | 10.30 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.30 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.30 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B15B
Deuteranopia (green-blind)
#CAB965
Tritanopia (blue-blind)
#DBA9A1
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cdb462; /* rgb */ color: rgb(205, 180, 98); /* oklch */ color: oklch(77.4% 0.106 92.8);
Tailwind
colors: {
custom: {
50: '#deca90',
500: '#cdb462',
950: '#000000',
},
}SCSS
$custom: #cdb462; $custom-light: #deca90; $custom-dark: #000000;
JSON
{
"hex": "#cdb462",
"rgb": {
"r": 205,
"g": 180,
"b": 98
},
"hsl": {
"h": 45.981,
"s": 51.691,
"l": 59.412
},
"oklch": {
"l": 0.77432,
"c": 0.10621,
"h": 92.8
},
"luminance": 0.46503
}Semantic roles & 50–950 ramp
primary
#CDB462
secondary
#B1BADA
accent
#6EDB4D
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E