#A5A56A#A5A56A
#A5A56A is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.8% C 0.079 H 108.3°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A56A |
|---|---|
| RGB | rgb(165, 165, 106) |
| HSL | hsl(60, 25%, 53%) |
| HSV | hsv(60, 36%, 65%) |
| CMYK | cmyk(0%, 0%, 35.8%, 35.3%) |
| CIE-LAB | lab(66.48, -9.24, 30.63) |
| CIE-LCH | lch(66.48, 31.99, 106.79°) |
| OKLab | oklab(70.78% -0.0249 0.0754) |
| OKLCH | oklch(70.78% 0.079 108.3) |
| XYZ | xyz(31.5740, 35.9508, 18.9088) |
| Luminance | 0.3595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.33
Moss Green
#8A9A5B
ΔE00 6.46
Darkkhaki
#BDB76B
ΔE00 6.47
Dark Khaki
#9B8F55
ΔE00 7.44
Sand
#C2B280
ΔE00 7.57
Stone (survey)
#ADA587
ΔE00 8.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A56A #6A6AA5
analogous
#A5876A #A5A56A #87A56A
triadic
#A5A56A #6AA5A5 #A56AA5
tetradic
#A5A56A #6AA587 #6A6AA5 #A56A87
square
#A5A56A #6AA587 #6A6AA5 #A56A87
split-complementary
#A5A56A #6A87A5 #876AA5
monochromatic
#5D5D38 #83834F #A5A56A #BCBC90 #D3D3B6
Accessibility & contrast
On white
2.56
#A5A56A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.19
#A5A56A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A56A
8.19:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A56A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A56A | 1.00 | 2.56 | 8.19 | 8.19 |
| #FFFFFF | 2.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.19 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.19 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AEA066
Deuteranopia (green-blind)
#AFA36C
Tritanopia (blue-blind)
#AD9E96
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a56a; /* rgb */ color: rgb(165, 165, 106); /* oklch */ color: oklch(70.8% 0.079 108.3);
Tailwind
colors: {
custom: {
50: '#c0bf95',
500: '#a5a56a',
950: '#000000',
},
}SCSS
$custom: #a5a56a; $custom-light: #c0bf95; $custom-dark: #000000;
JSON
{
"hex": "#a5a56a",
"rgb": {
"r": 165,
"g": 165,
"b": 106
},
"hsl": {
"h": 60,
"s": 24.686,
"l": 53.137
},
"oklch": {
"l": 0.70781,
"c": 0.07936,
"h": 108.3
},
"luminance": 0.3595
}Semantic roles & 50–950 ramp
primary
#A5A56A
secondary
#A9A9C2
accent
#67C167
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E