#A2C540#A2C540
#A2C540 is a light, vivid yellow-green. Relative luminance 0.480; OKLCH L 77.3% C 0.162 H 123.0°. Best body text is #000000 at 10.60:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C540 |
|---|---|
| RGB | rgb(162, 197, 64) |
| HSL | hsl(76, 53%, 51%) |
| HSV | hsv(76, 68%, 77%) |
| CMYK | cmyk(17.8%, 0%, 67.5%, 22.7%) |
| CIE-LAB | lab(74.81, -30.38, 60.09) |
| CIE-LCH | lch(74.81, 67.33, 116.82°) |
| OKLab | oklab(77.25% -0.0881 0.1358) |
| OKLCH | oklch(77.25% 0.162 123) |
| XYZ | xyz(35.7923, 47.9839, 12.2257) |
| Luminance | 0.4798 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 3.04
Pea
#A4BF20
ΔE00 3.44
Gross Green
#A0BF16
ΔE00 3.47
Sick Green
#9DB92C
ΔE00 3.48
Snot Green
#9DC100
ΔE00 3.71
Slime Green
#99CC04
ΔE00 4.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C540 #6340C5
analogous
#C5A540 #A2C540 #5FC540
triadic
#A2C540 #40A2C5 #C540A2
tetradic
#A2C540 #40C5A5 #6340C5 #C5405F
square
#A2C540 #40C5A5 #6340C5 #C5405F
split-complementary
#A2C540 #405FC5 #A540C5
monochromatic
#576A20 #7D992F #A2C540 #B9D36F #D0E29E
Accessibility & contrast
On white
1.98
#A2C540 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.60
#A2C540 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C540
10.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C540 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C540 | 1.00 | 1.98 | 10.60 | 10.60 |
| #FFFFFF | 1.98 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D0B92C
Deuteranopia (green-blind)
#CCB84A
Tritanopia (blue-blind)
#AABBAA
Achromatopsia (no color)
#B8B8B8
Design tokens & code
CSS
--color: #a2c540; /* rgb */ color: rgb(162, 197, 64); /* oklch */ color: oklch(77.3% 0.162 123.0);
Tailwind
colors: {
custom: {
50: '#c1d67c',
500: '#a2c540',
950: '#000000',
},
}SCSS
$custom: #a2c540; $custom-light: #c1d67c; $custom-dark: #000000;
JSON
{
"hex": "#a2c540",
"rgb": {
"r": 162,
"g": 197,
"b": 64
},
"hsl": {
"h": 75.789,
"s": 53.414,
"l": 51.176
},
"oklch": {
"l": 0.77251,
"c": 0.16184,
"h": 123
},
"luminance": 0.47984
}Semantic roles & 50–950 ramp
primary
#A2C540
secondary
#A293CE
accent
#4BDD71
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C