#31B557#31B557

#31B557 is a light, vivid green. Relative luminance 0.344; OKLCH L 68.2% C 0.175 H 148.6°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).

Color values

HEX#31B557
RGBrgb(49, 181, 87)
HSLhsl(137, 57%, 45%)
HSVhsv(137, 73%, 71%)
CMYKcmyk(72.9%, 0%, 51.9%, 29%)
CIE-LABlab(65.27, -55.35, 37.69)
CIE-LCHlch(65.27, 66.97, 145.75°)
OKLaboklab(68.2% -0.1489 0.091)
OKLCHoklch(68.2% 0.175 148.6)
XYZxyz(19.5093, 34.3866, 14.6241)
Luminance0.3439 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B557 #B5318F
analogous
#4DB531 #31B557 #31B599
triadic
#31B557 #5731B5 #B55731
tetradic
#31B557 #314DB5 #B5318F #B59931
square
#31B557 #314DB5 #B5318F #B59931
split-complementary
#31B557 #9931B5 #B5314D
monochromatic
#175529 #248540 #31B557 #53D077 #83DD9D

Accessibility & contrast

On white

2.67
#31B557 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.88
#31B557 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B557
7.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B557#FFFFFF#000000##000000
##31B5571.002.677.887.88
#FFFFFF2.671.0021.0021.00
#0000007.8821.001.001.00
##0000007.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A54F
Deuteranopia (green-blind)
#A79A5E
Tritanopia (blue-blind)
#00B19F
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b557;
/* rgb */ color: rgb(49, 181, 87);
/* oklch */ color: oklch(68.2% 0.175 148.6);
Tailwind
colors: {
  custom: {
    50: '#7ccc88',
    500: '#31b557',
    950: '#000000',
  },
}
SCSS
$custom: #31b557;
$custom-light: #7ccc88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b557",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 87
  },
  "hsl": {
    "h": 137.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68202,
    "c": 0.17454,
    "h": 148.6
  },
  "luminance": 0.34389
}

Semantic roles & 50–950 ramp

primary
#31B557
secondary
#C77BB1
accent
#47B4E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B557

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

Preview Lab → · Contrast checker → · Palette generator →

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