#31B96B#31B96B

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

Color values

HEX#31B96B
RGBrgb(49, 185, 107)
HSLhsl(146, 58%, 46%)
HSVhsv(146, 74%, 73%)
CMYKcmyk(73.5%, 0%, 42.2%, 27.5%)
CIE-LABlab(66.83, -53.49, 29.48)
CIE-LCHlch(66.83, 61.07, 151.14°)
OKLaboklab(69.59% -0.1441 0.073)
OKLCHoklch(69.59% 0.162 153.1)
XYZxyz(21.2675, 36.4100, 19.8140)
Luminance0.3641 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B96B #B9317F
analogous
#3BB931 #31B96B #31B9AF
triadic
#31B96B #6B31B9 #B96B31
tetradic
#31B96B #313BB9 #B9317F #B9AF31
square
#31B96B #313BB9 #B9317F #B9AF31
split-complementary
#31B96B #AF31B9 #B9313B
monochromatic
#175833 #24894F #31B96B #55D28A #86DFAC

Accessibility & contrast

On white

2.54
#31B96B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#31B96B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B96B
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B96B#FFFFFF#000000##000000
##31B96B1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b96b;
/* rgb */ color: rgb(49, 185, 107);
/* oklch */ color: oklch(69.6% 0.162 153.1);
Tailwind
colors: {
  custom: {
    50: '#7dcf96',
    500: '#31b96b',
    950: '#000000',
  },
}
SCSS
$custom: #31b96b;
$custom-light: #7dcf96;
$custom-dark: #000000;
JSON
{
  "hex": "#31b96b",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 107
  },
  "hsl": {
    "h": 145.588,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69589,
    "c": 0.16151,
    "h": 153.1
  },
  "luminance": 0.36412
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B96B

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

Preview Lab → · Contrast checker → · Palette generator →

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