#31A550#31A550

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

Color values

HEX#31A550
RGBrgb(49, 165, 80)
HSLhsl(136, 54%, 42%)
HSVhsv(136, 70%, 65%)
CMYKcmyk(70.3%, 0%, 51.5%, 35.3%)
CIE-LABlab(60.02, -50.61, 34.73)
CIE-LCHlch(60.02, 61.38, 145.54°)
OKLaboklab(63.83% -0.1363 0.084)
OKLCHoklch(63.83% 0.16 148.4)
XYZxyz(16.1685, 28.1406, 12.1674)
Luminance0.2814 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A550 #A53186
analogous
#4CA531 #31A550 #31A58A
triadic
#31A550 #5031A5 #A55031
tetradic
#31A550 #314CA5 #A53186 #A58A31
square
#31A550 #314CA5 #A53186 #A58A31
split-complementary
#31A550 #8A31A5 #A5314C
monochromatic
#154722 #237639 #31A550 #4AC96C #79D792

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A550#FFFFFF#000000##000000
##31A5501.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)
#A79749
Deuteranopia (green-blind)
#998D56
Tritanopia (blue-blind)
#00A291
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a550;
/* rgb */ color: rgb(49, 165, 80);
/* oklch */ color: oklch(63.8% 0.160 148.4);
Tailwind
colors: {
  custom: {
    50: '#79c183',
    500: '#31a550',
    950: '#000000',
  },
}
SCSS
$custom: #31a550;
$custom-light: #79c183;
$custom-dark: #000000;
JSON
{
  "hex": "#31a550",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 80
  },
  "hsl": {
    "h": 136.034,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63829,
    "c": 0.16011,
    "h": 148.4
  },
  "luminance": 0.28142
}

Semantic roles & 50–950 ramp

primary
#31A550
secondary
#C072AB
accent
#4AB6DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A550

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

Preview Lab → · Contrast checker → · Palette generator →

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