#31AB41#31AB41

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

Color values

HEX#31AB41
RGBrgb(49, 171, 65)
HSLhsl(128, 55%, 43%)
HSVhsv(128, 71%, 67%)
CMYKcmyk(71.3%, 0%, 62%, 32.9%)
CIE-LABlab(61.79, -54.80, 44.08)
CIE-LCHlch(61.79, 70.33, 141.19°)
OKLaboklab(65.24% -0.148 0.1033)
OKLCHoklch(65.24% 0.181 145.1)
XYZxyz(16.7825, 30.1586, 9.9367)
Luminance0.3016 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB41 #AB319B
analogous
#5EAB31 #31AB41 #31AB7E
triadic
#31AB41 #4131AB #AB4131
tetradic
#31AB41 #315EAB #AB319B #AB7E31
square
#31AB41 #315EAB #AB319B #AB7E31
split-complementary
#31AB41 #7E31AB #AB315E
monochromatic
#164C1D #237B2F #31AB41 #4DCC5E #7DDA89

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AB41#FFFFFF#000000##000000
##31AB411.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)
#AE9B35
Deuteranopia (green-blind)
#A0914A
Tritanopia (blue-blind)
#00A794
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab41;
/* rgb */ color: rgb(49, 171, 65);
/* oklch */ color: oklch(65.2% 0.181 145.1);
Tailwind
colors: {
  custom: {
    50: '#7bc579',
    500: '#31ab41',
    950: '#000000',
  },
}
SCSS
$custom: #31ab41;
$custom-light: #7bc579;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab41",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 65
  },
  "hsl": {
    "h": 127.869,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65242,
    "c": 0.18055,
    "h": 145.1
  },
  "luminance": 0.3016
}

Semantic roles & 50–950 ramp

primary
#31AB41
secondary
#C275B8
accent
#49CBDF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AB41

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

Preview Lab → · Contrast checker → · Palette generator →

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