#CAB05F#CAB05F
#CAB05F is a light, moderate yellow. Relative luminance 0.444; OKLCH L 76.3% C 0.105 H 92.0°. Best body text is #000000 at 9.89:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB05F |
|---|---|
| RGB | rgb(202, 176, 95) |
| HSL | hsl(45, 50%, 58%) |
| HSV | hsv(45, 53%, 79%) |
| CMYK | cmyk(0%, 12.9%, 53%, 20.8%) |
| CIE-LAB | lab(72.52, -0.86, 44.52) |
| CIE-LCH | lch(72.52, 44.53, 91.11°) |
| OKLab | oklab(76.29% -0.0036 0.1054) |
| OKLCH | oklch(76.29% 0.105 92) |
| XYZ | xyz(41.9496, 44.4354, 17.1915) |
| Luminance | 0.4443 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 1.90
Tan (survey)
#D1B26F
ΔE00 3.47
Sandy Brown
#C4A661
ΔE00 3.69
Sandstone
#C9AE74
ΔE00 4.57
Sand Brown
#CBA560
ΔE00 5.34
Darkkhaki
#BDB76B
ΔE00 6.17
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB05F #5F79CA
analogous
#CA7A5F #CAB05F #AECA5F
triadic
#CAB05F #5FCAB0 #B05FCA
tetradic
#CAB05F #5FCA7A #5F79CA #CA5FAE
square
#CAB05F #5FCA7A #5F79CA #CA5FAE
split-complementary
#CAB05F #5FAECA #7A5FCA
monochromatic
#836E2B #B1943B #CAB05F #D9C78D #E8DDBB
Accessibility & contrast
On white
2.12
#CAB05F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.89
#CAB05F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB05F
9.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB05F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB05F | 1.00 | 2.12 | 9.89 | 9.89 |
| #FFFFFF | 2.12 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.89 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.89 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFAD58
Deuteranopia (green-blind)
#C6B562
Tritanopia (blue-blind)
#D8A59D
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cab05f; /* rgb */ color: rgb(202, 176, 95); /* oklch */ color: oklch(76.3% 0.105 92.0);
Tailwind
colors: {
custom: {
50: '#dcc78e',
500: '#cab05f',
950: '#000000',
},
}SCSS
$custom: #cab05f; $custom-light: #dcc78e; $custom-dark: #000000;
JSON
{
"hex": "#cab05f",
"rgb": {
"r": 202,
"g": 176,
"b": 95
},
"hsl": {
"h": 45.421,
"s": 50.235,
"l": 58.235
},
"oklch": {
"l": 0.76287,
"c": 0.10547,
"h": 92
},
"luminance": 0.44433
}Semantic roles & 50–950 ramp
primary
#CAB05F
secondary
#ADB7D8
accent
#70DA4E
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D