#31AB2F#31AB2F

#31AB2F is a light, vivid green. Relative luminance 0.300; OKLCH L 65.1% C 0.193 H 142.8°. Best body text is #000000 at 7.00:1 contrast (WCAG AA passes).

Color values

HEX#31AB2F
RGBrgb(49, 171, 47)
HSLhsl(119, 57%, 43%)
HSVhsv(119, 73%, 67%)
CMYKcmyk(71.3%, 0%, 72.5%, 32.9%)
CIE-LABlab(61.64, -56.62, 51.46)
CIE-LCHlch(61.64, 76.51, 137.73°)
OKLaboklab(65.07% -0.1538 0.1169)
OKLCHoklch(65.07% 0.193 142.8)
XYZxyz(16.3416, 29.9822, 7.6147)
Luminance0.2998 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AB2F #A92FAB
analogous
#6FAB2F #31AB2F #2FAB6B
triadic
#31AB2F #2F31AB #AB2F31
tetradic
#31AB2F #2F6FAB #A92FAB #AB6B2F
square
#31AB2F #2F6FAB #A92FAB #AB6B2F
split-complementary
#31AB2F #6B2FAB #AB2F6F
monochromatic
#154B15 #237B22 #31AB2F #4CCD4A #7CDA7A

Accessibility & contrast

On white

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

On black

7.00
#31AB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AB2F
7.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AB2F#FFFFFF#000000##000000
##31AB2F1.003.007.007.00
#FFFFFF3.001.0021.0021.00
#0000007.0021.001.001.00
##0000007.0021.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9B1A
Deuteranopia (green-blind)
#A1913C
Tritanopia (blue-blind)
#07A693
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31ab2f;
/* rgb */ color: rgb(49, 171, 47);
/* oklch */ color: oklch(65.1% 0.193 142.8);
Tailwind
colors: {
  custom: {
    50: '#7cc56f',
    500: '#31ab2f',
    950: '#000000',
  },
}
SCSS
$custom: #31ab2f;
$custom-light: #7cc56f;
$custom-dark: #000000;
JSON
{
  "hex": "#31ab2f",
  "rgb": {
    "r": 49,
    "g": 171,
    "b": 47
  },
  "hsl": {
    "h": 119.032,
    "s": 56.881,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65067,
    "c": 0.19321,
    "h": 142.8
  },
  "luminance": 0.29984
}

Semantic roles & 50–950 ramp

primary
#31AB2F
secondary
#C173C3
accent
#48E0DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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