#A2C938#A2C938
#A2C938 is a light, vivid yellow-green. Relative luminance 0.497; OKLCH L 78.1% C 0.172 H 123.7°. Best body text is #000000 at 10.95:1 contrast (WCAG AA passes).
Color values
| HEX | #A2C938 |
|---|---|
| RGB | rgb(162, 201, 56) |
| HSL | hsl(76, 57%, 50%) |
| HSV | hsv(76, 72%, 79%) |
| CMYK | cmyk(19.4%, 0%, 72.1%, 21.2%) |
| CIE-LAB | lab(75.91, -32.73, 64.15) |
| CIE-LCH | lch(75.91, 72.02, 117.03°) |
| OKLab | oklab(78.12% -0.0952 0.1431) |
| OKLCH | oklch(78.12% 0.172 123.7) |
| XYZ | xyz(36.5011, 49.7399, 11.4184) |
| Luminance | 0.4974 (WCAG relative) |
| Temperature | warm |
| Family | yellow-green |
Closest named colors
Yellowgreen
#9ACD32
ΔE00 1.97
Slime Green
#99CC04
ΔE00 2.84
Snot Green
#9DC100
ΔE00 3.38
Gross Green
#A0BF16
ΔE00 3.49
Pea
#A4BF20
ΔE00 3.60
Sick Green
#9DB92C
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2C938 #5F38C9
analogous
#C9A738 #A2C938 #59C938
triadic
#A2C938 #38A2C9 #C938A2
tetradic
#A2C938 #38C9A7 #5F38C9 #C93859
square
#A2C938 #38C9A7 #5F38C9 #C93859
split-complementary
#A2C938 #3859C9 #A738C9
monochromatic
#556A1D #7C9A2A #A2C938 #B8D668 #CFE398
Accessibility & contrast
On white
1.92
#A2C938 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
10.95
#A2C938 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2C938
10.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2C938 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2C938 | 1.00 | 1.92 | 10.95 | 10.95 |
| #FFFFFF | 1.92 | 1.00 | 21.00 | 21.00 |
| #000000 | 10.95 | 21.00 | 1.00 | 1.00 |
| ##000000 | 10.95 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#D4BC1D
Deuteranopia (green-blind)
#CFBB45
Tritanopia (blue-blind)
#AABFAD
Achromatopsia (no color)
#BBBBBB
Design tokens & code
CSS
--color: #a2c938; /* rgb */ color: rgb(162, 201, 56); /* oklch */ color: oklch(78.1% 0.172 123.7);
Tailwind
colors: {
custom: {
50: '#c1d978',
500: '#a2c938',
950: '#000000',
},
}SCSS
$custom: #a2c938; $custom-light: #c1d978; $custom-dark: #000000;
JSON
{
"hex": "#a2c938",
"rgb": {
"r": 162,
"g": 201,
"b": 56
},
"hsl": {
"h": 76.138,
"s": 57.312,
"l": 50.392
},
"oklch": {
"l": 0.78118,
"c": 0.17188,
"h": 123.7
},
"luminance": 0.4974
}Semantic roles & 50–950 ramp
primary
#A2C938
secondary
#9F8ECF
accent
#47E170
background
#FCFDF7
surface
#F8FAEE
border
#D1D3C9
text
#13140A
muted
#82837C