#31C576#31C576

#31C576 is a light, vivid green. Relative luminance 0.419; OKLCH L 72.9% C 0.167 H 154.4°. Best body text is #000000 at 9.38:1 contrast (WCAG AA passes).

Color values

HEX#31C576
RGBrgb(49, 197, 118)
HSLhsl(148, 60%, 48%)
HSVhsv(148, 75%, 77%)
CMYKcmyk(75.1%, 0%, 40.1%, 22.7%)
CIE-LABlab(70.80, -55.91, 28.95)
CIE-LCHlch(70.80, 62.96, 152.62°)
OKLaboklab(72.92% -0.1507 0.0721)
OKLCHoklch(72.92% 0.167 154.4)
XYZxyz(24.5006, 41.8906, 23.9305)
Luminance0.4189 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C576 #C53180
analogous
#36C531 #31C576 #31C5C0
triadic
#31C576 #7631C5 #C57631
tetradic
#31C576 #3136C5 #C53180 #C5C031
square
#31C576 #3136C5 #C53180 #C5C031
split-complementary
#31C576 #C031C5 #C53136
monochromatic
#19633B #259459 #31C576 #5DD795 #8EE3B5

Accessibility & contrast

On white

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

On black

9.38
#31C576 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C576
9.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C576#FFFFFF#000000##000000
##31C5761.002.249.389.38
#FFFFFF2.241.0021.0021.00
#0000009.3821.001.001.00
##0000009.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C5B571
Deuteranopia (green-blind)
#B3A87B
Tritanopia (blue-blind)
#00C3B1
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c576;
/* rgb */ color: rgb(49, 197, 118);
/* oklch */ color: oklch(72.9% 0.167 154.4);
Tailwind
colors: {
  custom: {
    50: '#7fd89e',
    500: '#31c576',
    950: '#000000',
  },
}
SCSS
$custom: #31c576;
$custom-light: #7fd89e;
$custom-dark: #000000;
JSON
{
  "hex": "#31c576",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 118
  },
  "hsl": {
    "h": 147.973,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72918,
    "c": 0.16702,
    "h": 154.4
  },
  "luminance": 0.41893
}

Semantic roles & 50–950 ramp

primary
#31C576
secondary
#CD85AB
accent
#4499E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C576

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

Preview Lab → · Contrast checker → · Palette generator →

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