#31AB5E#31AB5E

#31AB5E is a light, vivid green. Relative luminance 0.306; OKLCH L 65.7% C 0.155 H 151.4°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31AB5E
RGBrgb(49, 171, 94)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 67%)
CMYKcmyk(71.3%, 0%, 45%, 32.9%)
CIE-LABlab(62.16, -50.55, 30.21)
CIE-LCHlch(62.16, 58.89, 149.14°)
OKLaboklab(65.66% -0.1361 0.0743)
OKLCHoklch(65.66% 0.155 151.4)
XYZxyz(17.8484, 30.5849, 15.5503)
Luminance0.3059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5E #AB317E
analogous
#41AB31 #31AB5E #31AB9B
triadic
#31AB5E #5E31AB #AB5E31
tetradic
#31AB5E #3141AB #AB317E #AB9B31
square
#31AB5E #3141AB #AB317E #AB9B31
split-complementary
#31AB5E #9B31AB #AB3141
monochromatic
#164C2A #237B44 #31AB5E #4DCC7C #7DDA9F

Accessibility & contrast

On white

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

On black

7.12
#31AB5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB5E
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB5E#FFFFFF#000000##000000
##31AB5E1.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ab5e;
/* rgb */ color: rgb(49, 171, 94);
/* oklch */ color: oklch(65.7% 0.155 151.4);
Tailwind
colors: {
  custom: {
    50: '#7ac58d',
    500: '#31ab5e',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5e;
$custom-light: #7ac58d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5e",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 94
  },
  "hsl": {
    "h": 142.131,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65662,
    "c": 0.15511,
    "h": 151.4
  },
  "luminance": 0.30587
}

Semantic roles & 50–950 ramp

primary
#31AB5E
secondary
#C275A6
accent
#49A8DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB5E

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

Preview Lab → · Contrast checker → · Palette generator →

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