#31B96F#31B96F

#31B96F is a light, vivid green. Relative luminance 0.365; OKLCH L 69.7% C 0.158 H 154.3°. Best body text is #000000 at 8.30:1 contrast (WCAG AA passes).

Color values

HEX#31B96F
RGBrgb(49, 185, 111)
HSLhsl(147, 58%, 46%)
HSVhsv(147, 74%, 73%)
CMYKcmyk(73.5%, 0%, 40%, 27.5%)
CIE-LABlab(66.90, -52.75, 27.47)
CIE-LCHlch(66.90, 59.47, 152.49°)
OKLaboklab(69.66% -0.1422 0.0684)
OKLCHoklch(69.66% 0.158 154.3)
XYZxyz(21.4828, 36.4961, 20.9481)
Luminance0.3650 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B96F #B9317B
analogous
#37B931 #31B96F #31B9B3
triadic
#31B96F #6F31B9 #B96F31
tetradic
#31B96F #3137B9 #B9317B #B9B331
square
#31B96F #3137B9 #B9317B #B9B331
split-complementary
#31B96F #B331B9 #B93137
monochromatic
#175835 #248952 #31B96F #55D28E #86DFAE

Accessibility & contrast

On white

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

On black

8.30
#31B96F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B96F
8.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B96F#FFFFFF#000000##000000
##31B96F1.002.538.308.30
#FFFFFF2.531.0021.0021.00
#0000008.3021.001.001.00
##0000008.3021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b96f;
/* rgb */ color: rgb(49, 185, 111);
/* oklch */ color: oklch(69.7% 0.158 154.3);
Tailwind
colors: {
  custom: {
    50: '#7ccf99',
    500: '#31b96f',
    950: '#000000',
  },
}
SCSS
$custom: #31b96f;
$custom-light: #7ccf99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b96f",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 111
  },
  "hsl": {
    "h": 147.353,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69664,
    "c": 0.15783,
    "h": 154.3
  },
  "luminance": 0.36499
}

Semantic roles & 50–950 ramp

primary
#31B96F
secondary
#C87DA6
accent
#469BE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B96F

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

Preview Lab → · Contrast checker → · Palette generator →

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