#31C159#31C159

#31C159 is a light, vivid green. Relative luminance 0.395; OKLCH L 71.4% C 0.188 H 148.1°. Best body text is #000000 at 8.90:1 contrast (WCAG AA passes).

Color values

HEX#31C159
RGBrgb(49, 193, 89)
HSLhsl(137, 60%, 47%)
HSVhsv(137, 75%, 76%)
CMYKcmyk(74.6%, 0%, 53.9%, 24.3%)
CIE-LABlab(69.12, -59.26, 41.42)
CIE-LCHlch(69.12, 72.30, 145.05°)
OKLaboklab(71.4% -0.1594 0.0994)
OKLCHoklch(71.4% 0.188 148.1)
XYZxyz(22.1380, 39.5116, 15.9090)
Luminance0.3951 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C159 #C13199
analogous
#51C131 #31C159 #31C1A1
triadic
#31C159 #5931C1 #C15931
tetradic
#31C159 #3151C1 #C13199 #C1A131
square
#31C159 #3151C1 #C13199 #C1A131
split-complementary
#31C159 #A131C1 #C13151
monochromatic
#185F2C #259042 #31C159 #5AD57C #8BE2A3

Accessibility & contrast

On white

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

On black

8.90
#31C159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C159
8.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C159#FFFFFF#000000##000000
##31C1591.002.368.908.90
#FFFFFF2.361.0021.0021.00
#0000008.9021.001.001.00
##0000008.9021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c159;
/* rgb */ color: rgb(49, 193, 89);
/* oklch */ color: oklch(71.4% 0.188 148.1);
Tailwind
colors: {
  custom: {
    50: '#7fd58a',
    500: '#31c159',
    950: '#000000',
  },
}
SCSS
$custom: #31c159;
$custom-light: #7fd58a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c159",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 89
  },
  "hsl": {
    "h": 136.667,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71399,
    "c": 0.18785,
    "h": 148.1
  },
  "luminance": 0.39514
}

Semantic roles & 50–950 ramp

primary
#31C159
secondary
#CC82B7
accent
#45B7E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C140C
muted
#7D837D

Preview Lab

Preview with #31C159

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

Preview Lab → · Contrast checker → · Palette generator →

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