#31B96A#31B96A

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

Color values

HEX#31B96A
RGBrgb(49, 185, 106)
HSLhsl(145, 58%, 46%)
HSVhsv(145, 74%, 73%)
CMYKcmyk(73.5%, 0%, 42.7%, 27.5%)
CIE-LABlab(66.82, -53.67, 29.98)
CIE-LCHlch(66.82, 61.47, 150.81°)
OKLaboklab(69.57% -0.1445 0.0742)
OKLCHoklch(69.57% 0.162 152.8)
XYZxyz(21.2152, 36.3890, 19.5386)
Luminance0.3639 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B96A #B93180
analogous
#3CB931 #31B96A #31B9AE
triadic
#31B96A #6A31B9 #B96A31
tetradic
#31B96A #313CB9 #B93180 #B9AE31
square
#31B96A #313CB9 #B93180 #B9AE31
split-complementary
#31B96A #AE31B9 #B9313C
monochromatic
#175833 #24894E #31B96A #55D28A #86DFAB

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B96A#FFFFFF#000000##000000
##31B96A1.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)
#B9A964
Deuteranopia (green-blind)
#A99E6F
Tritanopia (blue-blind)
#00B6A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b96a;
/* rgb */ color: rgb(49, 185, 106);
/* oklch */ color: oklch(69.6% 0.162 152.8);
Tailwind
colors: {
  custom: {
    50: '#7dcf95',
    500: '#31b96a',
    950: '#000000',
  },
}
SCSS
$custom: #31b96a;
$custom-light: #7dcf95;
$custom-dark: #000000;
JSON
{
  "hex": "#31b96a",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 106
  },
  "hsl": {
    "h": 145.147,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6957,
    "c": 0.16244,
    "h": 152.8
  },
  "luminance": 0.36391
}

Semantic roles & 50–950 ramp

primary
#31B96A
secondary
#C87DA9
accent
#46A0E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31B96A

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

Preview Lab → · Contrast checker → · Palette generator →

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