#31BC52#31BC52

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

Color values

HEX#31BC52
RGBrgb(49, 188, 82)
HSLhsl(134, 59%, 46%)
HSVhsv(134, 74%, 74%)
CMYKcmyk(73.9%, 0%, 56.4%, 26.3%)
CIE-LABlab(67.45, -58.51, 42.76)
CIE-LCHlch(67.45, 72.47, 143.84°)
OKLaboklab(69.99% -0.1575 0.1019)
OKLCHoklch(69.99% 0.188 147.1)
XYZxyz(20.7713, 37.2262, 14.0717)
Luminance0.3723 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BC52 #BC319B
analogous
#55BC31 #31BC52 #31BC98
triadic
#31BC52 #5231BC #BC5231
tetradic
#31BC52 #3155BC #BC319B #BC9831
square
#31BC52 #3155BC #BC319B #BC9831
split-complementary
#31BC52 #9831BC #BC3155
monochromatic
#185B28 #248B3D #31BC52 #57D374 #88E09D

Accessibility & contrast

On white

2.49
#31BC52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BC52#FFFFFF#000000##000000
##31BC521.002.498.458.45
#FFFFFF2.491.0021.0021.00
#0000008.4521.001.001.00
##0000008.4521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEAB48
Deuteranopia (green-blind)
#AEA05A
Tritanopia (blue-blind)
#00B8A4
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31bc52;
/* rgb */ color: rgb(49, 188, 82);
/* oklch */ color: oklch(70.0% 0.188 147.1);
Tailwind
colors: {
  custom: {
    50: '#7ed185',
    500: '#31bc52',
    950: '#000000',
  },
}
SCSS
$custom: #31bc52;
$custom-light: #7ed185;
$custom-dark: #000000;
JSON
{
  "hex": "#31bc52",
  "rgb": {
    "r": 49,
    "g": 188,
    "b": 82
  },
  "hsl": {
    "h": 134.245,
    "s": 58.65,
    "l": 46.471
  },
  "oklch": {
    "l": 0.69986,
    "c": 0.18761,
    "h": 147.1
  },
  "luminance": 0.37229
}

Semantic roles & 50–950 ramp

primary
#31BC52
secondary
#CA7FB8
accent
#46BDE2
background
#F8FDF8
surface
#EFFAEF
border
#CAD3CA
text
#0B140B
muted
#7C837C

Preview Lab

Preview with #31BC52

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

Preview Lab → · Contrast checker → · Palette generator →

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