#CBB862#CBB862
#CBB862 is a light, moderate yellow. Relative luminance 0.479; OKLCH L 78.1% C 0.109 H 97.2°. Best body text is #000000 at 10.57:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB862 |
|---|---|
| RGB | rgb(203, 184, 98) |
| HSL | hsl(49, 50%, 59%) |
| HSV | hsv(49, 52%, 80%) |
| CMYK | cmyk(0%, 9.4%, 51.7%, 20.4%) |
| CIE-LAB | lab(74.74, -4.39, 45.72) |
| CIE-LCH | lch(74.74, 45.93, 95.49°) |
| OKLab | oklab(78.07% -0.0136 0.1083) |
| OKLCH | oklch(78.07% 0.109 97.2) |
| XYZ | xyz(43.9752, 47.8611, 18.4746) |
| Luminance | 0.4786 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.27
Desert
#CCAD60
ΔE00 4.78
Sand (survey)
#E2CA76
ΔE00 5.07
Tan (survey)
#D1B26F
ΔE00 5.53
Sandy Brown
#C4A661
ΔE00 6.48
Sandstone
#C9AE74
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB862 #6275CB
analogous
#CB8462 #CBB862 #AACB62
triadic
#CBB862 #62CBB8 #B862CB
tetradic
#CBB862 #62CB84 #6275CB #CB62AA
square
#CBB862 #62CB84 #6275CB #CB62AA
split-complementary
#CBB862 #62AACB #8462CB
monochromatic
#86762C #B49E3C #CBB862 #DACD90 #E9E2BE
Accessibility & contrast
On white
1.99
#CBB862 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.57
#CBB862 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB862
10.57:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB862 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB862 | 1.00 | 1.99 | 10.57 | 10.57 |
| #FFFFFF | 1.99 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.57 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.57 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B45A
Deuteranopia (green-blind)
#CCBB66
Tritanopia (blue-blind)
#D9ADA4
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #cbb862; /* rgb */ color: rgb(203, 184, 98); /* oklch */ color: oklch(78.1% 0.109 97.2);
Tailwind
colors: {
custom: {
50: '#ddcd91',
500: '#cbb862',
950: '#000000',
},
}SCSS
$custom: #cbb862; $custom-light: #ddcd91; $custom-dark: #000000;
JSON
{
"hex": "#cbb862",
"rgb": {
"r": 203,
"g": 184,
"b": 98
},
"hsl": {
"h": 49.143,
"s": 50.239,
"l": 59.02
},
"oklch": {
"l": 0.78073,
"c": 0.10915,
"h": 97.2
},
"luminance": 0.47859
}Semantic roles & 50–950 ramp
primary
#CBB862
secondary
#B0B7D9
accent
#67DA4E
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E