#31A549#31A549

#31A549 is a light, vivid green. Relative luminance 0.280; OKLCH L 63.7% C 0.166 H 146.8°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A549
RGBrgb(49, 165, 73)
HSLhsl(132, 54%, 42%)
HSVhsv(132, 70%, 65%)
CMYKcmyk(70.3%, 0%, 55.8%, 35.3%)
CIE-LABlab(59.93, -51.64, 38.11)
CIE-LCHlch(59.93, 64.18, 143.57°)
OKLaboklab(63.73% -0.1392 0.0911)
OKLCHoklch(63.73% 0.166 146.8)
XYZxyz(15.9232, 28.0425, 10.8756)
Luminance0.2804 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A549 #A5318D
analogous
#53A531 #31A549 #31A583
triadic
#31A549 #4931A5 #A54931
tetradic
#31A549 #3153A5 #A5318D #A58331
square
#31A549 #3153A5 #A5318D #A58331
split-complementary
#31A549 #8331A5 #A53153
monochromatic
#15471F #237634 #31A549 #4AC964 #79D78D

Accessibility & contrast

On white

3.18
#31A549 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A549 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A549
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A549#FFFFFF#000000##000000
##31A5491.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79640
Deuteranopia (green-blind)
#998D50
Tritanopia (blue-blind)
#00A190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a549;
/* rgb */ color: rgb(49, 165, 73);
/* oklch */ color: oklch(63.7% 0.166 146.8);
Tailwind
colors: {
  custom: {
    50: '#79c17e',
    500: '#31a549',
    950: '#000000',
  },
}
SCSS
$custom: #31a549;
$custom-light: #79c17e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a549",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 73
  },
  "hsl": {
    "h": 132.414,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63728,
    "c": 0.16636,
    "h": 146.8
  },
  "luminance": 0.28044
}

Semantic roles & 50–950 ramp

primary
#31A549
secondary
#C072B0
accent
#4ABFDE
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A549

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

Preview Lab → · Contrast checker → · Palette generator →

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