#31AB51#31AB51

#31AB51 is a light, vivid green. Relative luminance 0.304; OKLCH L 65.5% C 0.167 H 148.1°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AB51
RGBrgb(49, 171, 81)
HSLhsl(136, 55%, 43%)
HSVhsv(136, 71%, 67%)
CMYKcmyk(71.3%, 0%, 52.6%, 32.9%)
CIE-LABlab(61.97, -52.66, 36.63)
CIE-LCHlch(61.97, 64.15, 145.17°)
OKLaboklab(65.45% -0.1418 0.0883)
OKLCHoklch(65.45% 0.167 148.1)
XYZxyz(17.3134, 30.3709, 12.7327)
Luminance0.3037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB51 #AB318B
analogous
#4EAB31 #31AB51 #31AB8E
triadic
#31AB51 #5131AB #AB5131
tetradic
#31AB51 #314EAB #AB318B #AB8E31
square
#31AB51 #314EAB #AB318B #AB8E31
split-complementary
#31AB51 #8E31AB #AB314E
monochromatic
#164C24 #237B3A #31AB51 #4DCC6E #7DDA95

Accessibility & contrast

On white

2.97
#31AB51 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.07
#31AB51 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB51
7.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB51#FFFFFF#000000##000000
##31AB511.002.977.077.07
#FFFFFF2.971.0021.0021.00
#0000007.0721.001.001.00
##0000007.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9C49
Deuteranopia (green-blind)
#9E9258
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab51;
/* rgb */ color: rgb(49, 171, 81);
/* oklch */ color: oklch(65.5% 0.167 148.1);
Tailwind
colors: {
  custom: {
    50: '#7ac584',
    500: '#31ab51',
    950: '#000000',
  },
}
SCSS
$custom: #31ab51;
$custom-light: #7ac584;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab51",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 81
  },
  "hsl": {
    "h": 135.738,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65452,
    "c": 0.16704,
    "h": 148.1
  },
  "luminance": 0.30373
}

Semantic roles & 50–950 ramp

primary
#31AB51
secondary
#C275AE
accent
#49B7DF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AB51

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

Preview Lab → · Contrast checker → · Palette generator →

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