#31C177#31C177

#31C177 is a light, vivid green. Relative luminance 0.401; OKLCH L 71.9% C 0.161 H 155.4°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).

Color values

HEX#31C177
RGBrgb(49, 193, 119)
HSLhsl(149, 60%, 47%)
HSVhsv(149, 75%, 76%)
CMYKcmyk(74.6%, 0%, 38.3%, 24.3%)
CIE-LABlab(69.56, -54.23, 26.79)
CIE-LCHlch(69.56, 60.48, 153.71°)
OKLaboklab(71.9% -0.1464 0.0669)
OKLCHoklch(71.9% 0.161 155.4)
XYZxyz(23.6641, 40.1220, 23.9463)
Luminance0.4012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C177 #C1317B
analogous
#33C131 #31C177 #31C1BF
triadic
#31C177 #7731C1 #C17731
tetradic
#31C177 #3133C1 #C1317B #C1BF31
square
#31C177 #3133C1 #C1317B #C1BF31
split-complementary
#31C177 #BF31C1 #C13133
monochromatic
#185F3B #259059 #31C177 #5AD596 #8BE2B5

Accessibility & contrast

On white

2.33
#31C177 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.02
#31C177 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C177
9.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C177#FFFFFF#000000##000000
##31C1771.002.339.029.02
#FFFFFF2.331.0021.0021.00
#0000009.0221.001.001.00
##0000009.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C0B172
Deuteranopia (green-blind)
#AFA57C
Tritanopia (blue-blind)
#00BFAE
Achromatopsia (no color)
#AAAAAA

Design tokens & code

CSS
--color: #31c177;
/* rgb */ color: rgb(49, 193, 119);
/* oklch */ color: oklch(71.9% 0.161 155.4);
Tailwind
colors: {
  custom: {
    50: '#7ed59f',
    500: '#31c177',
    950: '#000000',
  },
}
SCSS
$custom: #31c177;
$custom-light: #7ed59f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c177",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 119
  },
  "hsl": {
    "h": 149.167,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71901,
    "c": 0.16094,
    "h": 155.4
  },
  "luminance": 0.40125
}

Semantic roles & 50–950 ramp

primary
#31C177
secondary
#CC82A8
accent
#4596E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C177

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

Preview Lab → · Contrast checker → · Palette generator →

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