#A6AA2B#A6AA2B
#A6AA2B is a light, vivid yellow. Relative luminance 0.370; OKLCH L 71.2% C 0.143 H 111.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA2B |
|---|---|
| RGB | rgb(166, 170, 43) |
| HSL | hsl(62, 60%, 42%) |
| HSV | hsv(62, 75%, 67%) |
| CMYK | cmyk(2.4%, 0%, 74.7%, 33.3%) |
| CIE-LAB | lab(67.30, -16.60, 60.47) |
| CIE-LCH | lch(67.30, 62.71, 105.35°) |
| OKLab | oklab(71.24% -0.052 0.133) |
| OKLCH | oklch(71.24% 0.143 111.4) |
| XYZ | xyz(30.5377, 37.0317, 7.8242) |
| Luminance | 0.3703 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.16
Puke
#A5A502
ΔE00 2.72
Puke Green
#9AAE07
ΔE00 3.82
Pea Soup Green
#94A617
ΔE00 3.82
Mustard Green
#A8B504
ΔE00 4.04
Barf Green
#94AC02
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA2B #2F2BAA
analogous
#AA6F2B #A6AA2B #67AA2B
triadic
#A6AA2B #2BA6AA #AA2BA6
tetradic
#A6AA2B #2BAA6F #2F2BAA #AA2B67
square
#A6AA2B #2BAA6F #2F2BAA #AA2B67
split-complementary
#A6AA2B #2B67AA #6F2BAA
monochromatic
#474812 #76791F #A6AA2B #CBCF43 #D8DC74
Accessibility & contrast
On white
2.50
#A6AA2B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A6AA2B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA2B
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA2B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA2B | 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)
#B7A20F
Deuteranopia (green-blind)
#B8A535
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa2b; /* rgb */ color: rgb(166, 170, 43); /* oklch */ color: oklch(71.2% 0.143 111.4);
Tailwind
colors: {
custom: {
50: '#c4c36e',
500: '#a6aa2b',
950: '#000000',
},
}SCSS
$custom: #a6aa2b; $custom-light: #c4c36e; $custom-dark: #000000;
JSON
{
"hex": "#a6aa2b",
"rgb": {
"r": 166,
"g": 170,
"b": 43
},
"hsl": {
"h": 61.89,
"s": 59.624,
"l": 41.765
},
"oklch": {
"l": 0.71242,
"c": 0.14282,
"h": 111.4
},
"luminance": 0.37031
}Semantic roles & 50–950 ramp
primary
#A6AA2B
secondary
#706EC3
accent
#45E34A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B