#31A551#31A551

#31A551 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.8% C 0.159 H 148.6°. Best body text is #000000 at 6.63:1 contrast (WCAG AA passes).

Color values

HEX#31A551
RGBrgb(49, 165, 81)
HSLhsl(137, 54%, 42%)
HSVhsv(137, 70%, 65%)
CMYKcmyk(70.3%, 0%, 50.9%, 35.3%)
CIE-LABlab(60.03, -50.46, 34.24)
CIE-LCHlch(60.03, 60.97, 145.84°)
OKLaboklab(63.85% -0.1359 0.0829)
OKLCHoklch(63.85% 0.159 148.6)
XYZxyz(16.2057, 28.1555, 12.3635)
Luminance0.2816 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A551 #A53185
analogous
#4BA531 #31A551 #31A58B
triadic
#31A551 #5131A5 #A55131
tetradic
#31A551 #314BA5 #A53185 #A58B31
square
#31A551 #314BA5 #A53185 #A58B31
split-complementary
#31A551 #8B31A5 #A5314B
monochromatic
#154723 #23763A #31A551 #4AC96D #79D793

Accessibility & contrast

On white

3.17
#31A551 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.63
#31A551 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A551
6.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A551#FFFFFF#000000##000000
##31A5511.003.176.636.63
#FFFFFF3.171.0021.0021.00
#0000006.6321.001.001.00
##0000006.6321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6974A
Deuteranopia (green-blind)
#998D57
Tritanopia (blue-blind)
#00A291
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a551;
/* rgb */ color: rgb(49, 165, 81);
/* oklch */ color: oklch(63.8% 0.159 148.6);
Tailwind
colors: {
  custom: {
    50: '#79c183',
    500: '#31a551',
    950: '#000000',
  },
}
SCSS
$custom: #31a551;
$custom-light: #79c183;
$custom-dark: #000000;
JSON
{
  "hex": "#31a551",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 81
  },
  "hsl": {
    "h": 136.552,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63845,
    "c": 0.1592,
    "h": 148.6
  },
  "luminance": 0.28157
}

Semantic roles & 50–950 ramp

primary
#31A551
secondary
#C072AA
accent
#4AB5DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A551

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

Preview Lab → · Contrast checker → · Palette generator →

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