#31BF42#31BF42

#31BF42 is a light, highly saturated green. Relative luminance 0.383; OKLCH L 70.6% C 0.204 H 144.6°. Best body text is #000000 at 8.66:1 contrast (WCAG AA passes).

Color values

HEX#31BF42
RGBrgb(49, 191, 66)
HSLhsl(127, 59%, 47%)
HSVhsv(127, 74%, 75%)
CMYKcmyk(74.3%, 0%, 65.4%, 25.1%)
CIE-LABlab(68.25, -61.43, 50.86)
CIE-LCHlch(68.25, 79.75, 140.38°)
OKLaboklab(70.6% -0.166 0.1179)
OKLCHoklch(70.6% 0.204 144.6)
XYZxyz(20.8794, 38.3055, 11.4465)
Luminance0.3831 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BF42 #BF31AE
analogous
#67BF31 #31BF42 #31BF89
triadic
#31BF42 #4231BF #BF4231
tetradic
#31BF42 #3167BF #BF31AE #BF8931
square
#31BF42 #3167BF #BF31AE #BF8931
split-complementary
#31BF42 #8931BF #BF3167
monochromatic
#185E20 #258E31 #31BF42 #59D468 #8AE194

Accessibility & contrast

On white

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

On black

8.66
#31BF42 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BF42
8.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BF42#FFFFFF#000000##000000
##31BF421.002.428.668.66
#FFFFFF2.421.0021.0021.00
#0000008.6621.001.001.00
##0000008.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AD32
Deuteranopia (green-blind)
#B2A24D
Tritanopia (blue-blind)
#00BAA5
Achromatopsia (no color)
#A6A6A6

Design tokens & code

CSS
--color: #31bf42;
/* rgb */ color: rgb(49, 191, 66);
/* oklch */ color: oklch(70.6% 0.204 144.6);
Tailwind
colors: {
  custom: {
    50: '#7fd47c',
    500: '#31bf42',
    950: '#000000',
  },
}
SCSS
$custom: #31bf42;
$custom-light: #7fd47c;
$custom-dark: #000000;
JSON
{
  "hex": "#31bf42",
  "rgb": {
    "r": 49,
    "g": 191,
    "b": 66
  },
  "hsl": {
    "h": 127.183,
    "s": 59.167,
    "l": 47.059
  },
  "oklch": {
    "l": 0.70596,
    "c": 0.2036,
    "h": 144.6
  },
  "luminance": 0.38308
}

Semantic roles & 50–950 ramp

primary
#31BF42
secondary
#CB81C2
accent
#45D0E2
background
#F8FDF7
surface
#F0FAEE
border
#CBD3C9
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31BF42

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

Preview Lab → · Contrast checker → · Palette generator →

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