#31C154#31C154

#31C154 is a light, vivid green. Relative luminance 0.394; OKLCH L 71.3% C 0.192 H 147.2°. Best body text is #000000 at 8.89:1 contrast (WCAG AA passes).

Color values

HEX#31C154
RGBrgb(49, 193, 84)
HSLhsl(135, 60%, 47%)
HSVhsv(135, 75%, 76%)
CMYKcmyk(74.6%, 0%, 56.5%, 24.3%)
CIE-LABlab(69.06, -59.95, 43.73)
CIE-LCHlch(69.06, 74.21, 143.89°)
OKLaboklab(71.33% -0.1614 0.1041)
OKLCHoklch(71.33% 0.192 147.2)
XYZxyz(21.9352, 39.4304, 14.8406)
Luminance0.3943 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C154 #C1319E
analogous
#56C131 #31C154 #31C19C
triadic
#31C154 #5431C1 #C15431
tetradic
#31C154 #3156C1 #C1319E #C19C31
square
#31C154 #3156C1 #C1319E #C19C31
split-complementary
#31C154 #9C31C1 #C13156
monochromatic
#185F2A #25903F #31C154 #5AD578 #8BE2A0

Accessibility & contrast

On white

2.36
#31C154 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.89
#31C154 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C154
8.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C154#FFFFFF#000000##000000
##31C1541.002.368.898.89
#FFFFFF2.361.0021.0021.00
#0000008.8921.001.001.00
##0000008.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3B049
Deuteranopia (green-blind)
#B3A45D
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c154;
/* rgb */ color: rgb(49, 193, 84);
/* oklch */ color: oklch(71.3% 0.192 147.2);
Tailwind
colors: {
  custom: {
    50: '#7fd587',
    500: '#31c154',
    950: '#000000',
  },
}
SCSS
$custom: #31c154;
$custom-light: #7fd587;
$custom-dark: #000000;
JSON
{
  "hex": "#31c154",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 84
  },
  "hsl": {
    "h": 134.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71331,
    "c": 0.19206,
    "h": 147.2
  },
  "luminance": 0.39433
}

Semantic roles & 50–950 ramp

primary
#31C154
secondary
#CC82BA
accent
#45BCE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C154

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

Preview Lab → · Contrast checker → · Palette generator →

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