#31B56A#31B56A

#31B56A is a light, vivid green. Relative luminance 0.347; OKLCH L 68.5% C 0.157 H 153.4°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B56A
RGBrgb(49, 181, 106)
HSLhsl(146, 57%, 45%)
HSVhsv(146, 73%, 71%)
CMYKcmyk(72.9%, 0%, 41.4%, 29%)
CIE-LABlab(65.55, -52.17, 28.32)
CIE-LCHlch(65.55, 59.36, 151.51°)
OKLaboklab(68.52% -0.1406 0.0703)
OKLCHoklch(68.52% 0.157 153.4)
XYZxyz(20.3902, 34.7390, 19.2636)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56A #B5317C
analogous
#3AB531 #31B56A #31B5AC
triadic
#31B56A #6A31B5 #B56A31
tetradic
#31B56A #313AB5 #B5317C #B5AC31
square
#31B56A #313AB5 #B5317C #B5AC31
split-complementary
#31B56A #AC31B5 #B5313A
monochromatic
#175532 #24854E #31B56A #53D089 #83DDAA

Accessibility & contrast

On white

2.64
#31B56A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B56A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B56A
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B56A#FFFFFF#000000##000000
##31B56A1.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A665
Deuteranopia (green-blind)
#A59B6F
Tritanopia (blue-blind)
#00B3A2
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56a;
/* rgb */ color: rgb(49, 181, 106);
/* oklch */ color: oklch(68.5% 0.157 153.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc95',
    500: '#31b56a',
    950: '#000000',
  },
}
SCSS
$custom: #31b56a;
$custom-light: #7ccc95;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56a",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 106
  },
  "hsl": {
    "h": 145.909,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68521,
    "c": 0.15718,
    "h": 153.4
  },
  "luminance": 0.34741
}

Semantic roles & 50–950 ramp

primary
#31B56A
secondary
#C77BA6
accent
#479EE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B56A

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#31B56A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva