#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
RGBrgb(49, 177, 86)
HSLhsl(137, 57%, 44%)
HSVhsv(137, 72%, 69%)
CMYKcmyk(72.3%, 0%, 51.4%, 30.6%)
CIE-LABlab(63.97, -54.07, 36.59)
CIE-LCHlch(63.97, 65.29, 145.91°)
OKLaboklab(67.13% -0.1455 0.0885)
OKLCHoklch(67.13% 0.17 148.7)
XYZxyz(18.6670, 32.7670, 14.1432)
Luminance0.3277 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

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
##31B1561.002.787.557.55
#FFFFFF2.781.0021.0021.00
#0000007.5521.001.001.00
##0000007.5521.001.001.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

Preview Lab

Preview with #31B156

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

Preview Lab → · Contrast checker → · Palette generator →

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