#CAB456#CAB456
#CAB456 is a light, moderate yellow. Relative luminance 0.459; OKLCH L 77.0% C 0.117 H 96.3°. Best body text is #000000 at 10.17:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB456 |
|---|---|
| RGB | rgb(202, 180, 86) |
| HSL | hsl(49, 52%, 56%) |
| HSV | hsv(49, 57%, 79%) |
| CMYK | cmyk(0%, 10.9%, 57.4%, 20.8%) |
| CIE-LAB | lab(73.46, -3.69, 49.99) |
| CIE-LCH | lch(73.46, 50.12, 94.23°) |
| OKLab | oklab(77% -0.0129 0.1164) |
| OKLCH | oklch(77% 0.117 96.3) |
| XYZ | xyz(42.3598, 45.8728, 15.4254) |
| Luminance | 0.4587 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 4.38
Darkkhaki
#BDB76B
ΔE00 5.53
Tan (survey)
#D1B26F
ΔE00 5.84
Sand (survey)
#E2CA76
ΔE00 6.10
Sandy Brown
#C4A661
ΔE00 6.16
Mustard
#DBB42C
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB456 #566CCA
analogous
#CA7A56 #CAB456 #A6CA56
triadic
#CAB456 #56CAB4 #B456CA
tetradic
#CAB456 #56CA7A #566CCA #CA56A6
square
#CAB456 #56CA7A #566CCA #CA56A6
split-complementary
#CAB456 #56A6CA #7A56CA
monochromatic
#7E6E28 #AD9636 #CAB456 #D9C985 #E7DDB3
Accessibility & contrast
On white
2.06
#CAB456 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.17
#CAB456 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB456
10.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB456 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB456 | 1.00 | 2.06 | 10.17 | 10.17 |
| #FFFFFF | 2.06 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B04D
Deuteranopia (green-blind)
#CAB85A
Tritanopia (blue-blind)
#D8A89F
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cab456; /* rgb */ color: rgb(202, 180, 86); /* oklch */ color: oklch(77.0% 0.117 96.3);
Tailwind
colors: {
custom: {
50: '#ddca89',
500: '#cab456',
950: '#000000',
},
}SCSS
$custom: #cab456; $custom-light: #ddca89; $custom-dark: #000000;
JSON
{
"hex": "#cab456",
"rgb": {
"r": 202,
"g": 180,
"b": 86
},
"hsl": {
"h": 48.621,
"s": 52.252,
"l": 56.471
},
"oklch": {
"l": 0.77,
"c": 0.11706,
"h": 96.3
},
"luminance": 0.45871
}Semantic roles & 50–950 ramp
primary
#CAB456
secondary
#A6AFD6
accent
#67DC4C
background
#FDFCF8
surface
#FBF8F0
border
#D4D1CB
text
#15130C
muted
#83827D