#A6C042#A6C042
#A6C042 is a light, vivid yellow-green. Relative luminance 0.462; OKLCH L 76.4% C 0.153 H 120.2°. Best body text is #000000 at 10.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A6C042 |
|---|---|
| RGB | rgb(166, 192, 66) |
| HSL | hsl(72, 50%, 51%) |
| HSV | hsv(72, 66%, 75%) |
| CMYK | cmyk(13.5%, 0%, 65.6%, 24.7%) |
| CIE-LAB | lab(73.67, -26.25, 58.20) |
| CIE-LCH | lch(73.67, 63.85, 114.28°) |
| OKLab | oklab(76.41% -0.0767 0.132) |
| OKLCH | oklch(76.41% 0.153 120.2) |
| XYZ | xyz(35.5594, 46.1997, 12.1973) |
| Luminance | 0.4620 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.49
Pea
#A4BF20
ΔE00 2.85
Booger
#9BB53C
ΔE00 3.05
Gross Green
#A0BF16
ΔE00 3.23
Light Olive Green
#A4BE5C
ΔE00 3.74
Bright Olive
#9CBB04
ΔE00 3.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6C042 #5C42C0
analogous
#C09B42 #A6C042 #67C042
triadic
#A6C042 #42A6C0 #C042A6
tetradic
#A6C042 #42C09B #5C42C0 #C04267
square
#A6C042 #42C09B #5C42C0 #C04267
split-complementary
#A6C042 #4267C0 #9B42C0
monochromatic
#586622 #7F9431 #A6C042 #BCCF70 #D1DF9E
Accessibility & contrast
On white
2.05
#A6C042 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.24
#A6C042 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6C042
10.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6C042 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6C042 | 1.00 | 2.05 | 10.24 | 10.24 |
| #FFFFFF | 2.05 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB531
Deuteranopia (green-blind)
#C9B54B
Tritanopia (blue-blind)
#AFB6A6
Achromatopsia (no color)
#B5B5B5
Design tokens & code
CSS
--color: #a6c042; /* rgb */ color: rgb(166, 192, 66); /* oklch */ color: oklch(76.4% 0.153 120.2);
Tailwind
colors: {
custom: {
50: '#c3d37d',
500: '#a6c042',
950: '#000000',
},
}SCSS
$custom: #a6c042; $custom-light: #c3d37d; $custom-dark: #000000;
JSON
{
"hex": "#a6c042",
"rgb": {
"r": 166,
"g": 192,
"b": 66
},
"hsl": {
"h": 72.381,
"s": 50,
"l": 50.588
},
"oklch": {
"l": 0.76406,
"c": 0.15265,
"h": 120.2
},
"luminance": 0.462
}Semantic roles & 50–950 ramp
primary
#A6C042
secondary
#9E93CB
accent
#4EDA6B
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C