#31C948#31C948
#31C948 is a light, highly saturated green. Relative luminance 0.429; OKLCH L 73.3% C 0.211 H 145.1°. Best body text is #000000 at 9.58:1 contrast (WCAG AA passes).
Color values
| HEX | #31C948 |
|---|---|
| RGB | rgb(49, 201, 72) |
| HSL | hsl(129, 61%, 49%) |
| HSV | hsv(129, 76%, 79%) |
| CMYK | cmyk(75.6%, 0%, 64.2%, 21.2%) |
| CIE-LAB | lab(71.48, -64.05, 51.90) |
| CIE-LCH | lch(71.48, 82.44, 140.98°) |
| OKLab | oklab(73.3% -0.1729 0.1207) |
| OKLCH | oklch(73.3% 0.211 145.1) |
| XYZ | xyz(23.3213, 42.8914, 13.1794) |
| Luminance | 0.4289 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Lime Green
#32CD32
ΔE00 2.70
Shamrock Green
#02C14D
ΔE00 3.01
Leafy Green
#51B73B
ΔE00 5.26
Fresh Green
#69D84F
ΔE00 5.51
Apple
#6ECB3C
ΔE00 5.65
Kelly Green
#4CBB17
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C948 #C931B2
analogous
#66C931 #31C948 #31C994
triadic
#31C948 #4831C9 #C94831
tetradic
#31C948 #3166C9 #C931B2 #C99431
square
#31C948 #3166C9 #C931B2 #C99431
split-complementary
#31C948 #9431C9 #C93166
monochromatic
#196725 #259836 #31C948 #5FD871 #90E49D
Accessibility & contrast
On white
2.19
#31C948 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.58
#31C948 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C948
9.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C948 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C948 | 1.00 | 2.19 | 9.58 | 9.58 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CCB638
Deuteranopia (green-blind)
#BBAA53
Tritanopia (blue-blind)
#00C4AE
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #31c948; /* rgb */ color: rgb(49, 201, 72); /* oklch */ color: oklch(73.3% 0.211 145.1);
Tailwind
colors: {
custom: {
50: '#81db80',
500: '#31c948',
950: '#000000',
},
}SCSS
$custom: #31c948; $custom-light: #81db80; $custom-dark: #000000;
JSON
{
"hex": "#31c948",
"rgb": {
"r": 49,
"g": 201,
"b": 72
},
"hsl": {
"h": 129.079,
"s": 60.8,
"l": 49.02
},
"oklch": {
"l": 0.73299,
"c": 0.21084,
"h": 145.1
},
"luminance": 0.42894
}Semantic roles & 50–950 ramp
primary
#31C948
secondary
#CF87C4
accent
#44CCE4
background
#F8FDF8
surface
#F0FBEF
border
#CBD4CA
text
#0C150B
muted
#7D837C