#CAB156#CAB156
#CAB156 is a light, moderate yellow. Relative luminance 0.447; OKLCH L 76.4% C 0.115 H 94.2°. Best body text is #000000 at 9.93:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB156 |
|---|---|
| RGB | rgb(202, 177, 86) |
| HSL | hsl(47, 52%, 56%) |
| HSV | hsv(47, 57%, 79%) |
| CMYK | cmyk(0%, 12.4%, 57.4%, 20.8%) |
| CIE-LAB | lab(72.68, -2.12, 49.08) |
| CIE-LCH | lch(72.68, 49.13, 92.47°) |
| OKLab | oklab(76.38% -0.0083 0.1144) |
| OKLCH | oklch(76.38% 0.115 94.2) |
| XYZ | xyz(41.7607, 44.6747, 15.2257) |
| Luminance | 0.4467 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 3.27
Tan (survey)
#D1B26F
ΔE00 5.01
Sandy Brown
#C4A661
ΔE00 5.07
Mustard
#DBB42C
ΔE00 6.06
Darkkhaki
#BDB76B
ΔE00 6.17
Sandstone
#C9AE74
ΔE00 6.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB156 #566FCA
analogous
#CA7756 #CAB156 #A9CA56
triadic
#CAB156 #56CAB1 #B156CA
tetradic
#CAB156 #56CA77 #566FCA #CA56A9
square
#CAB156 #56CA77 #566FCA #CA56A9
split-complementary
#CAB156 #56A9CA #7756CA
monochromatic
#7E6B28 #AD9336 #CAB156 #D9C785 #E7DCB3
Accessibility & contrast
On white
2.11
#CAB156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.93
#CAB156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB156
9.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB156 | 1.00 | 2.11 | 9.93 | 9.93 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.93 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.93 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4D
Deuteranopia (green-blind)
#C7B65A
Tritanopia (blue-blind)
#D9A59D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cab156; /* rgb */ color: rgb(202, 177, 86); /* oklch */ color: oklch(76.4% 0.115 94.2);
Tailwind
colors: {
custom: {
50: '#ddc888',
500: '#cab156',
950: '#000000',
},
}SCSS
$custom: #cab156; $custom-light: #ddc888; $custom-dark: #000000;
JSON
{
"hex": "#cab156",
"rgb": {
"r": 202,
"g": 177,
"b": 86
},
"hsl": {
"h": 47.069,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.76379,
"c": 0.1147,
"h": 94.2
},
"luminance": 0.44673
}Semantic roles & 50–950 ramp
primary
#CAB156
secondary
#A6B0D6
accent
#6BDC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D