#A6B22E#A6B22E
#A6B22E is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.1% C 0.150 H 114.7°. Best body text is #000000 at 9.03:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B22E |
|---|---|
| RGB | rgb(166, 178, 46) |
| HSL | hsl(65, 59%, 44%) |
| HSV | hsv(65, 74%, 70%) |
| CMYK | cmyk(6.7%, 0%, 74.2%, 30.2%) |
| CIE-LAB | lab(69.57, -20.51, 61.60) |
| CIE-LCH | lch(69.57, 64.92, 108.41°) |
| OKLab | oklab(73.07% -0.0626 0.1359) |
| OKLCH | oklch(73.07% 0.15 114.7) |
| XYZ | xyz(32.1403, 40.1456, 8.6400) |
| Luminance | 0.4014 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.56
Puke Green
#9AAE07
ΔE00 2.72
Snot
#ACBB0D
ΔE00 3.41
Sick Green
#9DB92C
ΔE00 3.56
Barf Green
#94AC02
ΔE00 3.67
Booger
#9BB53C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B22E #3A2EB2
analogous
#B27C2E #A6B22E #64B22E
triadic
#A6B22E #2EA6B2 #B22EA6
tetradic
#A6B22E #2EB27C #3A2EB2 #B22E64
square
#A6B22E #2EB27C #3A2EB2 #B22E64
split-complementary
#A6B22E #2E64B2 #7C2EB2
monochromatic
#4B5115 #798121 #A6B22E #C5D14C #D5DD7D
Accessibility & contrast
On white
2.33
#A6B22E on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.03
#A6B22E on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B22E
9.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B22E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B22E | 1.00 | 2.33 | 9.03 | 9.03 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#BEAB39
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b22e; /* rgb */ color: rgb(166, 178, 46); /* oklch */ color: oklch(73.1% 0.150 114.7);
Tailwind
colors: {
custom: {
50: '#c4c871',
500: '#a6b22e',
950: '#000000',
},
}SCSS
$custom: #a6b22e; $custom-light: #c4c871; $custom-dark: #000000;
JSON
{
"hex": "#a6b22e",
"rgb": {
"r": 166,
"g": 178,
"b": 46
},
"hsl": {
"h": 65.455,
"s": 58.929,
"l": 43.922
},
"oklch": {
"l": 0.73067,
"c": 0.14965,
"h": 114.7
},
"luminance": 0.40145
}Semantic roles & 50–950 ramp
primary
#A6B22E
secondary
#7D76C6
accent
#46E254
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B