#31AB4E#31AB4E

#31AB4E is a light, vivid green. Relative luminance 0.303; OKLCH L 65.4% C 0.170 H 147.4°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AB4E
RGBrgb(49, 171, 78)
HSLhsl(134, 55%, 43%)
HSVhsv(134, 71%, 67%)
CMYKcmyk(71.3%, 0%, 54.4%, 32.9%)
CIE-LABlab(61.94, -53.10, 38.08)
CIE-LCHlch(61.94, 65.34, 144.36°)
OKLaboklab(65.41% -0.143 0.0913)
OKLCHoklch(65.41% 0.17 147.4)
XYZxyz(17.2034, 30.3269, 12.1533)
Luminance0.3033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB4E #AB318E
analogous
#51AB31 #31AB4E #31AB8B
triadic
#31AB4E #4E31AB #AB4E31
tetradic
#31AB4E #3151AB #AB318E #AB8B31
square
#31AB4E #3151AB #AB318E #AB8B31
split-complementary
#31AB4E #8B31AB #AB3151
monochromatic
#164C23 #237B38 #31AB4E #4DCC6B #7DDA93

Accessibility & contrast

On white

2.97
#31AB4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31AB4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB4E
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB4E#FFFFFF#000000##000000
##31AB4E1.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C46
Deuteranopia (green-blind)
#9F9255
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab4e;
/* rgb */ color: rgb(49, 171, 78);
/* oklch */ color: oklch(65.4% 0.170 147.4);
Tailwind
colors: {
  custom: {
    50: '#7ac582',
    500: '#31ab4e',
    950: '#000000',
  },
}
SCSS
$custom: #31ab4e;
$custom-light: #7ac582;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab4e",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 78
  },
  "hsl": {
    "h": 134.262,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65408,
    "c": 0.16969,
    "h": 147.4
  },
  "luminance": 0.30329
}

Semantic roles & 50–950 ramp

primary
#31AB4E
secondary
#C275B0
accent
#49BBDF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AB4E

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

Preview Lab → · Contrast checker → · Palette generator →

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