#31C076#31C076

#31C076 is a light, vivid green. Relative luminance 0.397; OKLCH L 71.6% C 0.161 H 155.3°. Best body text is #000000 at 8.93:1 contrast (WCAG AA passes).

Color values

HEX#31C076
RGBrgb(49, 192, 118)
HSLhsl(149, 59%, 47%)
HSVhsv(149, 74%, 75%)
CMYKcmyk(74.5%, 0%, 38.5%, 24.7%)
CIE-LABlab(69.22, -54.05, 26.87)
CIE-LCHlch(69.22, 60.36, 153.56°)
OKLaboklab(71.62% -0.1458 0.0671)
OKLCHoklch(71.62% 0.161 155.3)
XYZxyz(23.3841, 39.6575, 23.5583)
Luminance0.3966 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C076 #C0317B
analogous
#34C031 #31C076 #31C0BE
triadic
#31C076 #7631C0 #C07631
tetradic
#31C076 #3134C0 #C0317B #C0BE31
square
#31C076 #3134C0 #C0317B #C0BE31
split-complementary
#31C076 #BE31C0 #C03134
monochromatic
#185E3A #258F58 #31C076 #59D595 #8AE1B4

Accessibility & contrast

On white

2.35
#31C076 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.93
#31C076 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C076
8.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C076#FFFFFF#000000##000000
##31C0761.002.358.938.93
#FFFFFF2.351.0021.0021.00
#0000008.9321.001.001.00
##0000008.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFB071
Deuteranopia (green-blind)
#AEA47B
Tritanopia (blue-blind)
#00BEAD
Achromatopsia (no color)
#A9A9A9

Design tokens & code

CSS
--color: #31c076;
/* rgb */ color: rgb(49, 192, 118);
/* oklch */ color: oklch(71.6% 0.161 155.3);
Tailwind
colors: {
  custom: {
    50: '#7ed49e',
    500: '#31c076',
    950: '#000000',
  },
}
SCSS
$custom: #31c076;
$custom-light: #7ed49e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c076",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 118
  },
  "hsl": {
    "h": 148.951,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71622,
    "c": 0.16055,
    "h": 155.3
  },
  "luminance": 0.3966
}

Semantic roles & 50–950 ramp

primary
#31C076
secondary
#CB82A8
accent
#4597E3
background
#F8FDF9
surface
#EFFAF2
border
#CAD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C076

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

Preview Lab → · Contrast checker → · Palette generator →

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