#31B841#31B841

#31B841 is a light, vivid green. Relative luminance 0.353; OKLCH L 68.7% C 0.196 H 144.7°. Best body text is #000000 at 8.06:1 contrast (WCAG AA passes).

Color values

HEX#31B841
RGBrgb(49, 184, 65)
HSLhsl(127, 58%, 46%)
HSVhsv(127, 73%, 72%)
CMYKcmyk(73.4%, 0%, 64.7%, 27.8%)
CIE-LABlab(65.99, -59.23, 48.80)
CIE-LCHlch(65.99, 76.74, 140.51°)
OKLaboklab(68.72% -0.16 0.1134)
OKLCHoklch(68.72% 0.196 144.7)
XYZxyz(19.3599, 35.3134, 10.7959)
Luminance0.3532 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B841 #B831A8
analogous
#64B831 #31B841 #31B884
triadic
#31B841 #4131B8 #B84131
tetradic
#31B841 #3164B8 #B831A8 #B88431
square
#31B841 #3164B8 #B831A8 #B88431
split-complementary
#31B841 #8431B8 #B83164
monochromatic
#17571F #248830 #31B841 #55D263 #85DE90

Accessibility & contrast

On white

2.60
#31B841 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.06
#31B841 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B841
8.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B841#FFFFFF#000000##000000
##31B8411.002.608.068.06
#FFFFFF2.601.0021.0021.00
#0000008.0621.001.001.00
##0000008.0621.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA732
Deuteranopia (green-blind)
#AC9C4C
Tritanopia (blue-blind)
#00B39F
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b841;
/* rgb */ color: rgb(49, 184, 65);
/* oklch */ color: oklch(68.7% 0.196 144.7);
Tailwind
colors: {
  custom: {
    50: '#7ece7a',
    500: '#31b841',
    950: '#000000',
  },
}
SCSS
$custom: #31b841;
$custom-light: #7ece7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b841",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 65
  },
  "hsl": {
    "h": 127.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.68724,
    "c": 0.19616,
    "h": 144.7
  },
  "luminance": 0.35316
}

Semantic roles & 50–950 ramp

primary
#31B841
secondary
#C87DBF
accent
#47CFE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B841

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

Preview Lab → · Contrast checker → · Palette generator →

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