#31B84A#31B84A

#31B84A is a light, vivid green. Relative luminance 0.354; OKLCH L 68.8% C 0.189 H 146.0°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).

Color values

HEX#31B84A
RGBrgb(49, 184, 74)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 73%, 72%)
CMYKcmyk(73.4%, 0%, 59.8%, 27.8%)
CIE-LABlab(66.08, -58.18, 44.89)
CIE-LCHlch(66.08, 73.48, 142.35°)
OKLaboklab(68.83% -0.1569 0.1059)
OKLCHoklch(68.83% 0.189 146)
XYZxyz(19.6417, 35.4261, 12.2800)
Luminance0.3543 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B84A #B8319F
analogous
#5BB831 #31B84A #31B88D
triadic
#31B84A #4A31B8 #B84A31
tetradic
#31B84A #315BB8 #B8319F #B88D31
square
#31B84A #315BB8 #B8319F #B88D31
split-complementary
#31B84A #8D31B8 #B8315B
monochromatic
#175723 #248837 #31B84A #55D26C #85DE95

Accessibility & contrast

On white

2.60
#31B84A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.09
#31B84A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B84A
8.09:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B84A#FFFFFF#000000##000000
##31B84A1.002.608.098.09
#FFFFFF2.601.0021.0021.00
#0000008.0921.001.001.00
##0000008.0921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73E
Deuteranopia (green-blind)
#AB9C53
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b84a;
/* rgb */ color: rgb(49, 184, 74);
/* oklch */ color: oklch(68.8% 0.189 146.0);
Tailwind
colors: {
  custom: {
    50: '#7dce80',
    500: '#31b84a',
    950: '#000000',
  },
}
SCSS
$custom: #31b84a;
$custom-light: #7dce80;
$custom-dark: #000000;
JSON
{
  "hex": "#31b84a",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 74
  },
  "hsl": {
    "h": 131.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68825,
    "c": 0.18926,
    "h": 146
  },
  "luminance": 0.35428
}

Semantic roles & 50–950 ramp

primary
#31B84A
secondary
#C87DBA
accent
#47C5E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B84A

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

Preview Lab → · Contrast checker → · Palette generator →

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