#31BA4A#31BA4A

#31BA4A is a light, vivid green. Relative luminance 0.363; OKLCH L 69.4% C 0.192 H 145.9°. Best body text is #000000 at 8.25:1 contrast (WCAG AA passes).

Color values

HEX#31BA4A
RGBrgb(49, 186, 74)
HSLhsl(131, 58%, 46%)
HSVhsv(131, 74%, 73%)
CMYKcmyk(73.7%, 0%, 60.2%, 27.1%)
CIE-LABlab(66.72, -58.86, 45.63)
CIE-LCHlch(66.72, 74.47, 142.22°)
OKLaboklab(69.36% -0.1587 0.1075)
OKLCHoklch(69.36% 0.192 145.9)
XYZxyz(20.0601, 36.2629, 12.4195)
Luminance0.3626 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA4A #BA31A1
analogous
#5CBA31 #31BA4A #31BA8E
triadic
#31BA4A #4A31BA #BA4A31
tetradic
#31BA4A #315CBA #BA31A1 #BA8E31
square
#31BA4A #315CBA #BA31A1 #BA8E31
split-complementary
#31BA4A #8E31BA #BA315C
monochromatic
#175923 #248A37 #31BA4A #56D26D #86DF96

Accessibility & contrast

On white

2.54
#31BA4A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.25
#31BA4A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA4A
8.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA4A#FFFFFF#000000##000000
##31BA4A1.002.548.258.25
#FFFFFF2.541.0021.0021.00
#0000008.2521.001.001.00
##0000008.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BDA93E
Deuteranopia (green-blind)
#AD9E53
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba4a;
/* rgb */ color: rgb(49, 186, 74);
/* oklch */ color: oklch(69.4% 0.192 145.9);
Tailwind
colors: {
  custom: {
    50: '#7ed080',
    500: '#31ba4a',
    950: '#000000',
  },
}
SCSS
$custom: #31ba4a;
$custom-light: #7ed080;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba4a",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 74
  },
  "hsl": {
    "h": 130.949,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69356,
    "c": 0.19168,
    "h": 145.9
  },
  "luminance": 0.36265
}

Semantic roles & 50–950 ramp

primary
#31BA4A
secondary
#C97EBB
accent
#46C5E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31BA4A

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

Preview Lab → · Contrast checker → · Palette generator →

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