#31C937#31C937

#31C937 is a light, highly saturated green. Relative luminance 0.427; OKLCH L 73.1% C 0.222 H 143.3°. Best body text is #000000 at 9.54:1 contrast (WCAG AA passes).

Color values

HEX#31C937
RGBrgb(49, 201, 55)
HSLhsl(122, 61%, 49%)
HSVhsv(122, 76%, 79%)
CMYKcmyk(75.6%, 0%, 72.6%, 21.2%)
CIE-LABlab(71.35, -65.65, 58.45)
CIE-LCHlch(71.35, 87.90, 138.32°)
OKLaboklab(73.15% -0.1779 0.1326)
OKLCHoklch(73.15% 0.222 143.3)
XYZxyz(22.8414, 42.6994, 10.6517)
Luminance0.4270 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C937 #C931C3
analogous
#77C931 #31C937 #31C983
triadic
#31C937 #3731C9 #C93731
tetradic
#31C937 #3177C9 #C931C3 #C98331
square
#31C937 #3177C9 #C931C3 #C98331
split-complementary
#31C937 #8331C9 #C93177
monochromatic
#19671C #25982A #31C937 #5FD864 #90E494

Accessibility & contrast

On white

2.20
#31C937 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.54
#31C937 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C937
9.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C937#FFFFFF#000000##000000
##31C9371.002.209.549.54
#FFFFFF2.201.0021.0021.00
#0000009.5421.001.001.00
##0000009.5421.001.001.00

Color blindness preview

Protanopia (red-blind)
#CDB61D
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#00C3AD
Achromatopsia (no color)
#AFAFAF

Design tokens & code

CSS
--color: #31c937;
/* rgb */ color: rgb(49, 201, 55);
/* oklch */ color: oklch(73.1% 0.222 143.3);
Tailwind
colors: {
  custom: {
    50: '#82db77',
    500: '#31c937',
    950: '#000000',
  },
}
SCSS
$custom: #31c937;
$custom-light: #82db77;
$custom-dark: #000000;
JSON
{
  "hex": "#31c937",
  "rgb": {
    "r": 49,
    "g": 201,
    "b": 55
  },
  "hsl": {
    "h": 122.368,
    "s": 60.8,
    "l": 49.02
  },
  "oklch": {
    "l": 0.73148,
    "c": 0.22188,
    "h": 143.3
  },
  "luminance": 0.42702
}

Semantic roles & 50–950 ramp

primary
#31C937
secondary
#CF87CC
accent
#44DEE4
background
#F8FDF7
surface
#F0FBEE
border
#CBD4C9
text
#0C1509
muted
#7D837B

Preview Lab

Preview with #31C937

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

Preview Lab → · Contrast checker → · Palette generator →

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