#31C071#31C071

#31C071 is a light, vivid green. Relative luminance 0.395; OKLCH L 71.5% C 0.165 H 153.8°. Best body text is #000000 at 8.91:1 contrast (WCAG AA passes).

Color values

HEX#31C071
RGBrgb(49, 192, 113)
HSLhsl(147, 59%, 47%)
HSVhsv(147, 74%, 75%)
CMYKcmyk(74.5%, 0%, 41.1%, 24.7%)
CIE-LABlab(69.14, -54.99, 29.38)
CIE-LCHlch(69.14, 62.34, 151.89°)
OKLaboklab(71.53% -0.1481 0.0729)
OKLCHoklch(71.53% 0.165 153.8)
XYZxyz(23.0948, 39.5418, 22.0348)
Luminance0.3954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C071 #C03180
analogous
#39C031 #31C071 #31C0B8
triadic
#31C071 #7131C0 #C07131
tetradic
#31C071 #3139C0 #C03180 #C0B831
square
#31C071 #3139C0 #C03180 #C0B831
split-complementary
#31C071 #B831C0 #C03139
monochromatic
#185E38 #258F54 #31C071 #59D591 #8AE1B1

Accessibility & contrast

On white

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

On black

8.91
#31C071 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C071
8.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C071#FFFFFF#000000##000000
##31C0711.002.368.918.91
#FFFFFF2.361.0021.0021.00
#0000008.9121.001.001.00
##0000008.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B06B
Deuteranopia (green-blind)
#AFA476
Tritanopia (blue-blind)
#00BEAC
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c071;
/* rgb */ color: rgb(49, 192, 113);
/* oklch */ color: oklch(71.5% 0.165 153.8);
Tailwind
colors: {
  custom: {
    50: '#7ed49a',
    500: '#31c071',
    950: '#000000',
  },
}
SCSS
$custom: #31c071;
$custom-light: #7ed49a;
$custom-dark: #000000;
JSON
{
  "hex": "#31c071",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 113
  },
  "hsl": {
    "h": 146.853,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71527,
    "c": 0.16512,
    "h": 153.8
  },
  "luminance": 0.39544
}

Semantic roles & 50–950 ramp

primary
#31C071
secondary
#CB82AA
accent
#459CE3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C071

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

Preview Lab → · Contrast checker → · Palette generator →

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