#31C472#31C472
#31C472 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.6% C 0.169 H 153.5°. Best body text is #000000 at 9.27:1 contrast (WCAG AA passes).
Color values
| HEX | #31C472 |
|---|---|
| RGB | rgb(49, 196, 114) |
| HSL | hsl(147, 60%, 48%) |
| HSV | hsv(147, 75%, 77%) |
| CMYK | cmyk(75%, 0%, 41.8%, 23.1%) |
| CIE-LAB | lab(70.42, -56.27, 30.53) |
| CIE-LCH | lch(70.42, 64.02, 151.52°) |
| OKLab | oklab(72.58% -0.1515 0.0757) |
| OKLCH | oklch(72.58% 0.169 153.5) |
| XYZ | xyz(24.0416, 41.3449, 22.6296) |
| Luminance | 0.4135 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 0.72
Dark Mint Green
#20C073
ΔE00 1.57
Dark Mint
#48C072
ΔE00 1.71
Emerald
#50C878
ΔE00 2.20
Seaweed
#18D17B
ΔE00 3.33
Cool Green
#33B864
ΔE00 3.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C472 #C43183
analogous
#39C431 #31C472 #31C4BC
triadic
#31C472 #7231C4 #C47231
tetradic
#31C472 #3139C4 #C43183 #C4BC31
square
#31C472 #3139C4 #C43183 #C4BC31
split-complementary
#31C472 #BC31C4 #C43139
monochromatic
#196239 #259356 #31C472 #5CD692 #8DE2B3
Accessibility & contrast
On white
2.27
#31C472 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.27
#31C472 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C472
9.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C472 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C472 | 1.00 | 2.27 | 9.27 | 9.27 |
| #FFFFFF | 2.27 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.27 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.27 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4B46C
Deuteranopia (green-blind)
#B3A778
Tritanopia (blue-blind)
#00C1B0
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #31c472; /* rgb */ color: rgb(49, 196, 114); /* oklch */ color: oklch(72.6% 0.169 153.5);
Tailwind
colors: {
custom: {
50: '#7fd79b',
500: '#31c472',
950: '#000000',
},
}SCSS
$custom: #31c472; $custom-light: #7fd79b; $custom-dark: #000000;
JSON
{
"hex": "#31c472",
"rgb": {
"r": 49,
"g": 196,
"b": 114
},
"hsl": {
"h": 146.531,
"s": 60,
"l": 48.039
},
"oklch": {
"l": 0.72585,
"c": 0.16937,
"h": 153.5
},
"luminance": 0.41348
}Semantic roles & 50–950 ramp
primary
#31C472
secondary
#CD84AD
accent
#459DE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C140E
muted
#7D837E