#31C04F#31C04F

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

Color values

HEX#31C04F
RGBrgb(49, 192, 79)
HSLhsl(133, 59%, 47%)
HSVhsv(133, 74%, 75%)
CMYKcmyk(74.5%, 0%, 58.9%, 24.7%)
CIE-LABlab(68.69, -60.27, 45.62)
CIE-LCHlch(68.69, 75.59, 142.87°)
OKLaboklab(71.01% -0.1624 0.1079)
OKLCHoklch(71.01% 0.195 146.4)
XYZxyz(21.5260, 38.9143, 13.7724)
Luminance0.3892 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C04F #C031A2
analogous
#5BC031 #31C04F #31C096
triadic
#31C04F #4F31C0 #C04F31
tetradic
#31C04F #315BC0 #C031A2 #C09631
square
#31C04F #315BC0 #C031A2 #C09631
split-complementary
#31C04F #9631C0 #C0315B
monochromatic
#185E27 #258F3B #31C04F #59D573 #8AE19C

Accessibility & contrast

On white

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

On black

8.78
#31C04F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C04F
8.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C04F#FFFFFF#000000##000000
##31C04F1.002.398.788.78
#FFFFFF2.391.0021.0021.00
#0000008.7821.001.001.00
##0000008.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE43
Deuteranopia (green-blind)
#B2A358
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c04f;
/* rgb */ color: rgb(49, 192, 79);
/* oklch */ color: oklch(71.0% 0.195 146.4);
Tailwind
colors: {
  custom: {
    50: '#7fd484',
    500: '#31c04f',
    950: '#000000',
  },
}
SCSS
$custom: #31c04f;
$custom-light: #7fd484;
$custom-dark: #000000;
JSON
{
  "hex": "#31c04f",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 79
  },
  "hsl": {
    "h": 132.587,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71005,
    "c": 0.19493,
    "h": 146.4
  },
  "luminance": 0.38917
}

Semantic roles & 50–950 ramp

primary
#31C04F
secondary
#CB82BC
accent
#45C2E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C04F

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

Preview Lab → · Contrast checker → · Palette generator →

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