#31A559#31A559

#31A559 is a light, vivid green. Relative luminance 0.283; OKLCH L 64.0% C 0.152 H 150.7°. Best body text is #000000 at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#31A559
RGBrgb(49, 165, 89)
HSLhsl(141, 54%, 42%)
HSVhsv(141, 70%, 65%)
CMYKcmyk(70.3%, 0%, 46.1%, 35.3%)
CIE-LABlab(60.14, -49.15, 30.25)
CIE-LCHlch(60.14, 57.71, 148.39°)
OKLaboklab(63.98% -0.1324 0.0742)
OKLCHoklch(63.98% 0.152 150.7)
XYZxyz(16.5236, 28.2827, 14.0375)
Luminance0.2828 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A559 #A5317D
analogous
#43A531 #31A559 #31A593
triadic
#31A559 #5931A5 #A55931
tetradic
#31A559 #3143A5 #A5317D #A59331
square
#31A559 #3143A5 #A5317D #A59331
split-complementary
#31A559 #9331A5 #A53143
monochromatic
#154726 #237640 #31A559 #4AC976 #79D79A

Accessibility & contrast

On white

3.15
#31A559 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.66
#31A559 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A559
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A559#FFFFFF#000000##000000
##31A5591.003.156.666.66
#FFFFFF3.151.0021.0021.00
#0000006.6621.001.001.00
##0000006.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69753
Deuteranopia (green-blind)
#988D5E
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a559;
/* rgb */ color: rgb(49, 165, 89);
/* oklch */ color: oklch(64.0% 0.152 150.7);
Tailwind
colors: {
  custom: {
    50: '#79c189',
    500: '#31a559',
    950: '#000000',
  },
}
SCSS
$custom: #31a559;
$custom-light: #79c189;
$custom-dark: #000000;
JSON
{
  "hex": "#31a559",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 89
  },
  "hsl": {
    "h": 140.69,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63976,
    "c": 0.15177,
    "h": 150.7
  },
  "luminance": 0.28285
}

Semantic roles & 50–950 ramp

primary
#31A559
secondary
#C072A5
accent
#4AABDE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A559

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

Preview Lab → · Contrast checker → · Palette generator →

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