#31B96C#31B96C

#31B96C is a light, vivid green. Relative luminance 0.364; OKLCH L 69.6% C 0.161 H 153.4°. Best body text is #000000 at 8.29:1 contrast (WCAG AA passes).

Color values

HEX#31B96C
RGBrgb(49, 185, 108)
HSLhsl(146, 58%, 46%)
HSVhsv(146, 74%, 73%)
CMYKcmyk(73.5%, 0%, 41.6%, 27.5%)
CIE-LABlab(66.85, -53.30, 28.98)
CIE-LCHlch(66.85, 60.67, 151.47°)
OKLaboklab(69.61% -0.1436 0.0719)
OKLCHoklch(69.61% 0.161 153.4)
XYZxyz(21.3204, 36.4311, 20.0927)
Luminance0.3643 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B96C #B9317E
analogous
#3AB931 #31B96C #31B9B0
triadic
#31B96C #6C31B9 #B96C31
tetradic
#31B96C #313AB9 #B9317E #B9B031
square
#31B96C #313AB9 #B9317E #B9B031
split-complementary
#31B96C #B031B9 #B9313A
monochromatic
#175834 #248950 #31B96C #55D28B #86DFAC

Accessibility & contrast

On white

2.53
#31B96C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.29
#31B96C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B96C
8.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B96C#FFFFFF#000000##000000
##31B96C1.002.538.298.29
#FFFFFF2.531.0021.0021.00
#0000008.2921.001.001.00
##0000008.2921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AA67
Deuteranopia (green-blind)
#A99E71
Tritanopia (blue-blind)
#00B7A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b96c;
/* rgb */ color: rgb(49, 185, 108);
/* oklch */ color: oklch(69.6% 0.161 153.4);
Tailwind
colors: {
  custom: {
    50: '#7dcf97',
    500: '#31b96c',
    950: '#000000',
  },
}
SCSS
$custom: #31b96c;
$custom-light: #7dcf97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b96c",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 108
  },
  "hsl": {
    "h": 146.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69607,
    "c": 0.16059,
    "h": 153.4
  },
  "luminance": 0.36434
}

Semantic roles & 50–950 ramp

primary
#31B96C
secondary
#C87DA8
accent
#469EE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B96C

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

Preview Lab → · Contrast checker → · Palette generator →

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