#31B94A#31B94A

#31B94A is a light, vivid green. Relative luminance 0.358; OKLCH L 69.1% C 0.190 H 145.9°. Best body text is #000000 at 8.17:1 contrast (WCAG AA passes).

Color values

HEX#31B94A
RGBrgb(49, 185, 74)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.5%, 0%, 60%, 27.5%)
CIE-LABlab(66.40, -58.52, 45.26)
CIE-LCHlch(66.40, 73.98, 142.28°)
OKLaboklab(69.09% -0.1578 0.1067)
OKLCHoklch(69.09% 0.19 145.9)
XYZxyz(19.8502, 35.8430, 12.3495)
Luminance0.3584 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B94A #B931A0
analogous
#5CB931 #31B94A #31B98E
triadic
#31B94A #4A31B9 #B94A31
tetradic
#31B94A #315CB9 #B931A0 #B98E31
square
#31B94A #315CB9 #B931A0 #B98E31
split-complementary
#31B94A #8E31B9 #B9315C
monochromatic
#175823 #248937 #31B94A #55D26C #86DF96

Accessibility & contrast

On white

2.57
#31B94A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.17
#31B94A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B94A
8.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B94A#FFFFFF#000000##000000
##31B94A1.002.578.178.17
#FFFFFF2.571.0021.0021.00
#0000008.1721.001.001.00
##0000008.1721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#AC9D53
Tritanopia (blue-blind)
#00B5A1
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b94a;
/* rgb */ color: rgb(49, 185, 74);
/* oklch */ color: oklch(69.1% 0.190 145.9);
Tailwind
colors: {
  custom: {
    50: '#7dcf80',
    500: '#31b94a',
    950: '#000000',
  },
}
SCSS
$custom: #31b94a;
$custom-light: #7dcf80;
$custom-dark: #000000;
JSON
{
  "hex": "#31b94a",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 74
  },
  "hsl": {
    "h": 131.029,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6909,
    "c": 0.19048,
    "h": 145.9
  },
  "luminance": 0.35845
}

Semantic roles & 50–950 ramp

primary
#31B94A
secondary
#C87DBB
accent
#46C5E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B94A

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

Preview Lab → · Contrast checker → · Palette generator →

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