#A6A82B#A6A82B
#A6A82B is a light, vivid yellow. Relative luminance 0.363; OKLCH L 70.8% C 0.141 H 110.4°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A82B |
|---|---|
| RGB | rgb(166, 168, 43) |
| HSL | hsl(61, 59%, 41%) |
| HSV | hsv(61, 74%, 66%) |
| CMYK | cmyk(1.2%, 0%, 74.4%, 34.1%) |
| CIE-LAB | lab(66.74, -15.58, 59.95) |
| CIE-LCH | lch(66.74, 61.94, 104.57°) |
| OKLab | oklab(70.79% -0.0492 0.1319) |
| OKLCH | oklch(70.79% 0.141 110.4) |
| XYZ | xyz(30.1656, 36.2875, 7.7002) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.77
Puke
#A5A502
ΔE00 2.40
Pea Soup Green
#94A617
ΔE00 4.06
Puke Green
#9AAE07
ΔE00 4.36
Mustard Green
#A8B504
ΔE00 4.64
Barf Green
#94AC02
ΔE00 5.04
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A82B #2D2BA8
analogous
#A86C2B #A6A82B #68A82B
triadic
#A6A82B #2BA6A8 #A82BA6
tetradic
#A6A82B #2BA86C #2D2BA8 #A82B68
square
#A6A82B #2BA86C #2D2BA8 #A82B68
split-complementary
#A6A82B #2B68A8 #6C2BA8
monochromatic
#464712 #76771F #A6A82B #CCCF42 #D9DB72
Accessibility & contrast
On white
2.54
#A6A82B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#A6A82B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A82B
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A82B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A82B | 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)
#B6A010
Deuteranopia (green-blind)
#B7A435
Tritanopia (blue-blind)
#B29D90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a6a82b; /* rgb */ color: rgb(166, 168, 43); /* oklch */ color: oklch(70.8% 0.141 110.4);
Tailwind
colors: {
custom: {
50: '#c4c16e',
500: '#a6a82b',
950: '#000000',
},
}SCSS
$custom: #a6a82b; $custom-light: #c4c16e; $custom-dark: #000000;
JSON
{
"hex": "#a6a82b",
"rgb": {
"r": 166,
"g": 168,
"b": 43
},
"hsl": {
"h": 60.96,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.70792,
"c": 0.14077,
"h": 110.4
},
"luminance": 0.36287
}Semantic roles & 50–950 ramp
primary
#A6A82B
secondary
#6E6CC2
accent
#45E248
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131208
muted
#82817B