#31AB4F#31AB4F

#31AB4F is a light, vivid green. Relative luminance 0.303; OKLCH L 65.4% C 0.169 H 147.7°. Best body text is #000000 at 7.07:1 contrast (WCAG AA passes).

Color values

HEX#31AB4F
RGBrgb(49, 171, 79)
HSLhsl(135, 55%, 43%)
HSVhsv(135, 71%, 67%)
CMYKcmyk(71.3%, 0%, 53.8%, 32.9%)
CIE-LABlab(61.95, -52.95, 37.60)
CIE-LCHlch(61.95, 64.94, 144.62°)
OKLaboklab(65.42% -0.1426 0.0903)
OKLCHoklch(65.42% 0.169 147.7)
XYZxyz(17.2395, 30.3414, 12.3435)
Luminance0.3034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB4F #AB318D
analogous
#50AB31 #31AB4F #31AB8C
triadic
#31AB4F #4F31AB #AB4F31
tetradic
#31AB4F #3150AB #AB318D #AB8C31
square
#31AB4F #3150AB #AB318D #AB8C31
split-complementary
#31AB4F #8C31AB #AB3150
monochromatic
#164C23 #237B39 #31AB4F #4DCC6C #7DDA94

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB4F#FFFFFF#000000##000000
##31AB4F1.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)
#AD9C47
Deuteranopia (green-blind)
#9E9256
Tritanopia (blue-blind)
#00A796
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ab4f;
/* rgb */ color: rgb(49, 171, 79);
/* oklch */ color: oklch(65.4% 0.169 147.7);
Tailwind
colors: {
  custom: {
    50: '#7ac582',
    500: '#31ab4f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab4f;
$custom-light: #7ac582;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab4f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 79
  },
  "hsl": {
    "h": 134.754,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65423,
    "c": 0.16882,
    "h": 147.7
  },
  "luminance": 0.30343
}

Semantic roles & 50–950 ramp

primary
#31AB4F
secondary
#C275AF
accent
#49BADF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AB4F

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

Preview Lab → · Contrast checker → · Palette generator →

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