#31BA50#31BA50

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

Color values

HEX#31BA50
RGBrgb(49, 186, 80)
HSLhsl(134, 58%, 46%)
HSVhsv(134, 74%, 73%)
CMYKcmyk(73.7%, 0%, 57%, 27.1%)
CIE-LABlab(66.78, -58.09, 42.92)
CIE-LCHlch(66.78, 72.23, 143.54°)
OKLaboklab(69.43% -0.1565 0.1021)
OKLCHoklch(69.43% 0.187 146.9)
XYZxyz(20.2720, 36.3476, 13.5353)
Luminance0.3635 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA50 #BA319B
analogous
#56BA31 #31BA50 #31BA94
triadic
#31BA50 #5031BA #BA5031
tetradic
#31BA50 #3156BA #BA319B #BA9431
square
#31BA50 #3156BA #BA319B #BA9431
split-complementary
#31BA50 #9431BA #BA3156
monochromatic
#175926 #248A3B #31BA50 #56D272 #86DF9A

Accessibility & contrast

On white

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

On black

8.27
#31BA50 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA50
8.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA50#FFFFFF#000000##000000
##31BA501.002.548.278.27
#FFFFFF2.541.0021.0021.00
#0000008.2721.001.001.00
##0000008.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA946
Deuteranopia (green-blind)
#AD9E58
Tritanopia (blue-blind)
#00B6A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba50;
/* rgb */ color: rgb(49, 186, 80);
/* oklch */ color: oklch(69.4% 0.187 146.9);
Tailwind
colors: {
  custom: {
    50: '#7dd084',
    500: '#31ba50',
    950: '#000000',
  },
}
SCSS
$custom: #31ba50;
$custom-light: #7dd084;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba50",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 80
  },
  "hsl": {
    "h": 133.577,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6943,
    "c": 0.18681,
    "h": 146.9
  },
  "luminance": 0.3635
}

Semantic roles & 50–950 ramp

primary
#31BA50
secondary
#C97EB8
accent
#46BEE2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31BA50

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

Preview Lab → · Contrast checker → · Palette generator →

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