#A2C040#A2C040
#A2C040 is a light, vivid yellow-green. Relative luminance 0.458; OKLCH L 76.1% C 0.156 H 121.6°. Best body text is #000000 at 10.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C040 |
|---|---|
| RGB | rgb(162, 192, 64) |
| HSL | hsl(74, 50%, 50%) |
| HSV | hsv(74, 67%, 75%) |
| CMYK | cmyk(15.6%, 0%, 66.7%, 24.7%) |
| CIE-LAB | lab(73.38, -28.00, 58.61) |
| CIE-LCH | lch(73.38, 64.96, 115.54°) |
| OKLab | oklab(76.1% -0.0815 0.1327) |
| OKLCH | oklch(76.1% 0.156 121.6) |
| XYZ | xyz(34.6758, 45.7508, 11.8535) |
| Luminance | 0.4575 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.39
Booger
#9BB53C
ΔE00 2.94
Pea
#A4BF20
ΔE00 2.99
Gross Green
#A0BF16
ΔE00 3.18
Light Olive Green
#A4BE5C
ΔE00 3.74
Snot Green
#9DC100
ΔE00 3.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C040 #5E40C0
analogous
#C09E40 #A2C040 #62C040
triadic
#A2C040 #40A2C0 #C040A2
tetradic
#A2C040 #40C09E #5E40C0 #C04062
square
#A2C040 #40C09E #5E40C0 #C04062
split-complementary
#A2C040 #4062C0 #9E40C0
monochromatic
#556421 #7B9230 #A2C040 #B8CF6E #CFDE9C
Accessibility & contrast
On white
2.07
#A2C040 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.15
#A2C040 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C040
10.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C040 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C040 | 1.00 | 2.07 | 10.15 | 10.15 |
| #FFFFFF | 2.07 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CBB52E
Deuteranopia (green-blind)
#C8B44A
Tritanopia (blue-blind)
#AAB6A6
Achromatopsia (no color)
#B4B4B4
Design tokens & code
CSS
--color: #a2c040; /* rgb */ color: rgb(162, 192, 64); /* oklch */ color: oklch(76.1% 0.156 121.6);
Tailwind
colors: {
custom: {
50: '#c1d37c',
500: '#a2c040',
950: '#000000',
},
}SCSS
$custom: #a2c040; $custom-light: #c1d37c; $custom-dark: #000000;
JSON
{
"hex": "#a2c040",
"rgb": {
"r": 162,
"g": 192,
"b": 64
},
"hsl": {
"h": 74.063,
"s": 50.394,
"l": 50.196
},
"oklch": {
"l": 0.76096,
"c": 0.1557,
"h": 121.6
},
"luminance": 0.45751
}Semantic roles & 50–950 ramp
primary
#A2C040
secondary
#9F91CB
accent
#4EDA6F
background
#FCFCF7
surface
#F8F9EE
border
#D1D2C9
text
#13140A
muted
#82827C