#31B132#31B132

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

Color values

HEX#31B132
RGBrgb(49, 177, 50)
HSLhsl(120, 57%, 44%)
HSVhsv(120, 72%, 69%)
CMYKcmyk(72.3%, 0%, 71.8%, 30.6%)
CIE-LABlab(63.61, -58.36, 52.35)
CIE-LCHlch(63.61, 78.40, 138.10°)
OKLaboklab(66.71% -0.1584 0.1192)
OKLCHoklch(66.71% 0.198 143)
XYZxyz(17.5634, 32.3256, 8.3308)
Luminance0.3233 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B132 #B131B0
analogous
#70B131 #31B132 #31B172
triadic
#31B132 #3231B1 #B13231
tetradic
#31B132 #3170B1 #B131B0 #B17231
square
#31B132 #3170B1 #B131B0 #B17231
split-complementary
#31B132 #7231B1 #B13170
monochromatic
#165117 #248124 #31B132 #51CF51 #80DC81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B132#FFFFFF#000000##000000
##31B1321.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)
#B5A01D
Deuteranopia (green-blind)
#A6963F
Tritanopia (blue-blind)
#00AC98
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b132;
/* rgb */ color: rgb(49, 177, 50);
/* oklch */ color: oklch(66.7% 0.198 143.0);
Tailwind
colors: {
  custom: {
    50: '#7dc971',
    500: '#31b132',
    950: '#000000',
  },
}
SCSS
$custom: #31b132;
$custom-light: #7dc971;
$custom-dark: #000000;
JSON
{
  "hex": "#31b132",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 50
  },
  "hsl": {
    "h": 120.469,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.6671,
    "c": 0.19822,
    "h": 143
  },
  "luminance": 0.32328
}

Semantic roles & 50–950 ramp

primary
#31B132
secondary
#C579C4
accent
#48DFE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31B132

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

Preview Lab → · Contrast checker → · Palette generator →

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