#CAB56F#CAB56F
#CAB56F is a light, moderate yellow. Relative luminance 0.468; OKLCH L 77.5% C 0.093 H 93.3°. Best body text is #000000 at 10.35:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB56F |
|---|---|
| RGB | rgb(202, 181, 111) |
| HSL | hsl(46, 46%, 61%) |
| HSV | hsv(46, 45%, 79%) |
| CMYK | cmyk(0%, 10.4%, 45%, 20.8%) |
| CIE-LAB | lab(74.03, -2.01, 38.30) |
| CIE-LCH | lch(74.03, 38.36, 93.00°) |
| OKLab | oklab(77.55% -0.0053 0.0928) |
| OKLCH | oklch(77.55% 0.093 93.3) |
| XYZ | xyz(43.7515, 46.7537, 21.7556) |
| Luminance | 0.4675 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 3.34
Desert
#CCAD60
ΔE00 3.59
Sandstone
#C9AE74
ΔE00 3.74
Sand
#C2B280
ΔE00 4.38
Sandy Brown
#C4A661
ΔE00 4.70
Darkkhaki
#BDB76B
ΔE00 4.79
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB56F #6F84CA
analogous
#CA886F #CAB56F #B2CA6F
triadic
#CAB56F #6FCAB5 #B56FCA
tetradic
#CAB56F #6FCA88 #6F84CA #CA6FB2
square
#CAB56F #6FCA88 #6F84CA #CA6FB2
split-complementary
#CAB56F #6FB2CA #886FCA
monochromatic
#8B7733 #B89D44 #CAB56F #DACC9C #EBE3C8
Accessibility & contrast
On white
2.03
#CAB56F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.35
#CAB56F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB56F
10.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB56F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB56F | 1.00 | 2.03 | 10.35 | 10.35 |
| #FFFFFF | 2.03 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B26A
Deuteranopia (green-blind)
#C8B972
Tritanopia (blue-blind)
#D7ABA4
Achromatopsia (no color)
#B6B6B6
Design tokens & code
CSS
--color: #cab56f; /* rgb */ color: rgb(202, 181, 111); /* oklch */ color: oklch(77.5% 0.093 93.3);
Tailwind
colors: {
custom: {
50: '#dccb99',
500: '#cab56f',
950: '#000000',
},
}SCSS
$custom: #cab56f; $custom-light: #dccb99; $custom-dark: #000000;
JSON
{
"hex": "#cab56f",
"rgb": {
"r": 202,
"g": 181,
"b": 111
},
"hsl": {
"h": 46.154,
"s": 46.193,
"l": 61.373
},
"oklch": {
"l": 0.77549,
"c": 0.09294,
"h": 93.3
},
"luminance": 0.46752
}Semantic roles & 50–950 ramp
primary
#CAB56F
secondary
#B9C1DB
accent
#4DB92C
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E