#A5A372#A5A372
#A5A372 is a light, moderate yellow. Relative luminance 0.354; OKLCH L 70.5% C 0.067 H 106.0°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A372 |
|---|---|
| RGB | rgb(165, 163, 114) |
| HSL | hsl(58, 22%, 55%) |
| HSV | hsv(58, 31%, 65%) |
| CMYK | cmyk(0%, 1.2%, 30.9%, 35.3%) |
| CIE-LAB | lab(66.07, -7.16, 25.79) |
| CIE-LCH | lch(66.07, 26.76, 105.53°) |
| OKLab | oklab(70.49% -0.0185 0.0643) |
| OKLCH | oklch(70.49% 0.067 106) |
| XYZ | xyz(31.6517, 35.4092, 21.0836) |
| Luminance | 0.3541 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 4.23
Stone (survey)
#ADA587
ΔE00 6.17
Bland
#AFA88B
ΔE00 6.52
Sand
#C2B280
ΔE00 7.10
Dark Khaki
#9B8F55
ΔE00 7.21
Moss Green
#8A9A5B
ΔE00 7.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A372 #7274A5
analogous
#A58A72 #A5A372 #8EA572
triadic
#A5A372 #72A5A3 #A372A5
tetradic
#A5A372 #72A58A #7274A5 #A5728E
square
#A5A372 #72A58A #7274A5 #A5728E
split-complementary
#A5A372 #728EA5 #8A72A5
monochromatic
#605E3D #858355 #A5A372 #BDBB97 #D5D4BD
Accessibility & contrast
On white
2.60
#A5A372 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.08
#A5A372 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A372
8.08:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A372 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A372 | 1.00 | 2.60 | 8.08 | 8.08 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.08 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.08 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9F6F
Deuteranopia (green-blind)
#ACA274
Tritanopia (blue-blind)
#AC9D96
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a372; /* rgb */ color: rgb(165, 163, 114); /* oklch */ color: oklch(70.5% 0.067 106.0);
Tailwind
colors: {
custom: {
50: '#c0be9b',
500: '#a5a372',
950: '#000000',
},
}SCSS
$custom: #a5a372; $custom-light: #c0be9b; $custom-dark: #000000;
JSON
{
"hex": "#a5a372",
"rgb": {
"r": 165,
"g": 163,
"b": 114
},
"hsl": {
"h": 57.647,
"s": 22.078,
"l": 54.706
},
"oklch": {
"l": 0.70494,
"c": 0.06693,
"h": 106
},
"luminance": 0.35409
}Semantic roles & 50–950 ramp
primary
#A5A372
secondary
#AFAFC4
accent
#6DBF69
background
#FBFBF9
surface
#F7F6F2
border
#D0D0CC
text
#12120E
muted
#81817E