#31C976#31C976

#31C976 is a light, vivid green. Relative luminance 0.437; OKLCH L 74.0% C 0.172 H 153.8°. Best body text is #000000 at 9.75:1 contrast (WCAG AA passes).

Color values

HEX#31C976
RGBrgb(49, 201, 118)
HSLhsl(147, 61%, 49%)
HSVhsv(147, 76%, 79%)
CMYKcmyk(75.6%, 0%, 41.3%, 21.2%)
CIE-LABlab(72.05, -57.37, 30.60)
CIE-LCHlch(72.05, 65.02, 151.93°)
OKLaboklab(73.95% -0.1545 0.0759)
OKLCHoklch(73.95% 0.172 153.8)
XYZxyz(25.4209, 43.7312, 24.2372)
Luminance0.4373 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C976 #C93184
analogous
#38C931 #31C976 #31C9C2
triadic
#31C976 #7631C9 #C97631
tetradic
#31C976 #3138C9 #C93184 #C9C231
square
#31C976 #3138C9 #C93184 #C9C231
split-complementary
#31C976 #C231C9 #C93138
monochromatic
#19673C #259859 #31C976 #5FD896 #90E4B6

Accessibility & contrast

On white

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

On black

9.75
#31C976 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C976
9.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C976#FFFFFF#000000##000000
##31C9761.002.159.759.75
#FFFFFF2.151.0021.0021.00
#0000009.7521.001.001.00
##0000009.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B870
Deuteranopia (green-blind)
#B7AC7C
Tritanopia (blue-blind)
#00C7B4
Achromatopsia (no color)
#B1B1B1

Design tokens & code

CSS
--color: #31c976;
/* rgb */ color: rgb(49, 201, 118);
/* oklch */ color: oklch(74.0% 0.172 153.8);
Tailwind
colors: {
  custom: {
    50: '#80db9e',
    500: '#31c976',
    950: '#000000',
  },
}
SCSS
$custom: #31c976;
$custom-light: #80db9e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c976",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 118
  },
  "hsl": {
    "h": 147.237,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73953,
    "c": 0.17215,
    "h": 153.8
  },
  "luminance": 0.43734
}

Semantic roles & 50–950 ramp

primary
#31C976
secondary
#CF87AE
accent
#449BE4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C976

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

Preview Lab → · Contrast checker → · Palette generator →

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