#A6C242#A6C242
#A6C242 is a light, vivid yellow-green. Relative luminance 0.471; OKLCH L 76.9% C 0.155 H 120.8°. Best body text is #000000 at 10.42:1 contrast (WCAG AA passes).
Color values
| HEX | #A6C242 |
|---|---|
| RGB | rgb(166, 194, 66) |
| HSL | hsl(73, 51%, 51%) |
| HSV | hsv(73, 66%, 76%) |
| CMYK | cmyk(14.4%, 0%, 66%, 23.9%) |
| CIE-LAB | lab(74.24, -27.21, 58.79) |
| CIE-LCH | lch(74.24, 64.79, 114.84°) |
| OKLab | oklab(76.86% -0.0794 0.1332) |
| OKLCH | oklch(76.86% 0.155 120.8) |
| XYZ | xyz(36.0016, 47.0840, 12.3447) |
| Luminance | 0.4708 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.81
Pea
#A4BF20
ΔE00 2.90
Gross Green
#A0BF16
ΔE00 3.21
Booger
#9BB53C
ΔE00 3.51
Snot Green
#9DC100
ΔE00 3.79
Light Olive Green
#A4BE5C
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C242 #5E42C2
analogous
#C29E42 #A6C242 #66C242
triadic
#A6C242 #42A6C2 #C242A6
tetradic
#A6C242 #42C29E #5E42C2 #C24266
square
#A6C242 #42C29E #5E42C2 #C24266
split-complementary
#A6C242 #4266C2 #9E42C2
monochromatic
#596822 #809631 #A6C242 #BCD170 #D2E09F
Accessibility & contrast
On white
2.02
#A6C242 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.42
#A6C242 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C242
10.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C242 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C242 | 1.00 | 2.02 | 10.42 | 10.42 |
| #FFFFFF | 2.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.42 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.42 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CEB730
Deuteranopia (green-blind)
#CAB74C
Tritanopia (blue-blind)
#AFB8A8
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #a6c242; /* rgb */ color: rgb(166, 194, 66); /* oklch */ color: oklch(76.9% 0.155 120.8);
Tailwind
colors: {
custom: {
50: '#c3d47d',
500: '#a6c242',
950: '#000000',
},
}SCSS
$custom: #a6c242; $custom-light: #c3d47d; $custom-dark: #000000;
JSON
{
"hex": "#a6c242",
"rgb": {
"r": 166,
"g": 194,
"b": 66
},
"hsl": {
"h": 73.125,
"s": 51.2,
"l": 50.98
},
"oklch": {
"l": 0.76863,
"c": 0.15509,
"h": 120.8
},
"luminance": 0.47084
}Semantic roles & 50–950 ramp
primary
#A6C242
secondary
#A094CC
accent
#4DDB6C
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C