#31B136#31B136

#31B136 is a light, vivid green. Relative luminance 0.324; OKLCH L 66.7% C 0.196 H 143.5°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31B136
RGBrgb(49, 177, 54)
HSLhsl(122, 57%, 44%)
HSVhsv(122, 72%, 69%)
CMYKcmyk(72.3%, 0%, 69.5%, 30.6%)
CIE-LABlab(63.64, -58.00, 50.82)
CIE-LCHlch(63.64, 77.12, 138.77°)
OKLaboklab(66.74% -0.1572 0.1165)
OKLCHoklch(66.74% 0.196 143.5)
XYZxyz(17.6535, 32.3616, 8.8054)
Luminance0.3236 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B136 #B131AC
analogous
#6CB131 #31B136 #31B176
triadic
#31B136 #3631B1 #B13631
tetradic
#31B136 #316CB1 #B131AC #B17631
square
#31B136 #316CB1 #B131AC #B17631
split-complementary
#31B136 #7631B1 #B1316C
monochromatic
#165119 #248127 #31B136 #51CF55 #80DC84

Accessibility & contrast

On white

2.81
#31B136 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31B136 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B136
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B136#FFFFFF#000000##000000
##31B1361.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A024
Deuteranopia (green-blind)
#A69642
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b136;
/* rgb */ color: rgb(49, 177, 54);
/* oklch */ color: oklch(66.7% 0.196 143.5);
Tailwind
colors: {
  custom: {
    50: '#7dc974',
    500: '#31b136',
    950: '#000000',
  },
}
SCSS
$custom: #31b136;
$custom-light: #7dc974;
$custom-dark: #000000;
JSON
{
  "hex": "#31b136",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 54
  },
  "hsl": {
    "h": 122.344,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66744,
    "c": 0.19566,
    "h": 143.5
  },
  "luminance": 0.32364
}

Semantic roles & 50–950 ramp

primary
#31B136
secondary
#C579C2
accent
#48DAE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B136

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

Preview Lab → · Contrast checker → · Palette generator →

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