#31AB3D#31AB3D

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

Color values

HEX#31AB3D
RGBrgb(49, 171, 61)
HSLhsl(126, 55%, 43%)
HSVhsv(126, 71%, 67%)
CMYKcmyk(71.3%, 0%, 64.3%, 32.9%)
CIE-LABlab(61.75, -55.26, 45.83)
CIE-LCHlch(61.75, 71.79, 140.33°)
OKLaboklab(65.2% -0.1495 0.1067)
OKLCHoklch(65.2% 0.184 144.5)
XYZxyz(16.6707, 30.1139, 9.3480)
Luminance0.3012 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB3D #AB319F
analogous
#62AB31 #31AB3D #31AB7A
triadic
#31AB3D #3D31AB #AB3D31
tetradic
#31AB3D #3162AB #AB319F #AB7A31
square
#31AB3D #3162AB #AB319F #AB7A31
split-complementary
#31AB3D #7A31AB #AB3162
monochromatic
#164C1B #237B2C #31AB3D #4DCC5A #7DDA86

Accessibility & contrast

On white

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

On black

7.02
#31AB3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB3D
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB3D#FFFFFF#000000##000000
##31AB3D1.002.997.027.02
#FFFFFF2.991.0021.0021.00
#0000007.0221.001.001.00
##0000007.0221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9B30
Deuteranopia (green-blind)
#A09147
Tritanopia (blue-blind)
#00A694
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab3d;
/* rgb */ color: rgb(49, 171, 61);
/* oklch */ color: oklch(65.2% 0.184 144.5);
Tailwind
colors: {
  custom: {
    50: '#7bc577',
    500: '#31ab3d',
    950: '#000000',
  },
}
SCSS
$custom: #31ab3d;
$custom-light: #7bc577;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab3d",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 61
  },
  "hsl": {
    "h": 125.902,
    "s": 55.455,
    "l": 43.137
  },
  "oklch": {
    "l": 0.65198,
    "c": 0.18363,
    "h": 144.5
  },
  "luminance": 0.30116
}

Semantic roles & 50–950 ramp

primary
#31AB3D
secondary
#C275BB
accent
#49D0DF
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AB3D

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

Preview Lab → · Contrast checker → · Palette generator →

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