#31C97C#31C97C

#31C97C is a light, vivid green. Relative luminance 0.439; OKLCH L 74.1% C 0.167 H 155.6°. Best body text is #000000 at 9.78:1 contrast (WCAG AA passes).

Color values

HEX#31C97C
RGBrgb(49, 201, 124)
HSLhsl(150, 61%, 49%)
HSVhsv(150, 76%, 79%)
CMYKcmyk(75.6%, 0%, 38.3%, 21.2%)
CIE-LABlab(72.15, -56.25, 27.62)
CIE-LCHlch(72.15, 62.67, 153.85°)
OKLaboklab(74.07% -0.1518 0.069)
OKLCHoklch(74.07% 0.167 155.6)
XYZxyz(25.7889, 43.8784, 26.1751)
Luminance0.4388 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C97C #C9317E
analogous
#32C931 #31C97C #31C9C8
triadic
#31C97C #7C31C9 #C97C31
tetradic
#31C97C #3132C9 #C9317E #C9C831
square
#31C97C #3132C9 #C9317E #C9C831
split-complementary
#31C97C #C831C9 #C93132
monochromatic
#19673F #25985E #31C97C #5FD89B #90E4BA

Accessibility & contrast

On white

2.15
#31C97C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.78
#31C97C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C97C
9.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C97C#FFFFFF#000000##000000
##31C97C1.002.159.789.78
#FFFFFF2.151.0021.0021.00
#0000009.7821.001.001.00
##0000009.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B977
Deuteranopia (green-blind)
#B6AC81
Tritanopia (blue-blind)
#00C7B6
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c97c;
/* rgb */ color: rgb(49, 201, 124);
/* oklch */ color: oklch(74.1% 0.167 155.6);
Tailwind
colors: {
  custom: {
    50: '#80daa2',
    500: '#31c97c',
    950: '#000000',
  },
}
SCSS
$custom: #31c97c;
$custom-light: #80daa2;
$custom-dark: #000000;
JSON
{
  "hex": "#31c97c",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 124
  },
  "hsl": {
    "h": 149.605,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74067,
    "c": 0.16673,
    "h": 155.6
  },
  "luminance": 0.43881
}

Semantic roles & 50–950 ramp

primary
#31C97C
secondary
#CF87AB
accent
#4495E4
background
#F8FDFA
surface
#F0FBF3
border
#CBD4CD
text
#0C150F
muted
#7D837F

Preview Lab

Preview with #31C97C

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

Preview Lab → · Contrast checker → · Palette generator →

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