#31AB4B#31AB4B

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

Color values

HEX#31AB4B
RGBrgb(49, 171, 75)
HSLhsl(133, 55%, 43%)
HSVhsv(133, 71%, 67%)
CMYKcmyk(71.3%, 0%, 56.1%, 32.9%)
CIE-LABlab(61.90, -53.52, 39.50)
CIE-LCHlch(61.90, 66.52, 143.57°)
OKLaboklab(65.37% -0.1442 0.0942)
OKLCHoklch(65.37% 0.172 146.8)
XYZxyz(17.0983, 30.2849, 11.5997)
Luminance0.3029 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB4B #AB3191
analogous
#54AB31 #31AB4B #31AB88
triadic
#31AB4B #4B31AB #AB4B31
tetradic
#31AB4B #3154AB #AB3191 #AB8831
square
#31AB4B #3154AB #AB3191 #AB8831
split-complementary
#31AB4B #8831AB #AB3154
monochromatic
#164C21 #237B36 #31AB4B #4DCC68 #7DDA91

Accessibility & contrast

On white

2.98
#31AB4B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.06
#31AB4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB4B
7.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB4B#FFFFFF#000000##000000
##31AB4B1.002.987.067.06
#FFFFFF2.981.0021.0021.00
#0000007.0621.001.001.00
##0000007.0621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ab4b;
/* rgb */ color: rgb(49, 171, 75);
/* oklch */ color: oklch(65.4% 0.172 146.8);
Tailwind
colors: {
  custom: {
    50: '#7ac580',
    500: '#31ab4b',
    950: '#000000',
  },
}
SCSS
$custom: #31ab4b;
$custom-light: #7ac580;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab4b",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 75
  },
  "hsl": {
    "h": 132.787,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65367,
    "c": 0.17231,
    "h": 146.8
  },
  "luminance": 0.30287
}

Semantic roles & 50–950 ramp

primary
#31AB4B
secondary
#C275B2
accent
#49BFDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AB4B

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

Preview Lab → · Contrast checker → · Palette generator →

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