#31AB5B#31AB5B

#31AB5B is a light, vivid green. Relative luminance 0.305; OKLCH L 65.6% C 0.158 H 150.5°. Best body text is #000000 at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#31AB5B
RGBrgb(49, 171, 91)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 67%)
CMYKcmyk(71.3%, 0%, 46.8%, 32.9%)
CIE-LABlab(62.11, -51.07, 31.71)
CIE-LCHlch(62.11, 60.11, 148.16°)
OKLaboklab(65.61% -0.1375 0.0777)
OKLCHoklch(65.61% 0.158 150.5)
XYZxyz(17.7164, 30.5321, 14.8551)
Luminance0.3053 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5B #AB3181
analogous
#44AB31 #31AB5B #31AB98
triadic
#31AB5B #5B31AB #AB5B31
tetradic
#31AB5B #3144AB #AB3181 #AB9831
square
#31AB5B #3144AB #AB3181 #AB9831
split-complementary
#31AB5B #9831AB #AB3144
monochromatic
#164C28 #237B42 #31AB5B #4DCC79 #7DDA9D

Accessibility & contrast

On white

2.95
#31AB5B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.11
#31AB5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB5B
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB5B#FFFFFF#000000##000000
##31AB5B1.002.957.117.11
#FFFFFF2.951.0021.0021.00
#0000007.1121.001.001.00
##0000007.1121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9C55
Deuteranopia (green-blind)
#9D9261
Tritanopia (blue-blind)
#00A898
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab5b;
/* rgb */ color: rgb(49, 171, 91);
/* oklch */ color: oklch(65.6% 0.158 150.5);
Tailwind
colors: {
  custom: {
    50: '#7ac58a',
    500: '#31ab5b',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5b;
$custom-light: #7ac58a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5b",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 91
  },
  "hsl": {
    "h": 140.656,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6561,
    "c": 0.1579,
    "h": 150.5
  },
  "luminance": 0.30534
}

Semantic roles & 50–950 ramp

primary
#31AB5B
secondary
#C275A8
accent
#49ABDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB5B

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

Preview Lab → · Contrast checker → · Palette generator →

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