#31C04C#31C04C

#31C04C is a light, vivid green. Relative luminance 0.389; OKLCH L 71.0% C 0.197 H 145.9°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#31C04C
RGBrgb(49, 192, 76)
HSLhsl(131, 59%, 47%)
HSVhsv(131, 74%, 75%)
CMYKcmyk(74.5%, 0%, 60.4%, 24.7%)
CIE-LABlab(68.66, -60.64, 46.95)
CIE-LCHlch(68.66, 76.69, 142.25°)
OKLaboklab(70.97% -0.1635 0.1105)
OKLCHoklch(70.97% 0.197 145.9)
XYZxyz(21.4192, 38.8716, 13.2102)
Luminance0.3887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C04C #C031A5
analogous
#5DC031 #31C04C #31C094
triadic
#31C04C #4C31C0 #C04C31
tetradic
#31C04C #315DC0 #C031A5 #C09431
square
#31C04C #315DC0 #C031A5 #C09431
split-complementary
#31C04C #9431C0 #C0315D
monochromatic
#185E25 #258F39 #31C04C #59D571 #8AE19B

Accessibility & contrast

On white

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

On black

8.77
#31C04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C04C
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C04C#FFFFFF#000000##000000
##31C04C1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE40
Deuteranopia (green-blind)
#B3A356
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c04c;
/* rgb */ color: rgb(49, 192, 76);
/* oklch */ color: oklch(71.0% 0.197 145.9);
Tailwind
colors: {
  custom: {
    50: '#7fd482',
    500: '#31c04c',
    950: '#000000',
  },
}
SCSS
$custom: #31c04c;
$custom-light: #7fd482;
$custom-dark: #000000;
JSON
{
  "hex": "#31c04c",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 76
  },
  "hsl": {
    "h": 131.329,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70969,
    "c": 0.19731,
    "h": 145.9
  },
  "luminance": 0.38874
}

Semantic roles & 50–950 ramp

primary
#31C04C
secondary
#CB82BD
accent
#45C5E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C04C

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

Preview Lab → · Contrast checker → · Palette generator →

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