#31C155#31C155

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

Color values

HEX#31C155
RGBrgb(49, 193, 85)
HSLhsl(135, 60%, 47%)
HSVhsv(135, 75%, 76%)
CMYKcmyk(74.6%, 0%, 56%, 24.3%)
CIE-LABlab(69.07, -59.82, 43.27)
CIE-LCHlch(69.07, 73.83, 144.12°)
OKLaboklab(71.35% -0.161 0.1032)
OKLCHoklch(71.35% 0.191 147.3)
XYZxyz(21.9746, 39.4462, 15.0483)
Luminance0.3945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C155 #C1319D
analogous
#55C131 #31C155 #31C19D
triadic
#31C155 #5531C1 #C15531
tetradic
#31C155 #3155C1 #C1319D #C19D31
square
#31C155 #3155C1 #C1319D #C19D31
split-complementary
#31C155 #9D31C1 #C13155
monochromatic
#185F2A #259040 #31C155 #5AD579 #8BE2A1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C155#FFFFFF#000000##000000
##31C1551.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)
#C3B04B
Deuteranopia (green-blind)
#B3A45D
Tritanopia (blue-blind)
#00BDA9
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c155;
/* rgb */ color: rgb(49, 193, 85);
/* oklch */ color: oklch(71.3% 0.191 147.3);
Tailwind
colors: {
  custom: {
    50: '#7fd588',
    500: '#31c155',
    950: '#000000',
  },
}
SCSS
$custom: #31c155;
$custom-light: #7fd588;
$custom-dark: #000000;
JSON
{
  "hex": "#31c155",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 85
  },
  "hsl": {
    "h": 135,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71345,
    "c": 0.19123,
    "h": 147.3
  },
  "luminance": 0.39449
}

Semantic roles & 50–950 ramp

primary
#31C155
secondary
#CC82B9
accent
#45BBE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C155

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

Preview Lab → · Contrast checker → · Palette generator →

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