#31AB2C#31AB2C

#31AB2C is a light, vivid green. Relative luminance 0.300; OKLCH L 65.0% C 0.195 H 142.5°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31AB2C
RGBrgb(49, 171, 44)
HSLhsl(118, 59%, 42%)
HSVhsv(118, 74%, 67%)
CMYKcmyk(71.3%, 0%, 74.3%, 32.9%)
CIE-LABlab(61.62, -56.87, 52.55)
CIE-LCHlch(61.62, 77.43, 137.26°)
OKLaboklab(65.04% -0.1546 0.1188)
OKLCHoklch(65.04% 0.195 142.5)
XYZxyz(16.2832, 29.9589, 7.3069)
Luminance0.2996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB2C #A62CAB
analogous
#70AB2C #31AB2C #2CAB67
triadic
#31AB2C #2C31AB #AB2C31
tetradic
#31AB2C #2C70AB #A62CAB #AB672C
square
#31AB2C #2C70AB #A62CAB #AB672C
split-complementary
#31AB2C #672CAB #AB2C70
monochromatic
#154A13 #237A1F #31AB2C #4ACF45 #7ADC76

Accessibility & contrast

On white

3.00
#31AB2C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31AB2C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AB2C
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB2C#FFFFFF#000000##000000
##31AB2C1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B14
Deuteranopia (green-blind)
#A19139
Tritanopia (blue-blind)
#09A692
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab2c;
/* rgb */ color: rgb(49, 171, 44);
/* oklch */ color: oklch(65.0% 0.195 142.5);
Tailwind
colors: {
  custom: {
    50: '#7cc56e',
    500: '#31ab2c',
    950: '#000000',
  },
}
SCSS
$custom: #31ab2c;
$custom-light: #7cc56e;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab2c",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 44
  },
  "hsl": {
    "h": 117.638,
    "s": 59.07,
    "l": 42.157
  },
  "oklch": {
    "l": 0.65044,
    "c": 0.195,
    "h": 142.5
  },
  "luminance": 0.29961
}

Semantic roles & 50–950 ramp

primary
#31AB2C
secondary
#C06FC3
accent
#46E2DC
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AB2C

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

Preview Lab → · Contrast checker → · Palette generator →

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