#31B84C#31B84C

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

Color values

HEX#31B84C
RGBrgb(49, 184, 76)
HSLhsl(132, 58%, 46%)
HSVhsv(132, 73%, 72%)
CMYKcmyk(73.4%, 0%, 58.7%, 27.8%)
CIE-LABlab(66.10, -57.93, 43.99)
CIE-LCHlch(66.10, 72.74, 142.79°)
OKLaboklab(68.85% -0.1561 0.1041)
OKLCHoklch(68.85% 0.188 146.3)
XYZxyz(19.7102, 35.4535, 12.6405)
Luminance0.3546 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B84C #B8319D
analogous
#59B831 #31B84C #31B88F
triadic
#31B84C #4C31B8 #B84C31
tetradic
#31B84C #3159B8 #B8319D #B88F31
square
#31B84C #3159B8 #B8319D #B88F31
split-complementary
#31B84C #8F31B8 #B83159
monochromatic
#175724 #248838 #31B84C #55D26E #85DE97

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B84C#FFFFFF#000000##000000
##31B84C1.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)
#BBA741
Deuteranopia (green-blind)
#AB9C55
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b84c;
/* rgb */ color: rgb(49, 184, 76);
/* oklch */ color: oklch(68.8% 0.188 146.3);
Tailwind
colors: {
  custom: {
    50: '#7dce81',
    500: '#31b84c',
    950: '#000000',
  },
}
SCSS
$custom: #31b84c;
$custom-light: #7dce81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b84c",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 76
  },
  "hsl": {
    "h": 132,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68849,
    "c": 0.18765,
    "h": 146.3
  },
  "luminance": 0.35456
}

Semantic roles & 50–950 ramp

primary
#31B84C
secondary
#C87DB9
accent
#47C2E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B84C

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

Preview Lab → · Contrast checker → · Palette generator →

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