#A6C12B#A6C12B
#A6C12B 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 | #A6C12B |
|---|---|
| RGB | rgb(166, 193, 43) |
| HSL | hsl(71, 64%, 46%) |
| HSV | hsv(71, 78%, 76%) |
| CMYK | cmyk(14%, 0%, 77.7%, 24.3%) |
| CIE-LAB | lab(73.82, -27.97, 66.50) |
| CIE-LCH | lch(73.82, 72.14, 112.81°) |
| OKLab | oklab(76.48% -0.0834 0.1458) |
| OKLCH | oklch(76.48% 0.168 119.8) |
| XYZ | xyz(35.2326, 46.4215, 9.3892) |
| Luminance | 0.4642 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Pea
#A4BF20
ΔE00 0.82
Gross Green
#A0BF16
ΔE00 1.33
Snot Green
#9DC100
ΔE00 2.08
Bright Olive
#9CBB04
ΔE00 2.29
Sick Green
#9DB92C
ΔE00 2.38
Snot
#ACBB0D
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C12B #462BC1
analogous
#C1912B #A6C12B #5BC12B
triadic
#A6C12B #2BA6C1 #C12BA6
tetradic
#A6C12B #2BC191 #462BC1 #C12B5B
square
#A6C12B #2BC191 #462BC1 #C12B5B
split-complementary
#A6C12B #2B5BC1 #912BC1
monochromatic
#505D15 #7B8F20 #A6C12B #C0D851 #D2E383
Accessibility & contrast
On white
2.04
#A6C12B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.28
#A6C12B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C12B
10.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C12B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C12B | 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)
#CAB63A
Tritanopia (blue-blind)
#B0B6A5
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a6c12b; /* rgb */ color: rgb(166, 193, 43); /* oklch */ color: oklch(76.5% 0.168 119.8);
Tailwind
colors: {
custom: {
50: '#c4d371',
500: '#a6c12b',
950: '#000000',
},
}SCSS
$custom: #a6c12b; $custom-light: #c4d371; $custom-dark: #000000;
JSON
{
"hex": "#a6c12b",
"rgb": {
"r": 166,
"g": 193,
"b": 43
},
"hsl": {
"h": 70.8,
"s": 63.559,
"l": 46.275
},
"oklch": {
"l": 0.76476,
"c": 0.16798,
"h": 119.8
},
"luminance": 0.46421
}Semantic roles & 50–950 ramp
primary
#A6C12B
secondary
#8A7BCC
accent
#41E75F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131408
muted
#82827B