#31C16C#31C16C

#31C16C is a light, vivid green. Relative luminance 0.399; OKLCH L 71.7% C 0.171 H 152.3°. Best body text is #000000 at 8.98:1 contrast (WCAG AA passes).

Color values

HEX#31C16C
RGBrgb(49, 193, 108)
HSLhsl(145, 60%, 47%)
HSVhsv(145, 75%, 76%)
CMYKcmyk(74.6%, 0%, 44%, 24.3%)
CIE-LABlab(69.38, -56.25, 32.27)
CIE-LCHlch(69.38, 64.85, 150.16°)
OKLaboklab(71.7% -0.1513 0.0795)
OKLCHoklch(71.7% 0.171 152.3)
XYZxyz(23.0413, 39.8729, 20.6663)
Luminance0.3988 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C16C #C13186
analogous
#3EC131 #31C16C #31C1B4
triadic
#31C16C #6C31C1 #C16C31
tetradic
#31C16C #313EC1 #C13186 #C1B431
square
#31C16C #313EC1 #C13186 #C1B431
split-complementary
#31C16C #B431C1 #C1313E
monochromatic
#185F35 #259051 #31C16C #5AD58C #8BE2AE

Accessibility & contrast

On white

2.34
#31C16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.98
#31C16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C16C
8.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C16C#FFFFFF#000000##000000
##31C16C1.002.348.988.98
#FFFFFF2.341.0021.0021.00
#0000008.9821.001.001.00
##0000008.9821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1B166
Deuteranopia (green-blind)
#B0A572
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c16c;
/* rgb */ color: rgb(49, 193, 108);
/* oklch */ color: oklch(71.7% 0.171 152.3);
Tailwind
colors: {
  custom: {
    50: '#7ed597',
    500: '#31c16c',
    950: '#000000',
  },
}
SCSS
$custom: #31c16c;
$custom-light: #7ed597;
$custom-dark: #000000;
JSON
{
  "hex": "#31c16c",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 108
  },
  "hsl": {
    "h": 144.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71697,
    "c": 0.17097,
    "h": 152.3
  },
  "luminance": 0.39876
}

Semantic roles & 50–950 ramp

primary
#31C16C
secondary
#CC82AE
accent
#45A2E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140D
muted
#7C837E

Preview Lab

Preview with #31C16C

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

Preview Lab → · Contrast checker → · Palette generator →

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