#A6B22A#A6B22A
#A6B22A is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.152 H 114.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B22A |
|---|---|
| RGB | rgb(166, 178, 42) |
| HSL | hsl(65, 62%, 43%) |
| HSV | hsv(65, 76%, 70%) |
| CMYK | cmyk(6.7%, 0%, 76.4%, 30.2%) |
| CIE-LAB | lab(69.55, -20.69, 62.89) |
| CIE-LCH | lch(69.55, 66.21, 108.21°) |
| OKLab | oklab(73.04% -0.0635 0.138) |
| OKLCH | oklch(73.04% 0.152 114.7) |
| XYZ | xyz(32.0651, 40.1155, 8.2440) |
| Luminance | 0.4012 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.23
Puke Green
#9AAE07
ΔE00 2.56
Snot
#ACBB0D
ΔE00 3.17
Barf Green
#94AC02
ΔE00 3.57
Sick Green
#9DB92C
ΔE00 3.62
Booger Green
#96B403
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B22A #362AB2
analogous
#B27A2A #A6B22A #62B22A
triadic
#A6B22A #2AA6B2 #B22AA6
tetradic
#A6B22A #2AB27A #362AB2 #B22A62
square
#A6B22A #2AB27A #362AB2 #B22A62
split-complementary
#A6B22A #2A62B2 #7A2AB2
monochromatic
#4A4F13 #78801E #A6B22A #C7D346 #D6DF77
Accessibility & contrast
On white
2.33
#A6B22A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A6B22A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B22A
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B22A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B22A | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA905
Deuteranopia (green-blind)
#BFAB36
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b22a; /* rgb */ color: rgb(166, 178, 42); /* oklch */ color: oklch(73.0% 0.152 114.7);
Tailwind
colors: {
custom: {
50: '#c4c86f',
500: '#a6b22a',
950: '#000000',
},
}SCSS
$custom: #a6b22a; $custom-light: #c4c86f; $custom-dark: #000000;
JSON
{
"hex": "#a6b22a",
"rgb": {
"r": 166,
"g": 178,
"b": 42
},
"hsl": {
"h": 65.294,
"s": 61.818,
"l": 43.137
},
"oklch": {
"l": 0.73043,
"c": 0.15185,
"h": 114.7
},
"luminance": 0.40115
}Semantic roles & 50–950 ramp
primary
#A6B22A
secondary
#7971C7
accent
#43E551
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B