#31A552#31A552

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

Color values

HEX#31A552
RGBrgb(49, 165, 82)
HSLhsl(137, 54%, 42%)
HSVhsv(137, 70%, 65%)
CMYKcmyk(70.3%, 0%, 50.3%, 35.3%)
CIE-LABlab(60.04, -50.30, 33.74)
CIE-LCHlch(60.04, 60.57, 146.14°)
OKLaboklab(63.86% -0.1355 0.0819)
OKLCHoklch(63.86% 0.158 148.9)
XYZxyz(16.2435, 28.1706, 12.5624)
Luminance0.2817 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A552 #A53184
analogous
#4AA531 #31A552 #31A58C
triadic
#31A552 #5231A5 #A55231
tetradic
#31A552 #314AA5 #A53184 #A58C31
square
#31A552 #314AA5 #A53184 #A58C31
split-complementary
#31A552 #8C31A5 #A5314A
monochromatic
#154723 #23763B #31A552 #4AC96E #79D794

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A552#FFFFFF#000000##000000
##31A5521.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)
#A6974B
Deuteranopia (green-blind)
#988D58
Tritanopia (blue-blind)
#00A292
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a552;
/* rgb */ color: rgb(49, 165, 82);
/* oklch */ color: oklch(63.9% 0.158 148.9);
Tailwind
colors: {
  custom: {
    50: '#79c184',
    500: '#31a552',
    950: '#000000',
  },
}
SCSS
$custom: #31a552;
$custom-light: #79c184;
$custom-dark: #000000;
JSON
{
  "hex": "#31a552",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 82
  },
  "hsl": {
    "h": 137.069,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63861,
    "c": 0.15829,
    "h": 148.9
  },
  "luminance": 0.28172
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A552

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

Preview Lab → · Contrast checker → · Palette generator →

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