#31B14A#31B14A

#31B14A is a light, vivid green. Relative luminance 0.326; OKLCH L 67.0% C 0.181 H 146.3°. Best body text is #000000 at 7.52:1 contrast (WCAG AA passes).

Color values

HEX#31B14A
RGBrgb(49, 177, 74)
HSLhsl(132, 57%, 44%)
HSVhsv(132, 72%, 69%)
CMYKcmyk(72.3%, 0%, 58.2%, 30.6%)
CIE-LABlab(63.83, -55.77, 42.26)
CIE-LCHlch(63.83, 69.97, 142.85°)
OKLaboklab(66.96% -0.1504 0.1002)
OKLCHoklch(66.96% 0.181 146.3)
XYZxyz(18.2235, 32.5896, 11.8073)
Luminance0.3259 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B14A #B13198
analogous
#58B131 #31B14A #31B18A
triadic
#31B14A #4A31B1 #B14A31
tetradic
#31B14A #3158B1 #B13198 #B18A31
square
#31B14A #3158B1 #B13198 #B18A31
split-complementary
#31B14A #8A31B1 #B13158
monochromatic
#165122 #248136 #31B14A #51CF69 #80DC92

Accessibility & contrast

On white

2.79
#31B14A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.52
#31B14A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B14A
7.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B14A#FFFFFF#000000##000000
##31B14A1.002.797.527.52
#FFFFFF2.791.0021.0021.00
#0000007.5221.001.001.00
##0000007.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A140
Deuteranopia (green-blind)
#A59752
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b14a;
/* rgb */ color: rgb(49, 177, 74);
/* oklch */ color: oklch(67.0% 0.181 146.3);
Tailwind
colors: {
  custom: {
    50: '#7cc980',
    500: '#31b14a',
    950: '#000000',
  },
}
SCSS
$custom: #31b14a;
$custom-light: #7cc980;
$custom-dark: #000000;
JSON
{
  "hex": "#31b14a",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 74
  },
  "hsl": {
    "h": 131.719,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66959,
    "c": 0.18067,
    "h": 146.3
  },
  "luminance": 0.32592
}

Semantic roles & 50–950 ramp

primary
#31B14A
secondary
#C579B6
accent
#48C2E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B14A

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

Preview Lab → · Contrast checker → · Palette generator →

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