#31B159#31B159

#31B159 is a light, vivid green. Relative luminance 0.328; OKLCH L 67.2% C 0.168 H 149.4°. Best body text is #000000 at 7.56:1 contrast (WCAG AA passes).

Color values

HEX#31B159
RGBrgb(49, 177, 89)
HSLhsl(139, 57%, 44%)
HSVhsv(139, 72%, 69%)
CMYKcmyk(72.3%, 0%, 49.7%, 30.6%)
CIE-LABlab(64.01, -53.60, 35.13)
CIE-LCHlch(64.01, 64.09, 146.76°)
OKLaboklab(67.17% -0.1442 0.0854)
OKLCHoklch(67.17% 0.168 149.4)
XYZxyz(18.7904, 32.8164, 14.7932)
Luminance0.3282 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B159 #B13189
analogous
#49B131 #31B159 #31B199
triadic
#31B159 #5931B1 #B15931
tetradic
#31B159 #3149B1 #B13189 #B19931
square
#31B159 #3149B1 #B13189 #B19931
split-complementary
#31B159 #9931B1 #B13149
monochromatic
#165129 #248141 #31B159 #51CF78 #80DC9D

Accessibility & contrast

On white

2.78
#31B159 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.56
#31B159 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B159
7.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B159#FFFFFF#000000##000000
##31B1591.002.787.567.56
#FFFFFF2.781.0021.0021.00
#0000007.5621.001.001.00
##0000007.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A252
Deuteranopia (green-blind)
#A3975F
Tritanopia (blue-blind)
#00AE9C
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b159;
/* rgb */ color: rgb(49, 177, 89);
/* oklch */ color: oklch(67.2% 0.168 149.4);
Tailwind
colors: {
  custom: {
    50: '#7bc989',
    500: '#31b159',
    950: '#000000',
  },
}
SCSS
$custom: #31b159;
$custom-light: #7bc989;
$custom-dark: #000000;
JSON
{
  "hex": "#31b159",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 89
  },
  "hsl": {
    "h": 138.75,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.67172,
    "c": 0.16761,
    "h": 149.4
  },
  "luminance": 0.32819
}

Semantic roles & 50–950 ramp

primary
#31B159
secondary
#C579AD
accent
#48B0E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B159

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

Preview Lab → · Contrast checker → · Palette generator →

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