#A2C42D#A2C42D
#A2C42D is a light, vivid yellow-green. Relative luminance 0.474; OKLCH L 76.9% C 0.172 H 122.0°. Best body text is #000000 at 10.47:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C42D |
|---|---|
| RGB | rgb(162, 196, 45) |
| HSL | hsl(74, 63%, 47%) |
| HSV | hsv(74, 77%, 77%) |
| CMYK | cmyk(17.3%, 0%, 77%, 23.1%) |
| CIE-LAB | lab(74.41, -30.94, 66.34) |
| CIE-LCH | lch(74.41, 73.20, 115.00°) |
| OKLab | oklab(76.89% -0.0912 0.1459) |
| OKLCH | oklch(76.89% 0.172 122) |
| XYZ | xyz(35.1144, 47.3506, 9.7718) |
| Luminance | 0.4735 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Gross Green
#A0BF16
ΔE00 1.86
Pea
#A4BF20
ΔE00 1.96
Snot Green
#9DC100
ΔE00 1.99
Bright Olive
#9CBB04
ΔE00 2.88
Sick Green
#9DB92C
ΔE00 2.91
Slime Green
#99CC04
ΔE00 3.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C42D #4F2DC4
analogous
#C49B2D #A2C42D #56C42D
triadic
#A2C42D #2DA2C4 #C42DA2
tetradic
#A2C42D #2DC49B #4F2DC4 #C42D56
square
#A2C42D #2DC49B #4F2DC4 #C42D56
split-complementary
#A2C42D #2D56C4 #9B2DC4
monochromatic
#506016 #799222 #A2C42D #BBD856 #CFE488
Accessibility & contrast
On white
2.01
#A2C42D on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.47
#A2C42D on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C42D
10.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C42D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C42D | 1.00 | 2.01 | 10.47 | 10.47 |
| #FFFFFF | 2.01 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.47 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.47 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B800
Deuteranopia (green-blind)
#CCB73C
Tritanopia (blue-blind)
#ABBAA8
Achromatopsia (no color)
#B7B7B7
Design tokens & code
CSS
--color: #a2c42d; /* rgb */ color: rgb(162, 196, 45); /* oklch */ color: oklch(76.9% 0.172 122.0);
Tailwind
colors: {
custom: {
50: '#c1d672',
500: '#a2c42d',
950: '#000000',
},
}SCSS
$custom: #a2c42d; $custom-light: #c1d672; $custom-dark: #000000;
JSON
{
"hex": "#a2c42d",
"rgb": {
"r": 162,
"g": 196,
"b": 45
},
"hsl": {
"h": 73.51,
"s": 62.656,
"l": 47.255
},
"oklch": {
"l": 0.7689,
"c": 0.17208,
"h": 122
},
"luminance": 0.47351
}Semantic roles & 50–950 ramp
primary
#A2C42D
secondary
#9180CD
accent
#42E667
background
#FCFDF7
surface
#F8FAED
border
#D1D3C8
text
#131409
muted
#82837B