#A6A82A#A6A82A
#A6A82A is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.141 H 110.5°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A82A |
|---|---|
| RGB | rgb(166, 168, 42) |
| HSL | hsl(61, 60%, 41%) |
| HSV | hsv(61, 75%, 66%) |
| CMYK | cmyk(1.2%, 0%, 75%, 34.1%) |
| CIE-LAB | lab(66.73, -15.62, 60.28) |
| CIE-LCH | lch(66.73, 62.27, 104.53°) |
| OKLab | oklab(70.79% -0.0494 0.1324) |
| OKLCH | oklch(70.79% 0.141 110.5) |
| XYZ | xyz(30.1475, 36.2803, 7.6048) |
| Luminance | 0.3628 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.71
Puke
#A5A502
ΔE00 2.32
Pea Soup Green
#94A617
ΔE00 4.06
Puke Green
#9AAE07
ΔE00 4.34
Mustard Green
#A8B504
ΔE00 4.60
Barf Green
#94AC02
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A82A #2C2AA8
analogous
#A86B2A #A6A82A #67A82A
triadic
#A6A82A #2AA6A8 #A82AA6
tetradic
#A6A82A #2AA86B #2C2AA8 #A82A67
square
#A6A82A #2AA86B #2C2AA8 #A82A67
split-complementary
#A6A82A #2A67A8 #6B2AA8
monochromatic
#454612 #76771E #A6A82A #CDCF40 #DADB71
Accessibility & contrast
On white
2.54
#A6A82A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#A6A82A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A82A
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A82A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A82A | 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)
#B6A00D
Deuteranopia (green-blind)
#B7A434
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a82a; /* rgb */ color: rgb(166, 168, 42); /* oklch */ color: oklch(70.8% 0.141 110.5);
Tailwind
colors: {
custom: {
50: '#c4c16e',
500: '#a6a82a',
950: '#000000',
},
}SCSS
$custom: #a6a82a; $custom-light: #c4c16e; $custom-dark: #000000;
JSON
{
"hex": "#a6a82a",
"rgb": {
"r": 166,
"g": 168,
"b": 42
},
"hsl": {
"h": 60.952,
"s": 60,
"l": 41.176
},
"oklch": {
"l": 0.70786,
"c": 0.14133,
"h": 110.5
},
"luminance": 0.36279
}Semantic roles & 50–950 ramp
primary
#A6A82A
secondary
#6D6BC3
accent
#45E347
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B