#31AB6B#31AB6B

#31AB6B is a light, vivid green. Relative luminance 0.308; OKLCH L 65.9% C 0.143 H 155.6°. Best body text is #000000 at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#31AB6B
RGBrgb(49, 171, 107)
HSLhsl(149, 55%, 43%)
HSVhsv(149, 71%, 67%)
CMYKcmyk(71.3%, 0%, 37.4%, 32.9%)
CIE-LABlab(62.37, -48.13, 23.59)
CIE-LCHlch(62.37, 53.60, 153.90°)
OKLaboklab(65.91% -0.1301 0.0591)
OKLCHoklch(65.91% 0.143 155.6)
XYZxyz(18.4817, 30.8382, 18.8854)
Luminance0.3084 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB6B #AB3171
analogous
#34AB31 #31AB6B #31ABA8
triadic
#31AB6B #6B31AB #AB6B31
tetradic
#31AB6B #3134AB #AB3171 #ABA831
square
#31AB6B #3134AB #AB3171 #ABA831
split-complementary
#31AB6B #A831AB #AB3134
monochromatic
#164C2F #237B4D #31AB6B #4DCC89 #7DDAA9

Accessibility & contrast

On white

2.93
#31AB6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.17
#31AB6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB6B
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB6B#FFFFFF#000000##000000
##31AB6B1.002.937.177.17
#FFFFFF2.931.0021.0021.00
#0000007.1721.001.001.00
##0000007.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9D67
Deuteranopia (green-blind)
#9B926F
Tritanopia (blue-blind)
#00A99B
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ab6b;
/* rgb */ color: rgb(49, 171, 107);
/* oklch */ color: oklch(65.9% 0.143 155.6);
Tailwind
colors: {
  custom: {
    50: '#7ac596',
    500: '#31ab6b',
    950: '#000000',
  },
}
SCSS
$custom: #31ab6b;
$custom-light: #7ac596;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab6b",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 107
  },
  "hsl": {
    "h": 148.525,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.14292,
    "h": 155.6
  },
  "luminance": 0.3084
}

Semantic roles & 50–950 ramp

primary
#31AB6B
secondary
#C2759E
accent
#4998DF
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0A130D
muted
#7C827E

Preview Lab

Preview with #31AB6B

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

Preview Lab → · Contrast checker → · Palette generator →

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