#31B56B#31B56B

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

Color values

HEX#31B56B
RGBrgb(49, 181, 107)
HSLhsl(146, 57%, 45%)
HSVhsv(146, 73%, 71%)
CMYKcmyk(72.9%, 0%, 40.9%, 29%)
CIE-LABlab(65.56, -51.98, 27.81)
CIE-LCHlch(65.56, 58.96, 151.85°)
OKLaboklab(68.54% -0.1401 0.0691)
OKLCHoklch(68.54% 0.156 153.7)
XYZxyz(20.4425, 34.7599, 19.5390)
Luminance0.3476 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56B #B5317B
analogous
#39B531 #31B56B #31B5AD
triadic
#31B56B #6B31B5 #B56B31
tetradic
#31B56B #3139B5 #B5317B #B5AD31
square
#31B56B #3139B5 #B5317B #B5AD31
split-complementary
#31B56B #AD31B5 #B53139
monochromatic
#175532 #24854F #31B56B #53D08A #83DDAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B56B#FFFFFF#000000##000000
##31B56B1.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)
#B5A666
Deuteranopia (green-blind)
#A59B70
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56b;
/* rgb */ color: rgb(49, 181, 107);
/* oklch */ color: oklch(68.5% 0.156 153.7);
Tailwind
colors: {
  custom: {
    50: '#7ccc96',
    500: '#31b56b',
    950: '#000000',
  },
}
SCSS
$custom: #31b56b;
$custom-light: #7ccc96;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56b",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 107
  },
  "hsl": {
    "h": 146.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6854,
    "c": 0.15625,
    "h": 153.7
  },
  "luminance": 0.34762
}

Semantic roles & 50–950 ramp

primary
#31B56B
secondary
#C77BA5
accent
#479DE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B56B

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

Preview Lab → · Contrast checker → · Palette generator →

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