#31C532#31C532
#31C532 is a light, highly saturated green. Relative luminance 0.408; OKLCH L 72.1% C 0.220 H 142.9°. Best body text is #000000 at 9.16:1 contrast (WCAG AA passes).
Color values
| HEX | #31C532 |
|---|---|
| RGB | rgb(49, 197, 50) |
| HSL | hsl(120, 60%, 48%) |
| HSV | hsv(120, 75%, 77%) |
| CMYK | cmyk(75.1%, 0%, 74.6%, 22.7%) |
| CIE-LAB | lab(70.04, -64.79, 58.89) |
| CIE-LCH | lch(70.04, 87.55, 137.73°) |
| OKLab | oklab(72.05% -0.1758 0.1328) |
| OKLCH | oklch(72.05% 0.22 142.9) |
| XYZ | xyz(21.8072, 40.8132, 9.7454) |
| Luminance | 0.4082 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Lime Green
#32CD32
ΔE00 2.07
Kelly Green
#4CBB17
ΔE00 3.84
Shamrock Green
#02C14D
ΔE00 4.15
Leafy Green
#51B73B
ΔE00 4.26
Frog Green
#58BC08
ΔE00 4.91
Apple
#6ECB3C
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C532 #C531C4
analogous
#7AC531 #31C532 #31C57C
triadic
#31C532 #3231C5 #C53231
tetradic
#31C532 #317AC5 #C531C4 #C57C31
square
#31C532 #317AC5 #C531C4 #C57C31
split-complementary
#31C532 #7C31C5 #C5317A
monochromatic
#196319 #259426 #31C532 #5DD75D #8EE38E
Accessibility & contrast
On white
2.29
#31C532 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.16
#31C532 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C532
9.16:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C532 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C532 | 1.00 | 2.29 | 9.16 | 9.16 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.16 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.16 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B213
Deuteranopia (green-blind)
#B9A742
Tritanopia (blue-blind)
#00BFA9
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #31c532; /* rgb */ color: rgb(49, 197, 50); /* oklch */ color: oklch(72.1% 0.220 142.9);
Tailwind
colors: {
custom: {
50: '#81d874',
500: '#31c532',
950: '#000000',
},
}SCSS
$custom: #31c532; $custom-light: #81d874; $custom-dark: #000000;
JSON
{
"hex": "#31c532",
"rgb": {
"r": 49,
"g": 197,
"b": 50
},
"hsl": {
"h": 120.405,
"s": 60.163,
"l": 48.235
},
"oklch": {
"l": 0.72053,
"c": 0.22035,
"h": 142.9
},
"luminance": 0.40816
}Semantic roles & 50–950 ramp
primary
#31C532
secondary
#CD85CD
accent
#44E2E3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1509
muted
#7D837B