#CAB76C#CAB76C
#CAB76C is a light, moderate yellow. Relative luminance 0.475; OKLCH L 77.9% C 0.098 H 95.6°. Best body text is #000000 at 10.50:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB76C |
|---|---|
| RGB | rgb(202, 183, 108) |
| HSL | hsl(48, 47%, 61%) |
| HSV | hsv(48, 47%, 79%) |
| CMYK | cmyk(0%, 9.4%, 46.5%, 20.8%) |
| CIE-LAB | lab(74.51, -3.36, 40.44) |
| CIE-LCH | lch(74.51, 40.58, 94.75°) |
| OKLab | oklab(77.92% -0.0095 0.0974) |
| OKLCH | oklch(77.92% 0.098 95.6) |
| XYZ | xyz(43.9986, 47.5079, 21.0368) |
| Luminance | 0.4751 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 4.00
Desert
#CCAD60
ΔE00 4.25
Tan (survey)
#D1B26F
ΔE00 4.37
Sandstone
#C9AE74
ΔE00 4.97
Sand
#C2B280
ΔE00 5.24
Sand (survey)
#E2CA76
ΔE00 5.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB76C #6C7FCA
analogous
#CA886C #CAB76C #AECA6C
triadic
#CAB76C #6CCAB7 #B76CCA
tetradic
#CAB76C #6CCA88 #6C7FCA #CA6CAE
square
#CAB76C #6CCA88 #6C7FCA #CA6CAE
split-complementary
#CAB76C #6CAECA #886CCA
monochromatic
#8A7832 #B79F42 #CAB76C #DACD99 #EAE3C6
Accessibility & contrast
On white
2.00
#CAB76C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.50
#CAB76C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB76C
10.50:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB76C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB76C | 1.00 | 2.00 | 10.50 | 10.50 |
| #FFFFFF | 2.00 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.50 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.50 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C5B466
Deuteranopia (green-blind)
#CABA6F
Tritanopia (blue-blind)
#D7ADA5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cab76c; /* rgb */ color: rgb(202, 183, 108); /* oklch */ color: oklch(77.9% 0.098 95.6);
Tailwind
colors: {
custom: {
50: '#dccc97',
500: '#cab76c',
950: '#000000',
},
}SCSS
$custom: #cab76c; $custom-light: #dccc97; $custom-dark: #000000;
JSON
{
"hex": "#cab76c",
"rgb": {
"r": 202,
"g": 183,
"b": 108
},
"hsl": {
"h": 47.872,
"s": 47,
"l": 60.784
},
"oklch": {
"l": 0.77916,
"c": 0.09785,
"h": 95.6
},
"luminance": 0.47506
}Semantic roles & 50–950 ramp
primary
#CAB76C
secondary
#B7BEDB
accent
#48BA2B
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130D
muted
#83827E