#31C97A#31C97A

#31C97A is a light, vivid green. Relative luminance 0.438; OKLCH L 74.0% C 0.169 H 155.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).

Color values

HEX#31C97A
RGBrgb(49, 201, 122)
HSLhsl(149, 61%, 49%)
HSVhsv(149, 76%, 79%)
CMYKcmyk(75.6%, 0%, 39.3%, 21.2%)
CIE-LABlab(72.11, -56.63, 28.62)
CIE-LCHlch(72.11, 63.45, 153.19°)
OKLaboklab(74.03% -0.1527 0.0713)
OKLCHoklch(74.03% 0.169 155)
XYZxyz(25.6637, 43.8283, 25.5157)
Luminance0.4383 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C97A #C93180
analogous
#34C931 #31C97A #31C9C6
triadic
#31C97A #7A31C9 #C97A31
tetradic
#31C97A #3134C9 #C93180 #C9C631
square
#31C97A #3134C9 #C93180 #C9C631
split-complementary
#31C97A #C631C9 #C93134
monochromatic
#19673E #25985C #31C97A #5FD899 #90E4B9

Accessibility & contrast

On white

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

On black

9.77
#31C97A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C97A
9.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C97A#FFFFFF#000000##000000
##31C97A1.002.159.779.77
#FFFFFF2.151.0021.0021.00
#0000009.7721.001.001.00
##0000009.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C8B875
Deuteranopia (green-blind)
#B6AC7F
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c97a;
/* rgb */ color: rgb(49, 201, 122);
/* oklch */ color: oklch(74.0% 0.169 155.0);
Tailwind
colors: {
  custom: {
    50: '#80daa1',
    500: '#31c97a',
    950: '#000000',
  },
}
SCSS
$custom: #31c97a;
$custom-light: #80daa1;
$custom-dark: #000000;
JSON
{
  "hex": "#31c97a",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 122
  },
  "hsl": {
    "h": 148.816,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74028,
    "c": 0.16853,
    "h": 155
  },
  "luminance": 0.43831
}

Semantic roles & 50–950 ramp

primary
#31C97A
secondary
#CF87AC
accent
#4497E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #31C97A

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

Preview Lab → · Contrast checker → · Palette generator →

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