#31A159#31A159

#31A159 is a light, vivid green. Relative luminance 0.269; OKLCH L 62.9% C 0.146 H 151.3°. Best body text is #000000 at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#31A159
RGBrgb(49, 161, 89)
HSLhsl(141, 53%, 41%)
HSVhsv(141, 70%, 63%)
CMYKcmyk(69.6%, 0%, 44.7%, 36.9%)
CIE-LABlab(58.85, -47.61, 28.58)
CIE-LCHlch(58.85, 55.53, 149.02°)
OKLaboklab(62.91% -0.1283 0.0704)
OKLCHoklch(62.91% 0.146 151.3)
XYZxyz(15.8134, 26.8622, 13.8008)
Luminance0.2686 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A159 #A13179
analogous
#41A131 #31A159 #31A191
triadic
#31A159 #5931A1 #A15931
tetradic
#31A159 #3141A1 #A13179 #A19131
square
#31A159 #3141A1 #A13179 #A19131
split-complementary
#31A159 #9131A1 #A13141
monochromatic
#144325 #23723F #31A159 #48C775 #77D699

Accessibility & contrast

On white

3.30
#31A159 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.37
#31A159 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A159
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A159#FFFFFF#000000##000000
##31A1591.003.306.376.37
#FFFFFF3.301.0021.0021.00
#0000006.3721.001.001.00
##0000006.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29354
Deuteranopia (green-blind)
#948A5E
Tritanopia (blue-blind)
#009E90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a159;
/* rgb */ color: rgb(49, 161, 89);
/* oklch */ color: oklch(62.9% 0.146 151.3);
Tailwind
colors: {
  custom: {
    50: '#78be89',
    500: '#31a159',
    950: '#000000',
  },
}
SCSS
$custom: #31a159;
$custom-light: #78be89;
$custom-dark: #000000;
JSON
{
  "hex": "#31a159",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 89
  },
  "hsl": {
    "h": 141.429,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62907,
    "c": 0.14636,
    "h": 151.3
  },
  "luminance": 0.26864
}

Semantic roles & 50–950 ramp

primary
#31A159
secondary
#BE70A2
accent
#4BA9DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A159

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

Preview Lab → · Contrast checker → · Palette generator →

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