#A6A82E#A6A82E
#A6A82E is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.139 H 110.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A82E |
|---|---|
| RGB | rgb(166, 168, 46) |
| HSL | hsl(61, 57%, 42%) |
| HSV | hsv(61, 73%, 66%) |
| CMYK | cmyk(1.2%, 0%, 72.6%, 34.1%) |
| CIE-LAB | lab(66.76, -15.44, 58.91) |
| CIE-LCH | lch(66.76, 60.90, 104.68°) |
| OKLab | oklab(70.81% -0.0485 0.1303) |
| OKLCH | oklch(70.81% 0.139 110.4) |
| XYZ | xyz(30.2227, 36.3104, 8.0008) |
| Luminance | 0.3631 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.99
Puke
#A5A502
ΔE00 2.67
Pea Soup Green
#94A617
ΔE00 4.10
Puke Green
#9AAE07
ΔE00 4.46
Mustard Green
#A8B504
ΔE00 4.79
Barf Green
#94AC02
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A82E #302EA8
analogous
#A86D2E #A6A82E #69A82E
triadic
#A6A82E #2EA6A8 #A82EA6
tetradic
#A6A82E #2EA86D #302EA8 #A82E69
square
#A6A82E #2EA86D #302EA8 #A82E69
split-complementary
#A6A82E #2E69A8 #6D2EA8
monochromatic
#474814 #777821 #A6A82E #CACD47 #D8DA77
Accessibility & contrast
On white
2.54
#A6A82E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#A6A82E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A82E
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A82E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A82E | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A117
Deuteranopia (green-blind)
#B7A437
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a82e; /* rgb */ color: rgb(166, 168, 46); /* oklch */ color: oklch(70.8% 0.139 110.4);
Tailwind
colors: {
custom: {
50: '#c4c170',
500: '#a6a82e',
950: '#000000',
},
}SCSS
$custom: #a6a82e; $custom-light: #c4c170; $custom-dark: #000000;
JSON
{
"hex": "#a6a82e",
"rgb": {
"r": 166,
"g": 168,
"b": 46
},
"hsl": {
"h": 60.984,
"s": 57.009,
"l": 41.961
},
"oklch": {
"l": 0.70812,
"c": 0.139,
"h": 110.4
},
"luminance": 0.3631
}Semantic roles & 50–950 ramp
primary
#A6A82E
secondary
#7170C2
accent
#48E04A
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B