#A6A461#A6A461
#A6A461 is a light, moderate yellow. Relative luminance 0.355; OKLCH L 70.5% C 0.089 H 107.0°. Best body text is #000000 at 8.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A461 |
|---|---|
| RGB | rgb(166, 164, 97) |
| HSL | hsl(58, 28%, 52%) |
| HSV | hsv(58, 42%, 65%) |
| CMYK | cmyk(0%, 1.2%, 41.6%, 34.9%) |
| CIE-LAB | lab(66.15, -9.34, 34.97) |
| CIE-LCH | lch(66.15, 36.19, 104.96°) |
| OKLab | oklab(70.49% -0.0259 0.0848) |
| OKLCH | oklch(70.49% 0.089 107) |
| XYZ | xyz(31.1595, 35.5217, 16.5219) |
| Luminance | 0.3552 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 0.96
Darkkhaki
#BDB76B
ΔE00 5.91
Moss Green
#8A9A5B
ΔE00 6.86
Dark Khaki
#9B8F55
ΔE00 7.01
Sand
#C2B280
ΔE00 7.91
Tan Green
#A9BE70
ΔE00 8.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A461 #6163A6
analogous
#A68261 #A6A461 #86A661
triadic
#A6A461 #61A6A4 #A461A6
tetradic
#A6A461 #61A682 #6163A6 #A66186
square
#A6A461 #61A682 #6163A6 #A66186
split-complementary
#A6A461 #6186A6 #8261A6
monochromatic
#5A5933 #817F49 #A6A461 #BCBB88 #D2D1AF
Accessibility & contrast
On white
2.59
#A6A461 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.10
#A6A461 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A461
8.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A461 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A461 | 1.00 | 2.59 | 8.10 | 8.10 |
| #FFFFFF | 2.59 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9F5C
Deuteranopia (green-blind)
#B0A264
Tritanopia (blue-blind)
#AF9C94
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a6a461; /* rgb */ color: rgb(166, 164, 97); /* oklch */ color: oklch(70.5% 0.089 107.0);
Tailwind
colors: {
custom: {
50: '#c2be8f',
500: '#a6a461',
950: '#000000',
},
}SCSS
$custom: #a6a461; $custom-light: #c2be8f; $custom-dark: #000000;
JSON
{
"hex": "#a6a461",
"rgb": {
"r": 166,
"g": 164,
"b": 97
},
"hsl": {
"h": 58.261,
"s": 27.935,
"l": 51.569
},
"oklch": {
"l": 0.70495,
"c": 0.08868,
"h": 107
},
"luminance": 0.35521
}Semantic roles & 50–950 ramp
primary
#A6A461
secondary
#A2A3C1
accent
#66C464
background
#FCFBF8
surface
#F8F6F0
border
#D1D0CB
text
#12120C
muted
#81817D