#31C978#31C978

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

Color values

HEX#31C978
RGBrgb(49, 201, 120)
HSLhsl(148, 61%, 49%)
HSVhsv(148, 76%, 79%)
CMYKcmyk(75.6%, 0%, 40.3%, 21.2%)
CIE-LABlab(72.08, -57.00, 29.61)
CIE-LCHlch(72.08, 64.24, 152.55°)
OKLaboklab(73.99% -0.1536 0.0736)
OKLCHoklch(73.99% 0.17 154.4)
XYZxyz(25.5410, 43.7793, 24.8698)
Luminance0.4378 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C978 #C93182
analogous
#36C931 #31C978 #31C9C4
triadic
#31C978 #7831C9 #C97831
tetradic
#31C978 #3136C9 #C93182 #C9C431
square
#31C978 #3136C9 #C93182 #C9C431
split-complementary
#31C978 #C431C9 #C93136
monochromatic
#19673D #25985B #31C978 #5FD898 #90E4B7

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C978#FFFFFF#000000##000000
##31C9781.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)
#C9B872
Deuteranopia (green-blind)
#B7AC7D
Tritanopia (blue-blind)
#00C7B5
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c978;
/* rgb */ color: rgb(49, 201, 120);
/* oklch */ color: oklch(74.0% 0.170 154.4);
Tailwind
colors: {
  custom: {
    50: '#80da9f',
    500: '#31c978',
    950: '#000000',
  },
}
SCSS
$custom: #31c978;
$custom-light: #80da9f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c978",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 120
  },
  "hsl": {
    "h": 148.026,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.7399,
    "c": 0.17034,
    "h": 154.4
  },
  "luminance": 0.43782
}

Semantic roles & 50–950 ramp

primary
#31C978
secondary
#CF87AD
accent
#4499E4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C978

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

Preview Lab → · Contrast checker → · Palette generator →

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