#31C75C#31C75C
#31C75C is a light, vivid green. Relative luminance 0.423; OKLCH L 73.0% C 0.193 H 148.2°. Best body text is #000000 at 9.45:1 contrast (WCAG AA passes).
Color values
| HEX | #31C75C |
|---|---|
| RGB | rgb(49, 199, 92) |
| HSL | hsl(137, 60%, 49%) |
| HSV | hsv(137, 75%, 78%) |
| CMYK | cmyk(75.4%, 0%, 53.8%, 22%) |
| CIE-LAB | lab(71.06, -60.89, 42.32) |
| CIE-LCH | lch(71.06, 74.16, 145.20°) |
| OKLab | oklab(73.01% -0.1637 0.1016) |
| OKLCH | oklch(73.01% 0.193 148.2) |
| XYZ | xyz(23.6200, 42.2697, 17.0372) |
| Luminance | 0.4227 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.34
Algae Green
#21C36F
ΔE00 3.93
Emerald
#50C878
ΔE00 4.33
Dark Mint
#48C072
ΔE00 4.55
Cool Green
#33B864
ΔE00 4.87
Seaweed
#18D17B
ΔE00 4.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C75C #C7319C
analogous
#51C731 #31C75C #31C7A7
triadic
#31C75C #5C31C7 #C75C31
tetradic
#31C75C #3151C7 #C7319C #C7A731
square
#31C75C #3151C7 #C7319C #C7A731
split-complementary
#31C75C #A731C7 #C73151
monochromatic
#19652F #259645 #31C75C #5ED781 #8FE3A7
Accessibility & contrast
On white
2.22
#31C75C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.45
#31C75C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C75C
9.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C75C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C75C | 1.00 | 2.22 | 9.45 | 9.45 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.45 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.45 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B552
Deuteranopia (green-blind)
#B8A964
Tritanopia (blue-blind)
#00C3AF
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #31c75c; /* rgb */ color: rgb(49, 199, 92); /* oklch */ color: oklch(73.0% 0.193 148.2);
Tailwind
colors: {
custom: {
50: '#80d98c',
500: '#31c75c',
950: '#000000',
},
}SCSS
$custom: #31c75c; $custom-light: #80d98c; $custom-dark: #000000;
JSON
{
"hex": "#31c75c",
"rgb": {
"r": 49,
"g": 199,
"b": 92
},
"hsl": {
"h": 137.2,
"s": 60.484,
"l": 48.627
},
"oklch": {
"l": 0.73014,
"c": 0.19268,
"h": 148.2
},
"luminance": 0.42273
}Semantic roles & 50–950 ramp
primary
#31C75C
secondary
#CE86B9
accent
#44B6E4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D