#A6C12A#A6C12A
#A6C12A is a light, vivid yellow-green. Relative luminance 0.464; OKLCH L 76.5% C 0.168 H 119.8°. Best body text is #000000 at 10.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A6C12A |
|---|---|
| RGB | rgb(166, 193, 42) |
| HSL | hsl(71, 64%, 46%) |
| HSV | hsv(71, 78%, 76%) |
| CMYK | cmyk(14%, 0%, 78.2%, 24.3%) |
| CIE-LAB | lab(73.81, -28.01, 66.79) |
| CIE-LCH | lch(73.81, 72.43, 112.75°) |
| OKLab | oklab(76.47% -0.0836 0.1462) |
| OKLCH | oklch(76.47% 0.168 119.8) |
| XYZ | xyz(35.2145, 46.4143, 9.2938) |
| Luminance | 0.4641 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.76
Gross Green
#A0BF16
ΔE00 1.28
Snot Green
#9DC100
ΔE00 2.03
Bright Olive
#9CBB04
ΔE00 2.25
Sick Green
#9DB92C
ΔE00 2.40
Snot
#ACBB0D
ΔE00 3.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C12A #452AC1
analogous
#C1902A #A6C12A #5BC12A
triadic
#A6C12A #2AA6C1 #C12AA6
tetradic
#A6C12A #2AC190 #452AC1 #C12A5B
square
#A6C12A #2AC190 #452AC1 #C12A5B
split-complementary
#A6C12A #2A5BC1 #902AC1
monochromatic
#505C14 #7B8F1F #A6C12A #C0D94F #D2E482
Accessibility & contrast
On white
2.04
#A6C12A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#A6C12A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C12A
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C12A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C12A | 1.00 | 2.04 | 10.28 | 10.28 |
| #FFFFFF | 2.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB600
Deuteranopia (green-blind)
#CAB639
Tritanopia (blue-blind)
#B0B6A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a6c12a; /* rgb */ color: rgb(166, 193, 42); /* oklch */ color: oklch(76.5% 0.168 119.8);
Tailwind
colors: {
custom: {
50: '#c4d371',
500: '#a6c12a',
950: '#000000',
},
}SCSS
$custom: #a6c12a; $custom-light: #c4d371; $custom-dark: #000000;
JSON
{
"hex": "#a6c12a",
"rgb": {
"r": 166,
"g": 193,
"b": 42
},
"hsl": {
"h": 70.728,
"s": 64.255,
"l": 46.078
},
"oklch": {
"l": 0.76471,
"c": 0.16847,
"h": 119.8
},
"luminance": 0.46414
}Semantic roles & 50–950 ramp
primary
#A6C12A
secondary
#897ACD
accent
#41E75E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B