#31B137#31B137

#31B137 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.8% C 0.195 H 143.6°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31B137
RGBrgb(49, 177, 55)
HSLhsl(123, 57%, 44%)
HSVhsv(123, 72%, 69%)
CMYKcmyk(72.3%, 0%, 68.9%, 30.6%)
CIE-LABlab(63.65, -57.91, 50.43)
CIE-LCHlch(63.65, 76.79, 138.95°)
OKLaboklab(66.75% -0.1569 0.1158)
OKLCHoklch(66.75% 0.195 143.6)
XYZxyz(17.6772, 32.3711, 8.9303)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B137 #B131AB
analogous
#6BB131 #31B137 #31B177
triadic
#31B137 #3731B1 #B13731
tetradic
#31B137 #316BB1 #B131AB #B17731
square
#31B137 #316BB1 #B131AB #B17731
split-complementary
#31B137 #7731B1 #B1316B
monochromatic
#165119 #248128 #31B137 #51CF56 #80DC85

Accessibility & contrast

On white

2.81
#31B137 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31B137 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B137
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B137#FFFFFF#000000##000000
##31B1371.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A025
Deuteranopia (green-blind)
#A69643
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b137;
/* rgb */ color: rgb(49, 177, 55);
/* oklch */ color: oklch(66.8% 0.195 143.6);
Tailwind
colors: {
  custom: {
    50: '#7dc974',
    500: '#31b137',
    950: '#000000',
  },
}
SCSS
$custom: #31b137;
$custom-light: #7dc974;
$custom-dark: #000000;
JSON
{
  "hex": "#31b137",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 55
  },
  "hsl": {
    "h": 122.813,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66753,
    "c": 0.19499,
    "h": 143.6
  },
  "luminance": 0.32373
}

Semantic roles & 50–950 ramp

primary
#31B137
secondary
#C579C1
accent
#48D9E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B137

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

Preview Lab → · Contrast checker → · Palette generator →

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