#CAB05A#CAB05A
#CAB05A is a light, moderate yellow. Relative luminance 0.443; OKLCH L 76.2% C 0.110 H 92.8°. Best body text is #000000 at 9.87:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB05A |
|---|---|
| RGB | rgb(202, 176, 90) |
| HSL | hsl(46, 51%, 57%) |
| HSV | hsv(46, 55%, 79%) |
| CMYK | cmyk(0%, 12.9%, 55.4%, 20.8%) |
| CIE-LAB | lab(72.46, -1.27, 46.91) |
| CIE-LCH | lch(72.46, 46.92, 91.56°) |
| OKLab | oklab(76.22% -0.0054 0.1101) |
| OKLCH | oklch(76.22% 0.11 92.8) |
| XYZ | xyz(41.7296, 44.3474, 16.0327) |
| Luminance | 0.4435 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.42
Tan (survey)
#D1B26F
ΔE00 4.19
Sandy Brown
#C4A661
ΔE00 4.24
Sandstone
#C9AE74
ΔE00 5.38
Sand Brown
#CBA560
ΔE00 5.83
Darkkhaki
#BDB76B
ΔE00 6.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB05A #5A74CA
analogous
#CA785A #CAB05A #ACCA5A
triadic
#CAB05A #5ACAB0 #B05ACA
tetradic
#CAB05A #5ACA78 #5A74CA #CA5AAC
square
#CAB05A #5ACA78 #5A74CA #CA5AAC
split-complementary
#CAB05A #5AACCA #785ACA
monochromatic
#806C29 #AF9338 #CAB05A #D9C688 #E8DCB7
Accessibility & contrast
On white
2.13
#CAB05A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.87
#CAB05A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB05A
9.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB05A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB05A | 1.00 | 2.13 | 9.87 | 9.87 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AD52
Deuteranopia (green-blind)
#C6B55E
Tritanopia (blue-blind)
#D8A49C
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #cab05a; /* rgb */ color: rgb(202, 176, 90); /* oklch */ color: oklch(76.2% 0.110 92.8);
Tailwind
colors: {
custom: {
50: '#ddc78b',
500: '#cab05a',
950: '#000000',
},
}SCSS
$custom: #cab05a; $custom-light: #ddc78b; $custom-dark: #000000;
JSON
{
"hex": "#cab05a",
"rgb": {
"r": 202,
"g": 176,
"b": 90
},
"hsl": {
"h": 46.071,
"s": 51.376,
"l": 57.255
},
"oklch": {
"l": 0.76222,
"c": 0.11026,
"h": 92.8
},
"luminance": 0.44345
}Semantic roles & 50–950 ramp
primary
#CAB05A
secondary
#A9B4D7
accent
#6EDB4D
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D