#31BA56#31BA56
#31BA56 is a light, vivid green. Relative luminance 0.364; OKLCH L 69.5% C 0.182 H 148.0°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).
Color values
| HEX | #31BA56 |
|---|---|
| RGB | rgb(49, 186, 86) |
| HSL | hsl(136, 58%, 46%) |
| HSV | hsv(136, 74%, 73%) |
| CMYK | cmyk(73.7%, 0%, 53.8%, 27.1%) |
| CIE-LAB | lab(66.86, -57.26, 40.12) |
| CIE-LCH | lch(66.86, 69.92, 144.98°) |
| OKLab | oklab(69.51% -0.1541 0.0963) |
| OKLCH | oklch(69.51% 0.182 148) |
| XYZ | xyz(20.5037, 36.4403, 14.7554) |
| Luminance | 0.3644 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock
#01B44C
ΔE00 2.31
Cool Green
#33B864
ΔE00 2.58
Shamrock Green
#02C14D
ΔE00 2.60
Medium Green
#39AD48
ΔE00 3.83
Algae Green
#21C36F
ΔE00 4.20
Dark Mint
#48C072
ΔE00 4.27
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31BA56 #BA3195
analogous
#51BA31 #31BA56 #31BA9A
triadic
#31BA56 #5631BA #BA5631
tetradic
#31BA56 #3151BA #BA3195 #BA9A31
square
#31BA56 #3151BA #BA3195 #BA9A31
split-complementary
#31BA56 #9A31BA #BA3151
monochromatic
#175929 #248A40 #31BA56 #56D277 #86DF9E
Accessibility & contrast
On white
2.53
#31BA56 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.29
#31BA56 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31BA56
8.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31BA56 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31BA56 | 1.00 | 2.53 | 8.29 | 8.29 |
| #FFFFFF | 2.53 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.29 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.29 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA94D
Deuteranopia (green-blind)
#AC9E5E
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #31ba56; /* rgb */ color: rgb(49, 186, 86); /* oklch */ color: oklch(69.5% 0.182 148.0);
Tailwind
colors: {
custom: {
50: '#7dd088',
500: '#31ba56',
950: '#000000',
},
}SCSS
$custom: #31ba56; $custom-light: #7dd088; $custom-dark: #000000;
JSON
{
"hex": "#31ba56",
"rgb": {
"r": 49,
"g": 186,
"b": 86
},
"hsl": {
"h": 136.204,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.69511,
"c": 0.18172,
"h": 148
},
"luminance": 0.36443
}Semantic roles & 50–950 ramp
primary
#31BA56
secondary
#C97EB5
accent
#46B8E2
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C