#31BF52#31BF52

#31BF52 is a light, vivid green. Relative luminance 0.385; OKLCH L 70.8% C 0.191 H 146.9°. Best body text is #000000 at 8.70:1 contrast (WCAG AA passes).

Color values

HEX#31BF52
RGBrgb(49, 191, 82)
HSLhsl(134, 59%, 47%)
HSVhsv(134, 74%, 75%)
CMYKcmyk(74.3%, 0%, 57.1%, 25.1%)
CIE-LABlab(68.40, -59.54, 43.89)
CIE-LCHlch(68.40, 73.97, 143.60°)
OKLaboklab(70.78% -0.1603 0.1044)
OKLCHoklch(70.78% 0.191 146.9)
XYZxyz(21.4188, 38.5213, 14.2875)
Luminance0.3852 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF52 #BF319E
analogous
#57BF31 #31BF52 #31BF99
triadic
#31BF52 #5231BF #BF5231
tetradic
#31BF52 #3157BF #BF319E #BF9931
square
#31BF52 #3157BF #BF319E #BF9931
split-complementary
#31BF52 #9931BF #BF3157
monochromatic
#185E28 #258E3D #31BF52 #59D476 #8AE19E

Accessibility & contrast

On white

2.41
#31BF52 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.70
#31BF52 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF52
8.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF52#FFFFFF#000000##000000
##31BF521.002.418.708.70
#FFFFFF2.411.0021.0021.00
#0000008.7021.001.001.00
##0000008.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#C1AE47
Deuteranopia (green-blind)
#B1A25B
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31bf52;
/* rgb */ color: rgb(49, 191, 82);
/* oklch */ color: oklch(70.8% 0.191 146.9);
Tailwind
colors: {
  custom: {
    50: '#7fd386',
    500: '#31bf52',
    950: '#000000',
  },
}
SCSS
$custom: #31bf52;
$custom-light: #7fd386;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf52",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 82
  },
  "hsl": {
    "h": 133.944,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70778,
    "c": 0.19128,
    "h": 146.9
  },
  "luminance": 0.38524
}

Semantic roles & 50–950 ramp

primary
#31BF52
secondary
#CB81BA
accent
#45BEE2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31BF52

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

Preview Lab → · Contrast checker → · Palette generator →

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