#31C757#31C757

#31C757 is a light, vivid green. Relative luminance 0.422; OKLCH L 72.9% C 0.197 H 147.3°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).

Color values

HEX#31C757
RGBrgb(49, 199, 87)
HSLhsl(135, 60%, 49%)
HSVhsv(135, 75%, 78%)
CMYKcmyk(75.4%, 0%, 56.3%, 22%)
CIE-LABlab(71.00, -61.58, 44.63)
CIE-LCHlch(71.00, 76.05, 144.07°)
OKLaboklab(72.95% -0.1657 0.1063)
OKLCHoklch(72.95% 0.197 147.3)
XYZxyz(23.4086, 42.1852, 15.9238)
Luminance0.4219 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C757 #C731A1
analogous
#56C731 #31C757 #31C7A2
triadic
#31C757 #5731C7 #C75731
tetradic
#31C757 #3156C7 #C731A1 #C7A231
square
#31C757 #3156C7 #C731A1 #C7A231
split-complementary
#31C757 #A231C7 #C73156
monochromatic
#19652C #259642 #31C757 #5ED77D #8FE3A4

Accessibility & contrast

On white

2.23
#31C757 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.44
#31C757 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C757
9.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C757#FFFFFF#000000##000000
##31C7571.002.239.449.44
#FFFFFF2.231.0021.0021.00
#0000009.4421.001.001.00
##0000009.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#C9B54C
Deuteranopia (green-blind)
#B8A960
Tritanopia (blue-blind)
#00C3AE
Achromatopsia (no color)
#AEAEAE

Design tokens & code

CSS
--color: #31c757;
/* rgb */ color: rgb(49, 199, 87);
/* oklch */ color: oklch(72.9% 0.197 147.3);
Tailwind
colors: {
  custom: {
    50: '#80d989',
    500: '#31c757',
    950: '#000000',
  },
}
SCSS
$custom: #31c757;
$custom-light: #80d989;
$custom-dark: #000000;
JSON
{
  "hex": "#31c757",
  "rgb": {
    "r": 49,
    "g": 199,
    "b": 87
  },
  "hsl": {
    "h": 135.2,
    "s": 60.484,
    "l": 48.627
  },
  "oklch": {
    "l": 0.72947,
    "c": 0.19686,
    "h": 147.3
  },
  "luminance": 0.42188
}

Semantic roles & 50–950 ramp

primary
#31C757
secondary
#CE86BC
accent
#44BBE4
background
#F8FDF8
surface
#F0FBF0
border
#CBD4CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C757

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

Preview Lab → · Contrast checker → · Palette generator →

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