#31C578#31C578

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

Color values

HEX#31C578
RGBrgb(49, 197, 120)
HSLhsl(149, 60%, 48%)
HSVhsv(149, 75%, 77%)
CMYKcmyk(75.1%, 0%, 39.1%, 22.7%)
CIE-LABlab(70.83, -55.53, 27.95)
CIE-LCHlch(70.83, 62.17, 153.28°)
OKLaboklab(72.96% -0.1498 0.0697)
OKLCHoklch(72.96% 0.165 155)
XYZxyz(24.6207, 41.9386, 24.5630)
Luminance0.4194 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C578 #C5317E
analogous
#34C531 #31C578 #31C5C2
triadic
#31C578 #7831C5 #C57831
tetradic
#31C578 #3134C5 #C5317E #C5C231
square
#31C578 #3134C5 #C5317E #C5C231
split-complementary
#31C578 #C231C5 #C53134
monochromatic
#19633C #25945A #31C578 #5DD797 #8EE3B6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C578#FFFFFF#000000##000000
##31C5781.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)
#C4B573
Deuteranopia (green-blind)
#B3A87D
Tritanopia (blue-blind)
#00C3B2
Achromatopsia (no color)
#ADADAD

Design tokens & code

CSS
--color: #31c578;
/* rgb */ color: rgb(49, 197, 120);
/* oklch */ color: oklch(73.0% 0.165 155.0);
Tailwind
colors: {
  custom: {
    50: '#7fd89f',
    500: '#31c578',
    950: '#000000',
  },
}
SCSS
$custom: #31c578;
$custom-light: #7fd89f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c578",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 120
  },
  "hsl": {
    "h": 148.784,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72957,
    "c": 0.16521,
    "h": 155
  },
  "luminance": 0.41942
}

Semantic roles & 50–950 ramp

primary
#31C578
secondary
#CD85AA
accent
#4497E3
background
#F8FDF9
surface
#F0FAF2
border
#CBD3CC
text
#0C150E
muted
#7D837E

Preview Lab

Preview with #31C578

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

Preview Lab → · Contrast checker → · Palette generator →

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