#A5A565#A5A565
#A5A565 is a light, moderate yellow. Relative luminance 0.358; OKLCH L 70.7% C 0.085 H 108.4°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A565 |
|---|---|
| RGB | rgb(165, 165, 101) |
| HSL | hsl(60, 26%, 52%) |
| HSV | hsv(60, 39%, 65%) |
| CMYK | cmyk(0%, 0%, 38.8%, 35.3%) |
| CIE-LAB | lab(66.41, -9.83, 33.17) |
| CIE-LCH | lch(66.41, 34.60, 106.51°) |
| OKLab | oklab(70.69% -0.0269 0.081) |
| OKLCH | oklch(70.69% 0.085 108.4) |
| XYZ | xyz(31.3216, 35.8498, 17.5791) |
| Luminance | 0.3585 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.59
Darkkhaki
#BDB76B
ΔE00 6.07
Moss Green
#8A9A5B
ΔE00 6.44
Dark Khaki
#9B8F55
ΔE00 7.41
Sand
#C2B280
ΔE00 7.91
Tan Green
#A9BE70
ΔE00 8.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A565 #6565A5
analogous
#A58565 #A5A565 #85A565
triadic
#A5A565 #65A5A5 #A565A5
tetradic
#A5A565 #65A585 #6565A5 #A56585
square
#A5A565 #65A585 #6565A5 #A56585
split-complementary
#A5A565 #6585A5 #8565A5
monochromatic
#5B5B35 #81814C #A5A565 #BCBC8C #D2D2B2
Accessibility & contrast
On white
2.57
#A5A565 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.17
#A5A565 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A565
8.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A565 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A565 | 1.00 | 2.57 | 8.17 | 8.17 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.17 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.17 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA060
Deuteranopia (green-blind)
#B0A368
Tritanopia (blue-blind)
#AD9E95
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a5a565; /* rgb */ color: rgb(165, 165, 101); /* oklch */ color: oklch(70.7% 0.085 108.4);
Tailwind
colors: {
custom: {
50: '#c1bf92',
500: '#a5a565',
950: '#000000',
},
}SCSS
$custom: #a5a565; $custom-light: #c1bf92; $custom-dark: #000000;
JSON
{
"hex": "#a5a565",
"rgb": {
"r": 165,
"g": 165,
"b": 101
},
"hsl": {
"h": 60,
"s": 26.23,
"l": 52.157
},
"oklch": {
"l": 0.70694,
"c": 0.08533,
"h": 108.4
},
"luminance": 0.35849
}Semantic roles & 50–950 ramp
primary
#A5A565
secondary
#A5A5C1
accent
#65C365
background
#FBFBF9
surface
#F7F7F1
border
#D0D0CB
text
#12120D
muted
#81817E