#31AB59#31AB59

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

Color values

HEX#31AB59
RGBrgb(49, 171, 89)
HSLhsl(140, 55%, 43%)
HSVhsv(140, 71%, 67%)
CMYKcmyk(71.3%, 0%, 48%, 32.9%)
CIE-LABlab(62.08, -51.40, 32.71)
CIE-LCHlch(62.08, 60.93, 147.53°)
OKLaboklab(65.58% -0.1384 0.0799)
OKLCHoklch(65.58% 0.16 150)
XYZxyz(17.6313, 30.4981, 14.4068)
Luminance0.3050 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB59 #AB3183
analogous
#46AB31 #31AB59 #31AB96
triadic
#31AB59 #5931AB #AB5931
tetradic
#31AB59 #3146AB #AB3183 #AB9631
square
#31AB59 #3146AB #AB3183 #AB9631
split-complementary
#31AB59 #9631AB #AB3146
monochromatic
#164C27 #237B40 #31AB59 #4DCC77 #7DDA9B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB59#FFFFFF#000000##000000
##31AB591.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)
#AC9C52
Deuteranopia (green-blind)
#9D925F
Tritanopia (blue-blind)
#00A898
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab59;
/* rgb */ color: rgb(49, 171, 89);
/* oklch */ color: oklch(65.6% 0.160 150.0);
Tailwind
colors: {
  custom: {
    50: '#7ac589',
    500: '#31ab59',
    950: '#000000',
  },
}
SCSS
$custom: #31ab59;
$custom-light: #7ac589;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab59",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 89
  },
  "hsl": {
    "h": 139.672,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65577,
    "c": 0.15976,
    "h": 150
  },
  "luminance": 0.305
}

Semantic roles & 50–950 ramp

primary
#31AB59
secondary
#C275A9
accent
#49AEDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AB59

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

Preview Lab → · Contrast checker → · Palette generator →

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