#CAB166#CAB166
#CAB166 is a light, moderate yellow. Relative luminance 0.450; OKLCH L 76.6% C 0.099 H 91.5°. Best body text is #000000 at 9.99:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB166 |
|---|---|
| RGB | rgb(202, 177, 102) |
| HSL | hsl(45, 49%, 60%) |
| HSV | hsv(45, 50%, 79%) |
| CMYK | cmyk(0%, 12.4%, 49.5%, 20.8%) |
| CIE-LAB | lab(72.87, -0.77, 41.44) |
| CIE-LCH | lch(72.87, 41.45, 91.06°) |
| OKLab | oklab(76.59% -0.0026 0.0992) |
| OKLCH | oklch(76.59% 0.099 91.5) |
| XYZ | xyz(42.4790, 44.9620, 19.0088) |
| Luminance | 0.4496 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 1.99
Tan (survey)
#D1B26F
ΔE00 2.78
Sandy Brown
#C4A661
ΔE00 3.48
Sandstone
#C9AE74
ΔE00 3.67
Sand Brown
#CBA560
ΔE00 5.20
Sand
#C2B280
ΔE00 5.49
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB166 #667FCA
analogous
#CA7F66 #CAB166 #B1CA66
triadic
#CAB166 #66CAB1 #B166CA
tetradic
#CAB166 #66CA7F #667FCA #CA66B1
square
#CAB166 #66CA7F #667FCA #CA66B1
split-complementary
#CAB166 #66B1CA #7F66CA
monochromatic
#87712F #B4973E #CAB166 #DAC893 #E9DFC1
Accessibility & contrast
On white
2.10
#CAB166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.99
#CAB166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB166
9.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB166 | 1.00 | 2.10 | 9.99 | 9.99 |
| #FFFFFF | 2.10 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AF60
Deuteranopia (green-blind)
#C6B669
Tritanopia (blue-blind)
#D8A69F
Achromatopsia (no color)
#B3B3B3
Design tokens & code
CSS
--color: #cab166; /* rgb */ color: rgb(202, 177, 102); /* oklch */ color: oklch(76.6% 0.099 91.5);
Tailwind
colors: {
custom: {
50: '#dcc893',
500: '#cab166',
950: '#000000',
},
}SCSS
$custom: #cab166; $custom-light: #dcc893; $custom-dark: #000000;
JSON
{
"hex": "#cab166",
"rgb": {
"r": 202,
"g": 177,
"b": 102
},
"hsl": {
"h": 45,
"s": 48.544,
"l": 59.608
},
"oklch": {
"l": 0.7659,
"c": 0.09923,
"h": 91.5
},
"luminance": 0.4496
}Semantic roles & 50–950 ramp
primary
#CAB166
secondary
#B2BCD9
accent
#72D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E