#31C973#31C973

#31C973 is a light, vivid green. Relative luminance 0.437; OKLCH L 73.9% C 0.175 H 153.0°. Best body text is #000000 at 9.73:1 contrast (WCAG AA passes).

Color values

HEX#31C973
RGBrgb(49, 201, 115)
HSLhsl(146, 61%, 49%)
HSVhsv(146, 76%, 79%)
CMYKcmyk(75.6%, 0%, 42.8%, 21.2%)
CIE-LABlab(72.00, -57.91, 32.08)
CIE-LCHlch(72.00, 66.20, 151.02°)
OKLaboklab(73.9% -0.1558 0.0793)
OKLCHoklch(73.9% 0.175 153)
XYZxyz(25.2455, 43.6611, 23.3132)
Luminance0.4366 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C973 #C93187
analogous
#3BC931 #31C973 #31C9BF
triadic
#31C973 #7331C9 #C97331
tetradic
#31C973 #313BC9 #C93187 #C9BF31
square
#31C973 #313BC9 #C93187 #C9BF31
split-complementary
#31C973 #BF31C9 #C9313B
monochromatic
#19673B #259857 #31C973 #5FD894 #90E4B5

Accessibility & contrast

On white

2.16
#31C973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.73
#31C973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C973
9.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C973#FFFFFF#000000##000000
##31C9731.002.169.739.73
#FFFFFF2.161.0021.0021.00
#0000009.7321.001.001.00
##0000009.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B86D
Deuteranopia (green-blind)
#B7AB79
Tritanopia (blue-blind)
#00C6B4
Achromatopsia (no color)
#B0B0B0

Design tokens & code

CSS
--color: #31c973;
/* rgb */ color: rgb(49, 201, 115);
/* oklch */ color: oklch(73.9% 0.175 153.0);
Tailwind
colors: {
  custom: {
    50: '#80db9c',
    500: '#31c973',
    950: '#000000',
  },
}
SCSS
$custom: #31c973;
$custom-light: #80db9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c973",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 115
  },
  "hsl": {
    "h": 146.053,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73899,
    "c": 0.17486,
    "h": 153
  },
  "luminance": 0.43664
}

Semantic roles & 50–950 ramp

primary
#31C973
secondary
#CF87B0
accent
#449EE4
background
#F8FDF9
surface
#F0FBF2
border
#CBD4CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C973

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

Preview Lab → · Contrast checker → · Palette generator →

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