#31BC54#31BC54

#31BC54 is a light, vivid green. Relative luminance 0.373; OKLCH L 70.0% C 0.186 H 147.5°. Best body text is #000000 at 8.45:1 contrast (WCAG AA passes).

Color values

HEX#31BC54
RGBrgb(49, 188, 84)
HSLhsl(135, 59%, 46%)
HSVhsv(135, 74%, 74%)
CMYKcmyk(73.9%, 0%, 55.3%, 26.3%)
CIE-LABlab(67.47, -58.24, 41.83)
CIE-LCHlch(67.47, 71.71, 144.31°)
OKLaboklab(70.01% -0.1567 0.1)
OKLCHoklch(70.01% 0.186 147.5)
XYZxyz(20.8485, 37.2571, 14.4784)
Luminance0.3726 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC54 #BC3199
analogous
#54BC31 #31BC54 #31BC9A
triadic
#31BC54 #5431BC #BC5431
tetradic
#31BC54 #3154BC #BC3199 #BC9A31
square
#31BC54 #3154BC #BC3199 #BC9A31
split-complementary
#31BC54 #9A31BC #BC3154
monochromatic
#185B29 #248B3E #31BC54 #57D376 #88E09E

Accessibility & contrast

On white

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

On black

8.45
#31BC54 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BC54
8.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BC54#FFFFFF#000000##000000
##31BC541.002.488.458.45
#FFFFFF2.481.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB4A
Deuteranopia (green-blind)
#AEA05C
Tritanopia (blue-blind)
#00B8A5
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bc54;
/* rgb */ color: rgb(49, 188, 84);
/* oklch */ color: oklch(70.0% 0.186 147.5);
Tailwind
colors: {
  custom: {
    50: '#7ed187',
    500: '#31bc54',
    950: '#000000',
  },
}
SCSS
$custom: #31bc54;
$custom-light: #7ed187;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc54",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 84
  },
  "hsl": {
    "h": 135.108,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.70012,
    "c": 0.18592,
    "h": 147.5
  },
  "luminance": 0.3726
}

Semantic roles & 50–950 ramp

primary
#31BC54
secondary
#CA7FB7
accent
#46BBE2
background
#F8FDF8
surface
#EFFAF0
border
#CAD3CB
text
#0B140B
muted
#7C837C

Preview Lab

Preview with #31BC54

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

Preview Lab → · Contrast checker → · Palette generator →

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