#31B76D#31B76D

#31B76D is a light, vivid green. Relative luminance 0.356; OKLCH L 69.1% C 0.157 H 154.0°. Best body text is #000000 at 8.12:1 contrast (WCAG AA passes).

Color values

HEX#31B76D
RGBrgb(49, 183, 109)
HSLhsl(147, 58%, 45%)
HSVhsv(147, 73%, 72%)
CMYKcmyk(73.2%, 0%, 40.4%, 28.2%)
CIE-LABlab(66.23, -52.37, 27.64)
CIE-LCHlch(66.23, 59.21, 152.17°)
OKLaboklab(69.1% -0.1412 0.0688)
OKLCHoklch(69.1% 0.157 154)
XYZxyz(20.9585, 35.6216, 20.2361)
Luminance0.3562 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B76D #B7317B
analogous
#38B731 #31B76D #31B7B0
triadic
#31B76D #6D31B7 #B76D31
tetradic
#31B76D #3138B7 #B7317B #B7B031
square
#31B76D #3138B7 #B7317B #B7B031
split-complementary
#31B76D #B031B7 #B73138
monochromatic
#175633 #248750 #31B76D #54D18C #84DEAD

Accessibility & contrast

On white

2.58
#31B76D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.12
#31B76D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B76D
8.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B76D#FFFFFF#000000##000000
##31B76D1.002.588.128.12
#FFFFFF2.581.0021.0021.00
#0000008.1221.001.001.00
##0000008.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A868
Deuteranopia (green-blind)
#A79C72
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b76d;
/* rgb */ color: rgb(49, 183, 109);
/* oklch */ color: oklch(69.1% 0.157 154.0);
Tailwind
colors: {
  custom: {
    50: '#7cce97',
    500: '#31b76d',
    950: '#000000',
  },
}
SCSS
$custom: #31b76d;
$custom-light: #7cce97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b76d",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 109
  },
  "hsl": {
    "h": 146.866,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69102,
    "c": 0.15704,
    "h": 154
  },
  "luminance": 0.35624
}

Semantic roles & 50–950 ramp

primary
#31B76D
secondary
#C87CA6
accent
#479CE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B76D

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

Preview Lab → · Contrast checker → · Palette generator →

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