#31AB62#31AB62

#31AB62 is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.151 H 152.6°. Best body text is #000000 at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#31AB62
RGBrgb(49, 171, 98)
HSLhsl(144, 55%, 43%)
HSVhsv(144, 71%, 67%)
CMYKcmyk(71.3%, 0%, 42.7%, 32.9%)
CIE-LABlab(62.22, -49.84, 28.19)
CIE-LCHlch(62.22, 57.26, 150.51°)
OKLaboklab(65.73% -0.1343 0.0698)
OKLCHoklch(65.73% 0.151 152.6)
XYZxyz(18.0326, 30.6586, 16.5203)
Luminance0.3066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB62 #AB317A
analogous
#3DAB31 #31AB62 #31AB9F
triadic
#31AB62 #6231AB #AB6231
tetradic
#31AB62 #313DAB #AB317A #AB9F31
square
#31AB62 #313DAB #AB317A #AB9F31
split-complementary
#31AB62 #9F31AB #AB313D
monochromatic
#164C2B #237B47 #31AB62 #4DCC80 #7DDAA2

Accessibility & contrast

On white

2.94
#31AB62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.13
#31AB62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB62
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB62#FFFFFF#000000##000000
##31AB621.002.947.137.13
#FFFFFF2.941.0021.0021.00
#0000007.1321.001.001.00
##0000007.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9D5D
Deuteranopia (green-blind)
#9C9267
Tritanopia (blue-blind)
#00A999
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab62;
/* rgb */ color: rgb(49, 171, 98);
/* oklch */ color: oklch(65.7% 0.151 152.6);
Tailwind
colors: {
  custom: {
    50: '#7ac58f',
    500: '#31ab62',
    950: '#000000',
  },
}
SCSS
$custom: #31ab62;
$custom-light: #7ac58f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab62",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 98
  },
  "hsl": {
    "h": 144.098,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65734,
    "c": 0.15135,
    "h": 152.6
  },
  "luminance": 0.30661
}

Semantic roles & 50–950 ramp

primary
#31AB62
secondary
#C275A3
accent
#49A3DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AB62

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

Preview Lab → · Contrast checker → · Palette generator →

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