#31C979#31C979

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

Color values

HEX#31C979
RGBrgb(49, 201, 121)
HSLhsl(148, 61%, 49%)
HSVhsv(148, 76%, 79%)
CMYKcmyk(75.6%, 0%, 39.8%, 21.2%)
CIE-LABlab(72.10, -56.82, 29.11)
CIE-LCHlch(72.10, 63.84, 152.87°)
OKLaboklab(74.01% -0.1531 0.0725)
OKLCHoklch(74.01% 0.169 154.7)
XYZxyz(25.6020, 43.8037, 25.1911)
Luminance0.4381 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C979 #C93181
analogous
#35C931 #31C979 #31C9C5
triadic
#31C979 #7931C9 #C97931
tetradic
#31C979 #3135C9 #C93181 #C9C531
square
#31C979 #3135C9 #C93181 #C9C531
split-complementary
#31C979 #C531C9 #C93135
monochromatic
#19673E #25985B #31C979 #5FD898 #90E4B8

Accessibility & contrast

On white

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

On black

9.76
#31C979 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C979
9.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C979#FFFFFF#000000##000000
##31C9791.002.159.769.76
#FFFFFF2.151.0021.0021.00
#0000009.7621.001.001.00
##0000009.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c979;
/* rgb */ color: rgb(49, 201, 121);
/* oklch */ color: oklch(74.0% 0.169 154.7);
Tailwind
colors: {
  custom: {
    50: '#80daa0',
    500: '#31c979',
    950: '#000000',
  },
}
SCSS
$custom: #31c979;
$custom-light: #80daa0;
$custom-dark: #000000;
JSON
{
  "hex": "#31c979",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 121
  },
  "hsl": {
    "h": 148.421,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.74009,
    "c": 0.16943,
    "h": 154.7
  },
  "luminance": 0.43807
}

Semantic roles & 50–950 ramp

primary
#31C979
secondary
#CF87AD
accent
#4498E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #31C979

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

Preview Lab → · Contrast checker → · Palette generator →

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