#A6AA2E#A6AA2E
#A6AA2E is a light, vivid yellow. Relative luminance 0.371; OKLCH L 71.3% C 0.141 H 111.4°. Best body text is #000000 at 8.41:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AA2E |
|---|---|
| RGB | rgb(166, 170, 46) |
| HSL | hsl(62, 57%, 42%) |
| HSV | hsv(62, 73%, 67%) |
| CMYK | cmyk(2.4%, 0%, 72.9%, 33.3%) |
| CIE-LAB | lab(67.32, -16.46, 59.45) |
| CIE-LCH | lch(67.32, 61.69, 105.48°) |
| OKLab | oklab(71.26% -0.0514 0.1314) |
| OKLCH | oklch(71.26% 0.141 111.4) |
| XYZ | xyz(30.5948, 37.0545, 8.1248) |
| Luminance | 0.3705 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.34
Puke
#A5A502
ΔE00 2.94
Pea Soup Green
#94A617
ΔE00 3.85
Puke Green
#9AAE07
ΔE00 3.92
Mustard Green
#A8B504
ΔE00 4.21
Barf Green
#94AC02
ΔE00 4.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AA2E #322EAA
analogous
#AA702E #A6AA2E #68AA2E
triadic
#A6AA2E #2EA6AA #AA2EA6
tetradic
#A6AA2E #2EAA70 #322EAA #AA2E68
square
#A6AA2E #2EAA70 #322EAA #AA2E68
split-complementary
#A6AA2E #2E68AA #702EAA
monochromatic
#484A14 #777A21 #A6AA2E #C9CD48 #D7DA78
Accessibility & contrast
On white
2.50
#A6AA2E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.41
#A6AA2E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AA2E
8.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AA2E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AA2E | 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)
#B7A216
Deuteranopia (green-blind)
#B8A538
Tritanopia (blue-blind)
#B29F92
Achromatopsia (no color)
#A4A4A4
Design tokens & code
CSS
--color: #a6aa2e; /* rgb */ color: rgb(166, 170, 46); /* oklch */ color: oklch(71.3% 0.141 111.4);
Tailwind
colors: {
custom: {
50: '#c4c370',
500: '#a6aa2e',
950: '#000000',
},
}SCSS
$custom: #a6aa2e; $custom-light: #c4c370; $custom-dark: #000000;
JSON
{
"hex": "#a6aa2e",
"rgb": {
"r": 166,
"g": 170,
"b": 46
},
"hsl": {
"h": 61.935,
"s": 57.407,
"l": 42.353
},
"oklch": {
"l": 0.71261,
"c": 0.14107,
"h": 111.4
},
"luminance": 0.37054
}Semantic roles & 50–950 ramp
primary
#A6AA2E
secondary
#7471C3
accent
#47E14C
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B