#31C132#31C132

#31C132 is a light, highly saturated green. Relative luminance 0.390; OKLCH L 71.0% C 0.216 H 142.9°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).

Color values

HEX#31C132
RGBrgb(49, 193, 50)
HSLhsl(120, 60%, 47%)
HSVhsv(120, 75%, 76%)
CMYKcmyk(74.6%, 0%, 74.1%, 24.3%)
CIE-LABlab(68.77, -63.53, 57.61)
CIE-LCHlch(68.77, 85.76, 137.80°)
OKLaboklab(70.99% -0.1724 0.1301)
OKLCHoklch(70.99% 0.216 142.9)
XYZxyz(20.9110, 39.0208, 9.4467)
Luminance0.3902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C132 #C131C0
analogous
#78C131 #31C132 #31C17A
triadic
#31C132 #3231C1 #C13231
tetradic
#31C132 #3178C1 #C131C0 #C17A31
square
#31C132 #3178C1 #C131C0 #C17A31
split-complementary
#31C132 #7A31C1 #C13178
monochromatic
#185F19 #259025 #31C132 #5AD55B #8BE28B

Accessibility & contrast

On white

2.39
#31C132 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.80
#31C132 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C132
8.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C132#FFFFFF#000000##000000
##31C1321.002.398.808.80
#FFFFFF2.391.0021.0021.00
#0000008.8021.001.001.00
##0000008.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5AF16
Deuteranopia (green-blind)
#B5A441
Tritanopia (blue-blind)
#00BBA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c132;
/* rgb */ color: rgb(49, 193, 50);
/* oklch */ color: oklch(71.0% 0.216 142.9);
Tailwind
colors: {
  custom: {
    50: '#80d573',
    500: '#31c132',
    950: '#000000',
  },
}
SCSS
$custom: #31c132;
$custom-light: #80d573;
$custom-dark: #000000;
JSON
{
  "hex": "#31c132",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 50
  },
  "hsl": {
    "h": 120.417,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.70991,
    "c": 0.21601,
    "h": 142.9
  },
  "luminance": 0.39023
}

Semantic roles & 50–950 ramp

primary
#31C132
secondary
#CC82CB
accent
#45E2E3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C132

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

Preview Lab → · Contrast checker → · Palette generator →

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