#31AB3F#31AB3F

#31AB3F is a light, vivid green. Relative luminance 0.301; OKLCH L 65.2% C 0.182 H 144.8°. Best body text is #000000 at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#31AB3F
RGBrgb(49, 171, 63)
HSLhsl(127, 55%, 43%)
HSVhsv(127, 71%, 67%)
CMYKcmyk(71.3%, 0%, 63.2%, 32.9%)
CIE-LABlab(61.77, -55.03, 44.96)
CIE-LCHlch(61.77, 71.06, 140.75°)
OKLaboklab(65.22% -0.1488 0.105)
OKLCHoklch(65.22% 0.182 144.8)
XYZxyz(16.7256, 30.1358, 9.6370)
Luminance0.3014 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB3F #AB319D
analogous
#60AB31 #31AB3F #31AB7C
triadic
#31AB3F #3F31AB #AB3F31
tetradic
#31AB3F #3160AB #AB319D #AB7C31
square
#31AB3F #3160AB #AB319D #AB7C31
split-complementary
#31AB3F #7C31AB #AB3160
monochromatic
#164C1C #237B2D #31AB3F #4DCC5C #7DDA87

Accessibility & contrast

On white

2.99
#31AB3F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.03
#31AB3F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB3F
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB3F#FFFFFF#000000##000000
##31AB3F1.002.997.037.03
#FFFFFF2.991.0021.0021.00
#0000007.0321.001.001.00
##0000007.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B33
Deuteranopia (green-blind)
#A09148
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab3f;
/* rgb */ color: rgb(49, 171, 63);
/* oklch */ color: oklch(65.2% 0.182 144.8);
Tailwind
colors: {
  custom: {
    50: '#7bc578',
    500: '#31ab3f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab3f;
$custom-light: #7bc578;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab3f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 63
  },
  "hsl": {
    "h": 126.885,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65219,
    "c": 0.18211,
    "h": 144.8
  },
  "luminance": 0.30138
}

Semantic roles & 50–950 ramp

primary
#31AB3F
secondary
#C275BA
accent
#49CEDF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AB3F

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

Preview Lab → · Contrast checker → · Palette generator →

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