#31BC5A#31BC5A

#31BC5A is a light, vivid green. Relative luminance 0.374; OKLCH L 70.1% C 0.181 H 148.6°. Best body text is #000000 at 8.47:1 contrast (WCAG AA passes).

Color values

HEX#31BC5A
RGBrgb(49, 188, 90)
HSLhsl(138, 59%, 46%)
HSVhsv(138, 74%, 74%)
CMYKcmyk(73.9%, 0%, 52.1%, 26.3%)
CIE-LABlab(67.54, -57.38, 39.01)
CIE-LCHlch(67.54, 69.38, 145.79°)
OKLaboklab(70.1% -0.1543 0.0941)
OKLCHoklch(70.1% 0.181 148.6)
XYZxyz(21.0936, 37.3552, 15.7695)
Luminance0.3736 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC5A #BC3193
analogous
#4EBC31 #31BC5A #31BCA0
triadic
#31BC5A #5A31BC #BC5A31
tetradic
#31BC5A #314EBC #BC3193 #BCA031
square
#31BC5A #314EBC #BC3193 #BCA031
split-complementary
#31BC5A #A031BC #BC314E
monochromatic
#185B2C #248B43 #31BC5A #57D37C #88E0A2

Accessibility & contrast

On white

2.48
#31BC5A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.47
#31BC5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC5A
8.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC5A#FFFFFF#000000##000000
##31BC5A1.002.488.478.47
#FFFFFF2.481.0021.0021.00
#0000008.4721.001.001.00
##0000008.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB51
Deuteranopia (green-blind)
#AEA061
Tritanopia (blue-blind)
#00B8A6
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bc5a;
/* rgb */ color: rgb(49, 188, 90);
/* oklch */ color: oklch(70.1% 0.181 148.6);
Tailwind
colors: {
  custom: {
    50: '#7ed18b',
    500: '#31bc5a',
    950: '#000000',
  },
}
SCSS
$custom: #31bc5a;
$custom-light: #7ed18b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc5a",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 90
  },
  "hsl": {
    "h": 137.698,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70097,
    "c": 0.18076,
    "h": 148.6
  },
  "luminance": 0.37358
}

Semantic roles & 50–950 ramp

primary
#31BC5A
secondary
#CA7FB4
accent
#46B4E2
background
#F8FDF8
surface
#EFFAF0
border
#CAD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BC5A

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

Preview Lab → · Contrast checker → · Palette generator →

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