#CBB162#CBB162
#CBB162 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.103 H 91.6°. Best body text is #000000 at 10.00:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB162 |
|---|---|
| RGB | rgb(203, 177, 98) |
| HSL | hsl(45, 50%, 59%) |
| HSV | hsv(45, 52%, 80%) |
| CMYK | cmyk(0%, 12.8%, 51.7%, 20.4%) |
| CIE-LAB | lab(72.91, -0.71, 43.52) |
| CIE-LCH | lch(72.91, 43.53, 90.94°) |
| OKLab | oklab(76.63% -0.0029 0.1035) |
| OKLCH | oklch(76.63% 0.104 91.6) |
| XYZ | xyz(42.5569, 45.0246, 18.0019) |
| Luminance | 0.4502 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 1.85
Tan (survey)
#D1B26F
ΔE00 3.11
Sandy Brown
#C4A661
ΔE00 3.69
Sandstone
#C9AE74
ΔE00 4.26
Sand Brown
#CBA560
ΔE00 5.29
Darkkhaki
#BDB76B
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB162 #627CCB
analogous
#CB7D62 #CBB162 #B1CB62
triadic
#CBB162 #62CBB1 #B162CB
tetradic
#CBB162 #62CB7D #627CCB #CB62B1
square
#CBB162 #62CB7D #627CCB #CB62B1
split-complementary
#CBB162 #62B1CB #7D62CB
monochromatic
#86702C #B4963C #CBB162 #DAC890 #E9DFBE
Accessibility & contrast
On white
2.10
#CBB162 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.00
#CBB162 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB162
10.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB162 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB162 | 1.00 | 2.10 | 10.00 | 10.00 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.00 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.00 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AF5B
Deuteranopia (green-blind)
#C7B665
Tritanopia (blue-blind)
#D9A69E
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cbb162; /* rgb */ color: rgb(203, 177, 98); /* oklch */ color: oklch(76.6% 0.103 91.6);
Tailwind
colors: {
custom: {
50: '#ddc890',
500: '#cbb162',
950: '#000000',
},
}SCSS
$custom: #cbb162; $custom-light: #ddc890; $custom-dark: #000000;
JSON
{
"hex": "#cbb162",
"rgb": {
"r": 203,
"g": 177,
"b": 98
},
"hsl": {
"h": 45.143,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.76628,
"c": 0.1035,
"h": 91.6
},
"luminance": 0.45023
}Semantic roles & 50–950 ramp
primary
#CBB162
secondary
#B0BAD9
accent
#71DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130D
muted
#83827D