#31B847#31B847

#31B847 is a light, vivid green. Relative luminance 0.354; OKLCH L 68.8% C 0.192 H 145.5°. Best body text is #000000 at 8.08:1 contrast (WCAG AA passes).

Color values

HEX#31B847
RGBrgb(49, 184, 71)
HSLhsl(130, 58%, 46%)
HSVhsv(130, 73%, 72%)
CMYKcmyk(73.4%, 0%, 61.4%, 27.8%)
CIE-LABlab(66.05, -58.54, 46.22)
CIE-LCHlch(66.05, 74.59, 141.71°)
OKLaboklab(68.79% -0.158 0.1085)
OKLCHoklch(68.79% 0.192 145.5)
XYZxyz(19.5431, 35.3867, 11.7604)
Luminance0.3539 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B847 #B831A2
analogous
#5EB831 #31B847 #31B88A
triadic
#31B847 #4731B8 #B84731
tetradic
#31B847 #315EB8 #B831A2 #B88A31
square
#31B847 #315EB8 #B831A2 #B88A31
split-complementary
#31B847 #8A31B8 #B8315E
monochromatic
#175722 #248834 #31B847 #55D269 #85DE94

Accessibility & contrast

On white

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

On black

8.08
#31B847 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B847
8.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B847#FFFFFF#000000##000000
##31B8471.002.608.088.08
#FFFFFF2.601.0021.0021.00
#0000008.0821.001.001.00
##0000008.0821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA73B
Deuteranopia (green-blind)
#AB9C51
Tritanopia (blue-blind)
#00B3A0
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b847;
/* rgb */ color: rgb(49, 184, 71);
/* oklch */ color: oklch(68.8% 0.192 145.5);
Tailwind
colors: {
  custom: {
    50: '#7dce7e',
    500: '#31b847',
    950: '#000000',
  },
}
SCSS
$custom: #31b847;
$custom-light: #7dce7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b847",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 71
  },
  "hsl": {
    "h": 129.778,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.6879,
    "c": 0.19163,
    "h": 145.5
  },
  "luminance": 0.35389
}

Semantic roles & 50–950 ramp

primary
#31B847
secondary
#C87DBC
accent
#47C8E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B140A
muted
#7C827C

Preview Lab

Preview with #31B847

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

Preview Lab → · Contrast checker → · Palette generator →

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