#A6A166#A6A166
#A6A166 is a light, moderate yellow. Relative luminance 0.346; OKLCH L 69.9% C 0.079 H 104.1°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A166 |
|---|---|
| RGB | rgb(166, 161, 102) |
| HSL | hsl(55, 26%, 53%) |
| HSV | hsv(55, 39%, 65%) |
| CMYK | cmyk(0%, 3%, 38.6%, 34.9%) |
| CIE-LAB | lab(65.40, -7.18, 31.38) |
| CIE-LCH | lch(65.40, 32.19, 102.89°) |
| OKLab | oklab(69.92% -0.0193 0.0769) |
| OKLCH | oklch(69.92% 0.079 104.1) |
| XYZ | xyz(30.8695, 34.5568, 17.6118) |
| Luminance | 0.3456 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Khaki (survey)
#AAA662
ΔE00 2.24
Dark Khaki
#9B8F55
ΔE00 5.86
Darkkhaki
#BDB76B
ΔE00 6.94
Moss Green
#8A9A5B
ΔE00 7.19
Sand
#C2B280
ΔE00 7.23
Stone (survey)
#ADA587
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A166 #666BA6
analogous
#A68166 #A6A166 #8BA666
triadic
#A6A166 #66A6A1 #A166A6
tetradic
#A6A166 #66A681 #666BA6 #A6668B
square
#A6A166 #66A681 #666BA6 #A6668B
split-complementary
#A6A166 #668BA6 #8166A6
monochromatic
#5C5936 #837E4C #A6A166 #BDB98D #D3D1B3
Accessibility & contrast
On white
2.65
#A6A166 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#A6A166 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A166
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A166 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A166 | 1.00 | 2.65 | 7.91 | 7.91 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AB9D62
Deuteranopia (green-blind)
#ADA068
Tritanopia (blue-blind)
#AF9A92
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a166; /* rgb */ color: rgb(166, 161, 102); /* oklch */ color: oklch(69.9% 0.079 104.1);
Tailwind
colors: {
custom: {
50: '#c1bc92',
500: '#a6a166',
950: '#000000',
},
}SCSS
$custom: #a6a166; $custom-light: #c1bc92; $custom-dark: #000000;
JSON
{
"hex": "#a6a166",
"rgb": {
"r": 166,
"g": 161,
"b": 102
},
"hsl": {
"h": 55.312,
"s": 26.446,
"l": 52.549
},
"oklch": {
"l": 0.69923,
"c": 0.07928,
"h": 104.1
},
"luminance": 0.34556
}Semantic roles & 50–950 ramp
primary
#A6A166
secondary
#A6A8C2
accent
#6CC365
background
#FCFBF9
surface
#F8F6F1
border
#D1D0CB
text
#12120D
muted
#81817E