#31BB4A#31BB4A

#31BB4A is a light, vivid green. Relative luminance 0.367; OKLCH L 69.6% C 0.193 H 145.9°. Best body text is #000000 at 8.34:1 contrast (WCAG AA passes).

Color values

HEX#31BB4A
RGBrgb(49, 187, 74)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.8%, 0%, 60.4%, 26.7%)
CIE-LABlab(67.04, -59.20, 46.00)
CIE-LCHlch(67.04, 74.97, 142.15°)
OKLaboklab(69.62% -0.1596 0.1083)
OKLCHoklch(69.62% 0.193 145.9)
XYZxyz(20.2715, 36.6857, 12.4899)
Luminance0.3669 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB4A #BB31A2
analogous
#5DBB31 #31BB4A #31BB8F
triadic
#31BB4A #4A31BB #BB4A31
tetradic
#31BB4A #315DBB #BB31A2 #BB8F31
square
#31BB4A #315DBB #BB31A2 #BB8F31
split-complementary
#31BB4A #8F31BB #BB315D
monochromatic
#185A24 #248B37 #31BB4A #56D36D #87E097

Accessibility & contrast

On white

2.52
#31BB4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.34
#31BB4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB4A
8.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB4A#FFFFFF#000000##000000
##31BB4A1.002.528.348.34
#FFFFFF2.521.0021.0021.00
#0000008.3421.001.001.00
##0000008.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAA3E
Deuteranopia (green-blind)
#AE9F53
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb4a;
/* rgb */ color: rgb(49, 187, 74);
/* oklch */ color: oklch(69.6% 0.193 145.9);
Tailwind
colors: {
  custom: {
    50: '#7ed180',
    500: '#31bb4a',
    950: '#000000',
  },
}
SCSS
$custom: #31bb4a;
$custom-light: #7ed180;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb4a",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 74
  },
  "hsl": {
    "h": 130.87,
    "s": 58.475,
    "l": 46.275
  },
  "oklch": {
    "l": 0.69622,
    "c": 0.19288,
    "h": 145.9
  },
  "luminance": 0.36688
}

Semantic roles & 50–950 ramp

primary
#31BB4A
secondary
#C97FBC
accent
#46C6E2
background
#F8FCF8
surface
#F0F9EF
border
#CBD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BB4A

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

Preview Lab → · Contrast checker → · Palette generator →

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