#31C131#31C131

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

Color values

HEX#31C131
RGBrgb(49, 193, 49)
HSLhsl(120, 60%, 47%)
HSVhsv(120, 75%, 76%)
CMYKcmyk(74.6%, 0%, 74.6%, 24.3%)
CIE-LABlab(68.76, -63.60, 57.95)
CIE-LCHlch(68.76, 86.05, 137.66°)
OKLaboklab(70.98% -0.1727 0.1307)
OKLCHoklch(70.98% 0.217 142.9)
XYZxyz(20.8897, 39.0122, 9.3343)
Luminance0.3901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C131 #C131C1
analogous
#79C131 #31C131 #31C179
triadic
#31C131 #3131C1 #C13131
tetradic
#31C131 #3179C1 #C131C1 #C17931
square
#31C131 #3179C1 #C131C1 #C17931
split-complementary
#31C131 #7931C1 #C13179
monochromatic
#185F18 #259025 #31C131 #5AD55A #8BE28B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C131#FFFFFF#000000##000000
##31C1311.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)
#C5AE13
Deuteranopia (green-blind)
#B5A341
Tritanopia (blue-blind)
#00BBA5
Achromatopsia (no color)
#A8A8A8

Design tokens & code

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

Semantic roles & 50–950 ramp

primary
#31C131
secondary
#CC82CC
accent
#45E3E3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C131

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

Preview Lab → · Contrast checker → · Palette generator →

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