#CAB673#CAB673
#CAB673 is a light, moderate yellow. Relative luminance 0.472; OKLCH L 77.8% C 0.089 H 93.4°. Best body text is #000000 at 10.45:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB673 |
|---|---|
| RGB | rgb(202, 182, 115) |
| HSL | hsl(46, 45%, 62%) |
| HSV | hsv(46, 43%, 79%) |
| CMYK | cmyk(0%, 9.9%, 43.1%, 20.8%) |
| CIE-LAB | lab(74.35, -2.12, 36.65) |
| CIE-LCH | lch(74.35, 36.71, 93.32°) |
| OKLab | oklab(77.82% -0.0053 0.0893) |
| OKLCH | oklch(77.82% 0.089 93.4) |
| XYZ | xyz(44.1807, 47.2519, 23.0096) |
| Luminance | 0.4725 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Tan (survey)
#D1B26F
ΔE00 3.51
Sandstone
#C9AE74
ΔE00 3.66
Sand
#C2B280
ΔE00 3.84
Desert
#CCAD60
ΔE00 4.11
Darkkhaki
#BDB76B
ΔE00 4.74
Sandy Brown
#C4A661
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB673 #7387CA
analogous
#CA8B73 #CAB673 #B3CA73
triadic
#CAB673 #73CAB6 #B673CA
tetradic
#CAB673 #73CA8B #7387CA #CA73B3
square
#CAB673 #73CA8B #7387CA #CA73B3
split-complementary
#CAB673 #73B3CA #8B73CA
monochromatic
#8D7935 #B99F47 #CAB673 #DBCD9F #ECE4CC
Accessibility & contrast
On white
2.01
#CAB673 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.45
#CAB673 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB673
10.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB673 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB673 | 1.00 | 2.01 | 10.45 | 10.45 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B36E
Deuteranopia (green-blind)
#C8BA75
Tritanopia (blue-blind)
#D6ACA5
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #cab673; /* rgb */ color: rgb(202, 182, 115); /* oklch */ color: oklch(77.8% 0.089 93.4);
Tailwind
colors: {
custom: {
50: '#dbcb9c',
500: '#cab673',
950: '#000000',
},
}SCSS
$custom: #cab673; $custom-light: #dbcb9c; $custom-dark: #000000;
JSON
{
"hex": "#cab673",
"rgb": {
"r": 202,
"g": 182,
"b": 115
},
"hsl": {
"h": 46.207,
"s": 45.078,
"l": 62.157
},
"oklch": {
"l": 0.7782,
"c": 0.08942,
"h": 93.4
},
"luminance": 0.4725
}Semantic roles & 50–950 ramp
primary
#CAB673
secondary
#BCC4DC
accent
#4DB82D
background
#FDFCF9
surface
#FBF8F2
border
#D4D1CC
text
#15130E
muted
#83827E