#31B36C#31B36C

#31B36C is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.153 H 154.4°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#31B36C
RGBrgb(49, 179, 108)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 73%, 70%)
CMYKcmyk(72.6%, 0%, 39.7%, 29.8%)
CIE-LABlab(64.94, -51.04, 26.47)
CIE-LCHlch(64.94, 57.49, 152.59°)
OKLaboklab(68.03% -0.1377 0.066)
OKLCHoklch(68.03% 0.153 154.4)
XYZxyz(20.0917, 33.9736, 19.6831)
Luminance0.3398 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B36C #B33178
analogous
#37B331 #31B36C #31B3AD
triadic
#31B36C #6C31B3 #B36C31
tetradic
#31B36C #3137B3 #B33178 #B3AD31
square
#31B36C #3137B3 #B33178 #B3AD31
split-complementary
#31B36C #AD31B3 #B33137
monochromatic
#175332 #24834F #31B36C #52D08B #82DDAB

Accessibility & contrast

On white

2.69
#31B36C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#31B36C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B36C
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B36C#FFFFFF#000000##000000
##31B36C1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A467
Deuteranopia (green-blind)
#A39971
Tritanopia (blue-blind)
#00B1A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b36c;
/* rgb */ color: rgb(49, 179, 108);
/* oklch */ color: oklch(68.0% 0.153 154.4);
Tailwind
colors: {
  custom: {
    50: '#7bcb97',
    500: '#31b36c',
    950: '#000000',
  },
}
SCSS
$custom: #31b36c;
$custom-light: #7bcb97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b36c",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 108
  },
  "hsl": {
    "h": 147.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68034,
    "c": 0.15268,
    "h": 154.4
  },
  "luminance": 0.33976
}

Semantic roles & 50–950 ramp

primary
#31B36C
secondary
#C67AA3
accent
#489BE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B36C

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

Preview Lab → · Contrast checker → · Palette generator →

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