#31B36B#31B36B

#31B36B is a light, vivid green. Relative luminance 0.340; OKLCH L 68.0% C 0.154 H 154.1°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B36B
RGBrgb(49, 179, 107)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 73%, 70%)
CMYKcmyk(72.6%, 0%, 40.2%, 29.8%)
CIE-LABlab(64.92, -51.23, 26.98)
CIE-LCHlch(64.92, 57.90, 152.23°)
OKLaboklab(68.02% -0.1382 0.0671)
OKLCHoklch(68.02% 0.154 154.1)
XYZxyz(20.0387, 33.9524, 19.4044)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B36B #B33179
analogous
#38B331 #31B36B #31B3AC
triadic
#31B36B #6B31B3 #B36B31
tetradic
#31B36B #3138B3 #B33179 #B3AC31
square
#31B36B #3138B3 #B33179 #B3AC31
split-complementary
#31B36B #AC31B3 #B33138
monochromatic
#175332 #24834E #31B36B #52D08A #82DDAA

Accessibility & contrast

On white

2.70
#31B36B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.79
#31B36B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B36B
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B36B#FFFFFF#000000##000000
##31B36B1.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A466
Deuteranopia (green-blind)
#A39970
Tritanopia (blue-blind)
#00B1A1
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b36b;
/* rgb */ color: rgb(49, 179, 107);
/* oklch */ color: oklch(68.0% 0.154 154.1);
Tailwind
colors: {
  custom: {
    50: '#7bcb96',
    500: '#31b36b',
    950: '#000000',
  },
}
SCSS
$custom: #31b36b;
$custom-light: #7bcb96;
$custom-dark: #000000;
JSON
{
  "hex": "#31b36b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 107
  },
  "hsl": {
    "h": 146.769,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.68015,
    "c": 0.15361,
    "h": 154.1
  },
  "luminance": 0.33955
}

Semantic roles & 50–950 ramp

primary
#31B36B
secondary
#C67AA4
accent
#489CE0
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B36B

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

Preview Lab → · Contrast checker → · Palette generator →

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