#31BF48#31BF48

#31BF48 is a light, vivid green. Relative luminance 0.384; OKLCH L 70.7% C 0.199 H 145.4°. Best body text is #000000 at 8.68:1 contrast (WCAG AA passes).

Color values

HEX#31BF48
RGBrgb(49, 191, 72)
HSLhsl(130, 59%, 47%)
HSVhsv(130, 74%, 75%)
CMYKcmyk(74.3%, 0%, 62.3%, 25.1%)
CIE-LABlab(68.30, -60.78, 48.33)
CIE-LCHlch(68.30, 77.65, 141.51°)
OKLaboklab(70.66% -0.164 0.1131)
OKLCHoklch(70.66% 0.199 145.4)
XYZxyz(21.0656, 38.3800, 12.4275)
Luminance0.3838 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF48 #BF31A8
analogous
#61BF31 #31BF48 #31BF8F
triadic
#31BF48 #4831BF #BF4831
tetradic
#31BF48 #3161BF #BF31A8 #BF8F31
square
#31BF48 #3161BF #BF31A8 #BF8F31
split-complementary
#31BF48 #8F31BF #BF3161
monochromatic
#185E23 #258E36 #31BF48 #59D46D #8AE198

Accessibility & contrast

On white

2.42
#31BF48 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.68
#31BF48 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF48
8.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF48#FFFFFF#000000##000000
##31BF481.002.428.688.68
#FFFFFF2.421.0021.0021.00
#0000008.6821.001.001.00
##0000008.6821.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD3A
Deuteranopia (green-blind)
#B2A252
Tritanopia (blue-blind)
#00BAA6
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31bf48;
/* rgb */ color: rgb(49, 191, 72);
/* oklch */ color: oklch(70.7% 0.199 145.4);
Tailwind
colors: {
  custom: {
    50: '#7fd47f',
    500: '#31bf48',
    950: '#000000',
  },
}
SCSS
$custom: #31bf48;
$custom-light: #7fd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf48",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 72
  },
  "hsl": {
    "h": 129.718,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70659,
    "c": 0.1992,
    "h": 145.4
  },
  "luminance": 0.38382
}

Semantic roles & 50–950 ramp

primary
#31BF48
secondary
#CB81BF
accent
#45C9E2
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31BF48

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

Preview Lab → · Contrast checker → · Palette generator →

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