#31C178#31C178

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

Color values

HEX#31C178
RGBrgb(49, 193, 120)
HSLhsl(150, 60%, 47%)
HSVhsv(150, 75%, 76%)
CMYKcmyk(74.6%, 0%, 37.8%, 24.3%)
CIE-LABlab(69.57, -54.04, 26.29)
CIE-LCHlch(69.57, 60.09, 154.06°)
OKLaboklab(71.92% -0.1459 0.0658)
OKLCHoklch(71.92% 0.16 155.7)
XYZxyz(23.7245, 40.1462, 24.2643)
Luminance0.4015 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C178 #C1317A
analogous
#32C131 #31C178 #31C1C0
triadic
#31C178 #7831C1 #C17831
tetradic
#31C178 #3132C1 #C1317A #C1C031
square
#31C178 #3132C1 #C1317A #C1C031
split-complementary
#31C178 #C031C1 #C13132
monochromatic
#185F3B #25905A #31C178 #5AD597 #8BE2B6

Accessibility & contrast

On white

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

On black

9.03
#31C178 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C178
9.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C178#FFFFFF#000000##000000
##31C1781.002.339.039.03
#FFFFFF2.331.0021.0021.00
#0000009.0321.001.001.00
##0000009.0321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c178;
/* rgb */ color: rgb(49, 193, 120);
/* oklch */ color: oklch(71.9% 0.160 155.7);
Tailwind
colors: {
  custom: {
    50: '#7ed59f',
    500: '#31c178',
    950: '#000000',
  },
}
SCSS
$custom: #31c178;
$custom-light: #7ed59f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c178",
  "rgb": {
    "r": 49,
    "g": 193,
    "b": 120
  },
  "hsl": {
    "h": 149.583,
    "s": 59.504,
    "l": 47.451
  },
  "oklch": {
    "l": 0.71921,
    "c": 0.16003,
    "h": 155.7
  },
  "luminance": 0.40149
}

Semantic roles & 50–950 ramp

primary
#31C178
secondary
#CC82A7
accent
#4595E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0B140E
muted
#7C837E

Preview Lab

Preview with #31C178

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

Preview Lab → · Contrast checker → · Palette generator →

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