#CBB978#CBB978
#CBB978 is a light, moderate yellow. Relative luminance 0.487; OKLCH L 78.6% C 0.087 H 94.5°. Best body text is #000000 at 10.75:1 contrast (WCAG AA passes).
Color values
| HEX | #CBB978 |
|---|---|
| RGB | rgb(203, 185, 120) |
| HSL | hsl(47, 44%, 63%) |
| HSV | hsv(47, 41%, 80%) |
| CMYK | cmyk(0%, 8.9%, 40.9%, 20.4%) |
| CIE-LAB | lab(75.30, -2.76, 35.29) |
| CIE-LCH | lch(75.30, 35.40, 94.47°) |
| OKLab | oklab(78.61% -0.0067 0.0864) |
| OKLCH | oklch(78.61% 0.087 94.5) |
| XYZ | xyz(45.3688, 48.7521, 24.7859) |
| Luminance | 0.4875 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sand
#C2B280
ΔE00 3.68
Tan (survey)
#D1B26F
ΔE00 4.23
Sandstone
#C9AE74
ΔE00 4.28
Darkkhaki
#BDB76B
ΔE00 4.50
Desert
#CCAD60
ΔE00 5.08
Very Light Brown
#D3B683
ΔE00 5.32
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CBB978 #788ACB
analogous
#CB8F78 #CBB978 #B3CB78
triadic
#CBB978 #78CBB9 #B978CB
tetradic
#CBB978 #78CB8F #788ACB #CB78B3
square
#CBB978 #78CB8F #788ACB #CB78B3
split-complementary
#CBB978 #78B3CB #8F78CB
monochromatic
#917E38 #BAA24C #CBB978 #DCD0A4 #EDE7D0
Accessibility & contrast
On white
1.95
#CBB978 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.75
#CBB978 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CBB978
10.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CBB978 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CBB978 | 1.00 | 1.95 | 10.75 | 10.75 |
| #FFFFFF | 1.95 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.75 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.75 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6B673
Deuteranopia (green-blind)
#CBBC7A
Tritanopia (blue-blind)
#D7B0A9
Achromatopsia (no color)
#B9B9B9
Design tokens & code
CSS
--color: #cbb978; /* rgb */ color: rgb(203, 185, 120); /* oklch */ color: oklch(78.6% 0.087 94.5);
Tailwind
colors: {
custom: {
50: '#dccda0',
500: '#cbb978',
950: '#000000',
},
}SCSS
$custom: #cbb978; $custom-light: #dccda0; $custom-dark: #000000;
JSON
{
"hex": "#cbb978",
"rgb": {
"r": 203,
"g": 185,
"b": 120
},
"hsl": {
"h": 46.988,
"s": 44.385,
"l": 63.333
},
"oklch": {
"l": 0.78612,
"c": 0.08666,
"h": 94.5
},
"luminance": 0.4875
}Semantic roles & 50–950 ramp
primary
#CBB978
secondary
#C1C7DE
accent
#4CB82E
background
#FDFCF9
surface
#FBF9F2
border
#D4D2CC
text
#15130E
muted
#83827E