#31B16C#31B16C

#31B16C is a light, vivid green. Relative luminance 0.332; OKLCH L 67.5% C 0.150 H 154.8°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).

Color values

HEX#31B16C
RGBrgb(49, 177, 108)
HSLhsl(148, 57%, 44%)
HSVhsv(148, 72%, 69%)
CMYKcmyk(72.3%, 0%, 39%, 30.6%)
CIE-LABlab(64.30, -50.27, 25.62)
CIE-LCHlch(64.30, 56.43, 152.99°)
OKLaboklab(67.51% -0.1357 0.064)
OKLCHoklch(67.51% 0.15 154.8)
XYZxyz(19.6937, 33.1777, 19.5505)
Luminance0.3318 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B16C #B13176
analogous
#36B131 #31B16C #31B1AC
triadic
#31B16C #6C31B1 #B16C31
tetradic
#31B16C #3136B1 #B13176 #B1AC31
square
#31B16C #3136B1 #B13176 #B1AC31
split-complementary
#31B16C #AC31B1 #B13136
monochromatic
#165132 #24814F #31B16C #51CF8B #80DCAB

Accessibility & contrast

On white

2.75
#31B16C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.64
#31B16C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B16C
7.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B16C#FFFFFF#000000##000000
##31B16C1.002.757.647.64
#FFFFFF2.751.0021.0021.00
#0000007.6421.001.001.00
##0000007.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A367
Deuteranopia (green-blind)
#A19771
Tritanopia (blue-blind)
#00AFA0
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b16c;
/* rgb */ color: rgb(49, 177, 108);
/* oklch */ color: oklch(67.5% 0.150 154.8);
Tailwind
colors: {
  custom: {
    50: '#7bc996',
    500: '#31b16c',
    950: '#000000',
  },
}
SCSS
$custom: #31b16c;
$custom-light: #7bc996;
$custom-dark: #000000;
JSON
{
  "hex": "#31b16c",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 108
  },
  "hsl": {
    "h": 147.656,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67509,
    "c": 0.15003,
    "h": 154.8
  },
  "luminance": 0.3318
}

Semantic roles & 50–950 ramp

primary
#31B16C
secondary
#C579A2
accent
#489AE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B16C

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

Preview Lab → · Contrast checker → · Palette generator →

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