#31C04E#31C04E

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

Color values

HEX#31C04E
RGBrgb(49, 192, 78)
HSLhsl(132, 59%, 47%)
HSVhsv(132, 74%, 75%)
CMYKcmyk(74.5%, 0%, 59.4%, 24.7%)
CIE-LABlab(68.68, -60.39, 46.07)
CIE-LCHlch(68.68, 75.96, 142.66°)
OKLaboklab(70.99% -0.1627 0.1088)
OKLCHoklch(70.99% 0.196 146.2)
XYZxyz(21.4898, 38.8998, 13.5821)
Luminance0.3890 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C04E #C031A3
analogous
#5BC031 #31C04E #31C096
triadic
#31C04E #4E31C0 #C04E31
tetradic
#31C04E #315BC0 #C031A3 #C09631
square
#31C04E #315BC0 #C031A3 #C09631
split-complementary
#31C04E #9631C0 #C0315B
monochromatic
#185E26 #258F3A #31C04E #59D572 #8AE19C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C04E#FFFFFF#000000##000000
##31C04E1.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)
#C3AE42
Deuteranopia (green-blind)
#B2A357
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c04e;
/* rgb */ color: rgb(49, 192, 78);
/* oklch */ color: oklch(71.0% 0.196 146.2);
Tailwind
colors: {
  custom: {
    50: '#7fd483',
    500: '#31c04e',
    950: '#000000',
  },
}
SCSS
$custom: #31c04e;
$custom-light: #7fd483;
$custom-dark: #000000;
JSON
{
  "hex": "#31c04e",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 78
  },
  "hsl": {
    "h": 132.168,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70993,
    "c": 0.19573,
    "h": 146.2
  },
  "luminance": 0.38902
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C04E

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

Preview Lab → · Contrast checker → · Palette generator →

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