#31AB58#31AB58

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

Color values

HEX#31AB58
RGBrgb(49, 171, 88)
HSLhsl(139, 55%, 43%)
HSVhsv(139, 71%, 67%)
CMYKcmyk(71.3%, 0%, 48.5%, 32.9%)
CIE-LABlab(62.07, -51.56, 33.21)
CIE-LCHlch(62.07, 61.33, 147.22°)
OKLaboklab(65.56% -0.1388 0.0809)
OKLCHoklch(65.56% 0.161 149.8)
XYZxyz(17.5896, 30.4814, 14.1871)
Luminance0.3048 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB58 #AB3184
analogous
#47AB31 #31AB58 #31AB95
triadic
#31AB58 #5831AB #AB5831
tetradic
#31AB58 #3147AB #AB3184 #AB9531
square
#31AB58 #3147AB #AB3184 #AB9531
split-complementary
#31AB58 #9531AB #AB3147
monochromatic
#164C27 #237B40 #31AB58 #4DCC76 #7DDA9A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB58#FFFFFF#000000##000000
##31AB581.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)
#AC9C51
Deuteranopia (green-blind)
#9D925E
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab58;
/* rgb */ color: rgb(49, 171, 88);
/* oklch */ color: oklch(65.6% 0.161 149.8);
Tailwind
colors: {
  custom: {
    50: '#7ac588',
    500: '#31ab58',
    950: '#000000',
  },
}
SCSS
$custom: #31ab58;
$custom-light: #7ac588;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab58",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 88
  },
  "hsl": {
    "h": 139.18,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6556,
    "c": 0.16068,
    "h": 149.8
  },
  "luminance": 0.30483
}

Semantic roles & 50–950 ramp

primary
#31AB58
secondary
#C275AA
accent
#49AFDF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AB58

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

Preview Lab → · Contrast checker → · Palette generator →

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