#31B56D#31B56D

#31B56D is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.154 H 154.4°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#31B56D
RGBrgb(49, 181, 109)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 73%, 71%)
CMYKcmyk(72.9%, 0%, 39.8%, 29%)
CIE-LABlab(65.59, -51.61, 26.80)
CIE-LCHlch(65.59, 58.15, 152.56°)
OKLaboklab(68.58% -0.1392 0.0668)
OKLCHoklch(68.58% 0.154 154.4)
XYZxyz(20.5489, 34.8025, 20.0996)
Luminance0.3481 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56D #B53179
analogous
#37B531 #31B56D #31B5AF
triadic
#31B56D #6D31B5 #B56D31
tetradic
#31B56D #3137B5 #B53179 #B5AF31
square
#31B56D #3137B5 #B53179 #B5AF31
split-complementary
#31B56D #AF31B5 #B53137
monochromatic
#175533 #248550 #31B56D #53D08C #83DDAC

Accessibility & contrast

On white

2.64
#31B56D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#31B56D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B56D
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B56D#FFFFFF#000000##000000
##31B56D1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A668
Deuteranopia (green-blind)
#A59B72
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56d;
/* rgb */ color: rgb(49, 181, 109);
/* oklch */ color: oklch(68.6% 0.154 154.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc97',
    500: '#31b56d',
    950: '#000000',
  },
}
SCSS
$custom: #31b56d;
$custom-light: #7ccc97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56d",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 109
  },
  "hsl": {
    "h": 147.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68578,
    "c": 0.1544,
    "h": 154.4
  },
  "luminance": 0.34805
}

Semantic roles & 50–950 ramp

primary
#31B56D
secondary
#C77BA4
accent
#479BE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B56D

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

Preview Lab → · Contrast checker → · Palette generator →

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