#31C579#31C579

#31C579 is a light, vivid green. Relative luminance 0.420; OKLCH L 73.0% C 0.164 H 155.3°. Best body text is #000000 at 9.39:1 contrast (WCAG AA passes).

Color values

HEX#31C579
RGBrgb(49, 197, 121)
HSLhsl(149, 60%, 48%)
HSVhsv(149, 75%, 77%)
CMYKcmyk(75.1%, 0%, 38.6%, 22.7%)
CIE-LABlab(70.85, -55.34, 27.45)
CIE-LCHlch(70.85, 61.78, 153.61°)
OKLaboklab(72.98% -0.1493 0.0686)
OKLCHoklch(72.98% 0.164 155.3)
XYZxyz(24.6817, 41.9630, 24.8843)
Luminance0.4197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C579 #C5317D
analogous
#33C531 #31C579 #31C5C3
triadic
#31C579 #7931C5 #C57931
tetradic
#31C579 #3133C5 #C5317D #C5C331
square
#31C579 #3133C5 #C5317D #C5C331
split-complementary
#31C579 #C331C5 #C53133
monochromatic
#19633D #25945B #31C579 #5DD798 #8EE3B7

Accessibility & contrast

On white

2.24
#31C579 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.39
#31C579 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C579
9.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C579#FFFFFF#000000##000000
##31C5791.002.249.399.39
#FFFFFF2.241.0021.0021.00
#0000009.3921.001.001.00
##0000009.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4B574
Deuteranopia (green-blind)
#B3A87E
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c579;
/* rgb */ color: rgb(49, 197, 121);
/* oklch */ color: oklch(73.0% 0.164 155.3);
Tailwind
colors: {
  custom: {
    50: '#7fd8a0',
    500: '#31c579',
    950: '#000000',
  },
}
SCSS
$custom: #31c579;
$custom-light: #7fd8a0;
$custom-dark: #000000;
JSON
{
  "hex": "#31c579",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 121
  },
  "hsl": {
    "h": 149.189,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72976,
    "c": 0.1643,
    "h": 155.3
  },
  "luminance": 0.41966
}

Semantic roles & 50–950 ramp

primary
#31C579
secondary
#CD85AA
accent
#4496E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150F
muted
#7D837E

Preview Lab

Preview with #31C579

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

Preview Lab → · Contrast checker → · Palette generator →

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