#31B156#31B156
#31B156 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.1% C 0.170 H 148.7°. Best body text is #000000 at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #31B156 |
|---|---|
| RGB | rgb(49, 177, 86) |
| HSL | hsl(137, 57%, 44%) |
| HSV | hsv(137, 72%, 69%) |
| CMYK | cmyk(72.3%, 0%, 51.4%, 30.6%) |
| CIE-LAB | lab(63.97, -54.07, 36.59) |
| CIE-LCH | lch(63.97, 65.29, 145.91°) |
| OKLab | oklab(67.13% -0.1455 0.0885) |
| OKLCH | oklch(67.13% 0.17 148.7) |
| XYZ | xyz(18.6670, 32.7670, 14.1432) |
| Luminance | 0.3277 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock
#01B44C
ΔE00 2.10
Medium Green
#39AD48
ΔE00 2.38
Cool Green
#33B864
ΔE00 2.55
Dark Pastel Green
#56AE57
ΔE00 3.22
Jade Green
#2BAF6A
ΔE00 4.12
Algae
#54AC68
ΔE00 4.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B156 #B1318C
analogous
#4CB131 #31B156 #31B196
triadic
#31B156 #5631B1 #B15631
tetradic
#31B156 #314CB1 #B1318C #B19631
square
#31B156 #314CB1 #B1318C #B19631
split-complementary
#31B156 #9631B1 #B1314C
monochromatic
#165127 #24813F #31B156 #51CF75 #80DC9B
Accessibility & contrast
On white
2.78
#31B156 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.55
#31B156 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B156
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B156 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B156 | 1.00 | 2.78 | 7.55 | 7.55 |
| #FFFFFF | 2.78 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.55 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.55 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A14E
Deuteranopia (green-blind)
#A3975D
Tritanopia (blue-blind)
#00AD9C
Achromatopsia (no color)
#9B9B9B
Design tokens & code
CSS
--color: #31b156; /* rgb */ color: rgb(49, 177, 86); /* oklch */ color: oklch(67.1% 0.170 148.7);
Tailwind
colors: {
custom: {
50: '#7bc987',
500: '#31b156',
950: '#000000',
},
}SCSS
$custom: #31b156; $custom-light: #7bc987; $custom-dark: #000000;
JSON
{
"hex": "#31b156",
"rgb": {
"r": 49,
"g": 177,
"b": 86
},
"hsl": {
"h": 137.344,
"s": 56.637,
"l": 44.314
},
"oklch": {
"l": 0.67126,
"c": 0.17031,
"h": 148.7
},
"luminance": 0.32769
}Semantic roles & 50–950 ramp
primary
#31B156
secondary
#C579AF
accent
#48B4E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C