#CBB962#CBB962
#CBB962 is a light, moderate yellow. Relative luminance 0.483; OKLCH L 78.3% C 0.110 H 97.9°. Best body text is #000000 at 10.66:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB962 |
|---|---|
| RGB | rgb(203, 185, 98) |
| HSL | hsl(50, 50%, 59%) |
| HSV | hsv(50, 52%, 80%) |
| CMYK | cmyk(0%, 8.9%, 51.7%, 20.4%) |
| CIE-LAB | lab(75.00, -4.91, 46.04) |
| CIE-LCH | lch(75.00, 46.30, 96.09°) |
| OKLab | oklab(78.28% -0.0151 0.109) |
| OKLCH | oklch(78.28% 0.11 97.9) |
| XYZ | xyz(44.1836, 48.2780, 18.5441) |
| Luminance | 0.4828 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.12
Sand (survey)
#E2CA76
ΔE00 4.99
Desert
#CCAD60
ΔE00 5.18
Tan (survey)
#D1B26F
ΔE00 5.90
Sandstone
#C9AE74
ΔE00 6.86
Sandy Brown
#C4A661
ΔE00 6.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB962 #6274CB
analogous
#CB8562 #CBB962 #A9CB62
triadic
#CBB962 #62CBB9 #B962CB
tetradic
#CBB962 #62CB85 #6274CB #CB62A9
square
#CBB962 #62CB85 #6274CB #CB62A9
split-complementary
#CBB962 #62A9CB #8562CB
monochromatic
#86772C #B49F3C #CBB962 #DACD90 #E9E2BE
Accessibility & contrast
On white
1.97
#CBB962 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.66
#CBB962 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB962
10.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB962 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB962 | 1.00 | 1.97 | 10.66 | 10.66 |
| #FFFFFF | 1.97 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B55A
Deuteranopia (green-blind)
#CDBB66
Tritanopia (blue-blind)
#D9AEA5
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cbb962; /* rgb */ color: rgb(203, 185, 98); /* oklch */ color: oklch(78.3% 0.110 97.9);
Tailwind
colors: {
custom: {
50: '#ddcd91',
500: '#cbb962',
950: '#000000',
},
}SCSS
$custom: #cbb962; $custom-light: #ddcd91; $custom-dark: #000000;
JSON
{
"hex": "#cbb962",
"rgb": {
"r": 203,
"g": 185,
"b": 98
},
"hsl": {
"h": 49.714,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.78281,
"c": 0.11003,
"h": 97.9
},
"luminance": 0.48276
}Semantic roles & 50–950 ramp
primary
#CBB962
secondary
#B0B7D9
accent
#66DA4E
background
#FDFCF9
surface
#FBF9F1
border
#D4D2CB
text
#15130D
muted
#83827E