#31A156#31A156

#31A156 is a light, vivid green. Relative luminance 0.268; OKLCH L 62.9% C 0.149 H 150.4°. Best body text is #000000 at 6.36:1 contrast (WCAG AA passes).

Color values

HEX#31A156
RGBrgb(49, 161, 86)
HSLhsl(140, 53%, 41%)
HSVhsv(140, 70%, 63%)
CMYKcmyk(69.6%, 0%, 46.6%, 36.9%)
CIE-LABlab(58.80, -48.13, 30.11)
CIE-LCHlch(58.80, 56.77, 147.98°)
OKLaboklab(62.85% -0.1297 0.0738)
OKLCHoklch(62.85% 0.149 150.4)
XYZxyz(15.6899, 26.8129, 13.1508)
Luminance0.2681 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A156 #A1317C
analogous
#44A131 #31A156 #31A18E
triadic
#31A156 #5631A1 #A15631
tetradic
#31A156 #3144A1 #A1317C #A18E31
square
#31A156 #3144A1 #A1317C #A18E31
split-complementary
#31A156 #8E31A1 #A13144
monochromatic
#144324 #23723D #31A156 #48C772 #77D696

Accessibility & contrast

On white

3.30
#31A156 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.36
#31A156 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A156
6.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A156#FFFFFF#000000##000000
##31A1561.003.306.366.36
#FFFFFF3.301.0021.0021.00
#0000006.3621.001.001.00
##0000006.3621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29350
Deuteranopia (green-blind)
#948A5B
Tritanopia (blue-blind)
#009E8F
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a156;
/* rgb */ color: rgb(49, 161, 86);
/* oklch */ color: oklch(62.9% 0.149 150.4);
Tailwind
colors: {
  custom: {
    50: '#78be87',
    500: '#31a156',
    950: '#000000',
  },
}
SCSS
$custom: #31a156;
$custom-light: #78be87;
$custom-dark: #000000;
JSON
{
  "hex": "#31a156",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 86
  },
  "hsl": {
    "h": 139.821,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62854,
    "c": 0.1492,
    "h": 150.4
  },
  "luminance": 0.26815
}

Semantic roles & 50–950 ramp

primary
#31A156
secondary
#BE70A4
accent
#4BADDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A156

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

Preview Lab → · Contrast checker → · Palette generator →

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