#31AB5A#31AB5A

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

Color values

HEX#31AB5A
RGBrgb(49, 171, 90)
HSLhsl(140, 55%, 43%)
HSVhsv(140, 71%, 67%)
CMYKcmyk(71.3%, 0%, 47.4%, 32.9%)
CIE-LABlab(62.10, -51.24, 32.21)
CIE-LCHlch(62.10, 60.52, 147.84°)
OKLaboklab(65.59% -0.1379 0.0788)
OKLCHoklch(65.59% 0.159 150.3)
XYZxyz(17.6736, 30.5150, 14.6294)
Luminance0.3052 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB5A #AB3182
analogous
#45AB31 #31AB5A #31AB97
triadic
#31AB5A #5A31AB #AB5A31
tetradic
#31AB5A #3145AB #AB3182 #AB9731
square
#31AB5A #3145AB #AB3182 #AB9731
split-complementary
#31AB5A #9731AB #AB3145
monochromatic
#164C28 #237B41 #31AB5A #4DCC78 #7DDA9C

Accessibility & contrast

On white

2.96
#31AB5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.10
#31AB5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB5A
7.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB5A#FFFFFF#000000##000000
##31AB5A1.002.967.107.10
#FFFFFF2.961.0021.0021.00
#0000007.1021.001.001.00
##0000007.1021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ab5a;
/* rgb */ color: rgb(49, 171, 90);
/* oklch */ color: oklch(65.6% 0.159 150.3);
Tailwind
colors: {
  custom: {
    50: '#7ac58a',
    500: '#31ab5a',
    950: '#000000',
  },
}
SCSS
$custom: #31ab5a;
$custom-light: #7ac58a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab5a",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 90
  },
  "hsl": {
    "h": 140.164,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65594,
    "c": 0.15884,
    "h": 150.3
  },
  "luminance": 0.30517
}

Semantic roles & 50–950 ramp

primary
#31AB5A
secondary
#C275A9
accent
#49ACDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB5A

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

Preview Lab → · Contrast checker → · Palette generator →

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