#CAB367#CAB367
#CAB367 is a light, moderate yellow. Relative luminance 0.458; OKLCH L 77.0% C 0.100 H 93.0°. Best body text is #000000 at 10.16:1 contrast (WCAG AA passes).
Color values
| HEX | #CAB367 |
|---|---|
| RGB | rgb(202, 179, 103) |
| HSL | hsl(46, 48%, 60%) |
| HSV | hsv(46, 49%, 79%) |
| CMYK | cmyk(0%, 11.4%, 49%, 20.8%) |
| CIE-LAB | lab(73.40, -1.73, 41.59) |
| CIE-LCH | lch(73.40, 41.63, 92.38°) |
| OKLab | oklab(77.02% -0.0053 0.0996) |
| OKLCH | oklch(77.02% 0.1 93) |
| XYZ | xyz(42.9268, 45.7778, 19.4042) |
| Luminance | 0.4578 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Desert
#CCAD60
ΔE00 2.75
Tan (survey)
#D1B26F
ΔE00 3.34
Sandstone
#C9AE74
ΔE00 4.18
Sandy Brown
#C4A661
ΔE00 4.23
Darkkhaki
#BDB76B
ΔE00 5.19
Sand
#C2B280
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#CAB367 #677ECA
analogous
#CA8267 #CAB367 #AFCA67
triadic
#CAB367 #67CAB3 #B367CA
tetradic
#CAB367 #67CA82 #677ECA #CA67AF
square
#CAB367 #67CA82 #677ECA #CA67AF
split-complementary
#CAB367 #67AFCA #8267CA
monochromatic
#87732F #B5993F #CAB367 #DACA94 #EAE0C2
Accessibility & contrast
On white
2.07
#CAB367 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.16
#CAB367 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #CAB367
10.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##CAB367 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##CAB367 | 1.00 | 2.07 | 10.16 | 10.16 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2B061
Deuteranopia (green-blind)
#C7B76A
Tritanopia (blue-blind)
#D7A8A1
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #cab367; /* rgb */ color: rgb(202, 179, 103); /* oklch */ color: oklch(77.0% 0.100 93.0);
Tailwind
colors: {
custom: {
50: '#dcc994',
500: '#cab367',
950: '#000000',
},
}SCSS
$custom: #cab367; $custom-light: #dcc994; $custom-dark: #000000;
JSON
{
"hex": "#cab367",
"rgb": {
"r": 202,
"g": 179,
"b": 103
},
"hsl": {
"h": 46.061,
"s": 48.293,
"l": 59.804
},
"oklch": {
"l": 0.77016,
"c": 0.09975,
"h": 93
},
"luminance": 0.45776
}Semantic roles & 50–950 ramp
primary
#CAB367
secondary
#B3BCDA
accent
#70D850
background
#FDFCF9
surface
#FBF8F1
border
#D4D1CB
text
#15130D
muted
#83827E