#31BF56#31BF56
#31BF56 is a light, vivid green. Relative luminance 0.386; OKLCH L 70.8% C 0.188 H 147.6°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).
Color values
| HEX | #31BF56 |
|---|---|
| RGB | rgb(49, 191, 86) |
| HSL | hsl(136, 59%, 47%) |
| HSV | hsv(136, 74%, 75%) |
| CMYK | cmyk(74.3%, 0%, 55%, 25.1%) |
| CIE-LAB | lab(68.45, -59.00, 42.05) |
| CIE-LCH | lch(68.45, 72.45, 144.52°) |
| OKLab | oklab(70.83% -0.1587 0.1006) |
| OKLCH | oklch(70.83% 0.188 147.6) |
| XYZ | xyz(21.5755, 38.5840, 15.1127) |
| Luminance | 0.3859 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 1.62
Shamrock
#01B44C
ΔE00 3.42
Cool Green
#33B864
ΔE00 3.53
Algae Green
#21C36F
ΔE00 4.07
Dark Mint
#48C072
ΔE00 4.37
Leafy Green
#51B73B
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31BF56 #BF319A
analogous
#53BF31 #31BF56 #31BF9D
triadic
#31BF56 #5631BF #BF5631
tetradic
#31BF56 #3153BF #BF319A #BF9D31
square
#31BF56 #3153BF #BF319A #BF9D31
split-complementary
#31BF56 #9D31BF #BF3153
monochromatic
#185E2A #258E40 #31BF56 #59D479 #8AE1A0
Accessibility & contrast
On white
2.41
#31BF56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.72
#31BF56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31BF56
8.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31BF56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31BF56 | 1.00 | 2.41 | 8.72 | 8.72 |
| #FFFFFF | 2.41 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AE4C
Deuteranopia (green-blind)
#B1A25E
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7
Design tokens & code
CSS
--color: #31bf56; /* rgb */ color: rgb(49, 191, 86); /* oklch */ color: oklch(70.8% 0.188 147.6);
Tailwind
colors: {
custom: {
50: '#7ed388',
500: '#31bf56',
950: '#000000',
},
}SCSS
$custom: #31bf56; $custom-light: #7ed388; $custom-dark: #000000;
JSON
{
"hex": "#31bf56",
"rgb": {
"r": 49,
"g": 191,
"b": 86
},
"hsl": {
"h": 135.634,
"s": 59.167,
"l": 47.059
},
"oklch": {
"l": 0.70831,
"c": 0.18794,
"h": 147.6
},
"luminance": 0.38586
}Semantic roles & 50–950 ramp
primary
#31BF56
secondary
#CB81B8
accent
#45B9E2
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D