#31BC5B#31BC5B

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

Color values

HEX#31BC5B
RGBrgb(49, 188, 91)
HSLhsl(138, 59%, 46%)
HSVhsv(138, 74%, 74%)
CMYKcmyk(73.9%, 0%, 51.6%, 26.3%)
CIE-LABlab(67.56, -57.23, 38.53)
CIE-LCHlch(67.56, 68.99, 146.05°)
OKLaboklab(70.11% -0.1539 0.0931)
OKLCHoklch(70.11% 0.18 148.8)
XYZxyz(21.1365, 37.3723, 15.9951)
Luminance0.3738 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC5B #BC3192
analogous
#4DBC31 #31BC5B #31BCA1
triadic
#31BC5B #5B31BC #BC5B31
tetradic
#31BC5B #314DBC #BC3192 #BCA131
square
#31BC5B #314DBC #BC3192 #BCA131
split-complementary
#31BC5B #A131BC #BC314D
monochromatic
#185B2C #248B44 #31BC5B #57D37D #88E0A2

Accessibility & contrast

On white

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

On black

8.48
#31BC5B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC5B
8.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC5B#FFFFFF#000000##000000
##31BC5B1.002.488.488.48
#FFFFFF2.481.0021.0021.00
#0000008.4821.001.001.00
##0000008.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB53
Deuteranopia (green-blind)
#ADA062
Tritanopia (blue-blind)
#00B8A6
Achromatopsia (no color)
#A5A5A5

Design tokens & code

CSS
--color: #31bc5b;
/* rgb */ color: rgb(49, 188, 91);
/* oklch */ color: oklch(70.1% 0.180 148.8);
Tailwind
colors: {
  custom: {
    50: '#7ed18b',
    500: '#31bc5b',
    950: '#000000',
  },
}
SCSS
$custom: #31bc5b;
$custom-light: #7ed18b;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc5b",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 91
  },
  "hsl": {
    "h": 138.129,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70111,
    "c": 0.17987,
    "h": 148.8
  },
  "luminance": 0.37375
}

Semantic roles & 50–950 ramp

primary
#31BC5B
secondary
#CA7FB3
accent
#46B3E2
background
#F8FDF8
surface
#EFFAF0
border
#CAD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31BC5B

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

Preview Lab → · Contrast checker → · Palette generator →

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