#A6A561#A6A561
#A6A561 is a light, moderate yellow. Relative luminance 0.359; OKLCH L 70.7% C 0.090 H 107.8°. Best body text is #000000 at 8.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A561 |
|---|---|
| RGB | rgb(166, 165, 97) |
| HSL | hsl(59, 28%, 52%) |
| HSV | hsv(59, 42%, 65%) |
| CMYK | cmyk(0%, 0.6%, 41.6%, 34.9%) |
| CIE-LAB | lab(66.43, -9.87, 35.31) |
| CIE-LCH | lch(66.43, 36.67, 105.62°) |
| OKLab | oklab(70.71% -0.0274 0.0856) |
| OKLCH | oklch(70.71% 0.09 107.8) |
| XYZ | xyz(31.3392, 35.8810, 16.5818) |
| Luminance | 0.3588 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 1.03
Darkkhaki
#BDB76B
ΔE00 5.72
Moss Green
#8A9A5B
ΔE00 6.81
Dark Khaki
#9B8F55
ΔE00 7.38
Sand
#C2B280
ΔE00 8.03
Tan Green
#A9BE70
ΔE00 8.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A561 #6162A6
analogous
#A68361 #A6A561 #85A661
triadic
#A6A561 #61A6A5 #A561A6
tetradic
#A6A561 #61A683 #6162A6 #A66185
square
#A6A561 #61A683 #6162A6 #A66185
split-complementary
#A6A561 #6185A6 #8361A6
monochromatic
#5A5933 #818049 #A6A561 #BCBB88 #D2D2AF
Accessibility & contrast
On white
2.57
#A6A561 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.18
#A6A561 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A561
8.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A561 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A561 | 1.00 | 2.57 | 8.18 | 8.18 |
| #FFFFFF | 2.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AFA05C
Deuteranopia (green-blind)
#B0A364
Tritanopia (blue-blind)
#AF9D94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a561; /* rgb */ color: rgb(166, 165, 97); /* oklch */ color: oklch(70.7% 0.090 107.8);
Tailwind
colors: {
custom: {
50: '#c2bf8f',
500: '#a6a561',
950: '#000000',
},
}SCSS
$custom: #a6a561; $custom-light: #c2bf8f; $custom-dark: #000000;
JSON
{
"hex": "#a6a561",
"rgb": {
"r": 166,
"g": 165,
"b": 97
},
"hsl": {
"h": 59.13,
"s": 27.935,
"l": 51.569
},
"oklch": {
"l": 0.70714,
"c": 0.08987,
"h": 107.8
},
"luminance": 0.3588
}Semantic roles & 50–950 ramp
primary
#A6A561
secondary
#A2A3C1
accent
#65C464
background
#FCFBF8
surface
#F8F7F0
border
#D1D0CB
text
#12120C
muted
#81817D