#31B756#31B756
#31B756 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.7% C 0.178 H 148.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #31B756 |
|---|---|
| RGB | rgb(49, 183, 86) |
| HSL | hsl(137, 58%, 45%) |
| HSV | hsv(137, 73%, 72%) |
| CMYK | cmyk(73.2%, 0%, 53%, 28.2%) |
| CIE-LAB | lab(65.90, -56.21, 38.96) |
| CIE-LCH | lch(65.90, 68.39, 145.28°) |
| OKLab | oklab(68.72% -0.1512 0.0938) |
| OKLCH | oklch(68.72% 0.178 148.2) |
| XYZ | xyz(19.8783, 35.1896, 14.5469) |
| Luminance | 0.3519 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock
#01B44C
ΔE00 1.85
Cool Green
#33B864
ΔE00 2.25
Medium Green
#39AD48
ΔE00 3.18
Shamrock Green
#02C14D
ΔE00 3.36
Dark Pastel Green
#56AE57
ΔE00 3.87
Dark Mint
#48C072
ΔE00 4.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B756 #B73192
analogous
#4FB731 #31B756 #31B799
triadic
#31B756 #5631B7 #B75631
tetradic
#31B756 #314FB7 #B73192 #B79931
square
#31B756 #314FB7 #B73192 #B79931
split-complementary
#31B756 #9931B7 #B7314F
monochromatic
#175629 #24873F #31B756 #54D177 #84DE9D
Accessibility & contrast
On white
2.61
#31B756 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.04
#31B756 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B756
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B756 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B756 | 1.00 | 2.61 | 8.04 | 8.04 |
| #FFFFFF | 2.61 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B9A74D
Deuteranopia (green-blind)
#A99C5D
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #31b756; /* rgb */ color: rgb(49, 183, 86); /* oklch */ color: oklch(68.7% 0.178 148.2);
Tailwind
colors: {
custom: {
50: '#7dce88',
500: '#31b756',
950: '#000000',
},
}SCSS
$custom: #31b756; $custom-light: #7dce88; $custom-dark: #000000;
JSON
{
"hex": "#31b756",
"rgb": {
"r": 49,
"g": 183,
"b": 86
},
"hsl": {
"h": 136.567,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.68718,
"c": 0.17795,
"h": 148.2
},
"luminance": 0.35192
}Semantic roles & 50–950 ramp
primary
#31B756
secondary
#C87CB3
accent
#47B6E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C