#A5A86A#A5A86A
#A5A86A is a light, moderate yellow. Relative luminance 0.370; OKLCH L 71.4% C 0.083 H 110.7°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A86A |
|---|---|
| RGB | rgb(165, 168, 106) |
| HSL | hsl(63, 26%, 54%) |
| HSV | hsv(63, 37%, 66%) |
| CMYK | cmyk(1.8%, 0%, 36.9%, 34.1%) |
| CIE-LAB | lab(67.31, -10.83, 31.70) |
| CIE-LCH | lch(67.31, 33.50, 108.86°) |
| OKLab | oklab(71.44% -0.0294 0.0778) |
| OKLCH | oklch(71.44% 0.083 110.7) |
| XYZ | xyz(32.1215, 37.0457, 19.0913) |
| Luminance | 0.3705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.59
Darkkhaki
#BDB76B
ΔE00 6.01
Moss Green
#8A9A5B
ΔE00 6.37
Tan Green
#A9BE70
ΔE00 7.13
Light Olive
#ACBF69
ΔE00 7.54
Sand
#C2B280
ΔE00 8.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A86A #6D6AA8
analogous
#A88C6A #A5A86A #86A86A
triadic
#A5A86A #6AA5A8 #A86AA5
tetradic
#A5A86A #6AA88C #6D6AA8 #A86A86
square
#A5A86A #6AA88C #6D6AA8 #A86A86
split-complementary
#A5A86A #6A86A8 #8C6AA8
monochromatic
#5E6038 #84864E #A5A86A #BCBF91 #D4D5B7
Accessibility & contrast
On white
2.50
#A5A86A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A5A86A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A86A
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A86A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A86A | 1.00 | 2.50 | 8.41 | 8.41 |
| #FFFFFF | 2.50 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.41 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.41 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B1A365
Deuteranopia (green-blind)
#B1A56D
Tritanopia (blue-blind)
#ADA199
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a5a86a; /* rgb */ color: rgb(165, 168, 106); /* oklch */ color: oklch(71.4% 0.083 110.7);
Tailwind
colors: {
custom: {
50: '#c0c195',
500: '#a5a86a',
950: '#000000',
},
}SCSS
$custom: #a5a86a; $custom-light: #c0c195; $custom-dark: #000000;
JSON
{
"hex": "#a5a86a",
"rgb": {
"r": 165,
"g": 168,
"b": 106
},
"hsl": {
"h": 62.903,
"s": 26.271,
"l": 53.725
},
"oklch": {
"l": 0.7144,
"c": 0.08319,
"h": 110.7
},
"luminance": 0.37045
}Semantic roles & 50–950 ramp
primary
#A5A86A
secondary
#ABAAC4
accent
#65C36A
background
#FBFBF9
surface
#F7F7F2
border
#D0D0CC
text
#12120D
muted
#81817E