#31B84B#31B84B

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

Color values

HEX#31B84B
RGBrgb(49, 184, 75)
HSLhsl(132, 58%, 46%)
HSVhsv(132, 73%, 72%)
CMYKcmyk(73.4%, 0%, 59.2%, 27.8%)
CIE-LABlab(66.09, -58.06, 44.44)
CIE-LCHlch(66.09, 73.11, 142.57°)
OKLaboklab(68.84% -0.1565 0.105)
OKLCHoklch(68.84% 0.188 146.1)
XYZxyz(19.6757, 35.4397, 12.4588)
Luminance0.3544 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B84B #B8319E
analogous
#5AB831 #31B84B #31B88F
triadic
#31B84B #4B31B8 #B84B31
tetradic
#31B84B #315AB8 #B8319E #B88F31
square
#31B84B #315AB8 #B8319E #B88F31
split-complementary
#31B84B #8F31B8 #B8315A
monochromatic
#175724 #248837 #31B84B #55D26D #85DE96

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B84B#FFFFFF#000000##000000
##31B84B1.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)
#BBA740
Deuteranopia (green-blind)
#AB9C54
Tritanopia (blue-blind)
#00B4A0
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b84b;
/* rgb */ color: rgb(49, 184, 75);
/* oklch */ color: oklch(68.8% 0.188 146.1);
Tailwind
colors: {
  custom: {
    50: '#7dce81',
    500: '#31b84b',
    950: '#000000',
  },
}
SCSS
$custom: #31b84b;
$custom-light: #7dce81;
$custom-dark: #000000;
JSON
{
  "hex": "#31b84b",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 75
  },
  "hsl": {
    "h": 131.556,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68837,
    "c": 0.18845,
    "h": 146.1
  },
  "luminance": 0.35442
}

Semantic roles & 50–950 ramp

primary
#31B84B
secondary
#C87DB9
accent
#47C3E1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B84B

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

Preview Lab → · Contrast checker → · Palette generator →

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