#31B147#31B147

#31B147 is a light, vivid green. Relative luminance 0.326; OKLCH L 66.9% C 0.183 H 145.8°. Best body text is #000000 at 7.51:1 contrast (WCAG AA passes).

Color values

HEX#31B147
RGBrgb(49, 177, 71)
HSLhsl(130, 57%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72.3%, 0%, 59.9%, 30.6%)
CIE-LABlab(63.80, -56.15, 43.62)
CIE-LCHlch(63.80, 71.10, 142.16°)
OKLaboklab(66.92% -0.1515 0.1029)
OKLCHoklch(66.92% 0.183 145.8)
XYZxyz(18.1248, 32.5501, 11.2876)
Luminance0.3255 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B147 #B1319B
analogous
#5BB131 #31B147 #31B187
triadic
#31B147 #4731B1 #B14731
tetradic
#31B147 #315BB1 #B1319B #B18731
square
#31B147 #315BB1 #B1319B #B18731
split-complementary
#31B147 #8731B1 #B1315B
monochromatic
#165121 #248134 #31B147 #51CF66 #80DC90

Accessibility & contrast

On white

2.80
#31B147 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.51
#31B147 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B147
7.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B147#FFFFFF#000000##000000
##31B1471.002.807.517.51
#FFFFFF2.801.0021.0021.00
#0000007.5121.001.001.00
##0000007.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A13C
Deuteranopia (green-blind)
#A59750
Tritanopia (blue-blind)
#00AD9A
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b147;
/* rgb */ color: rgb(49, 177, 71);
/* oklch */ color: oklch(66.9% 0.183 145.8);
Tailwind
colors: {
  custom: {
    50: '#7cc97e',
    500: '#31b147',
    950: '#000000',
  },
}
SCSS
$custom: #31b147;
$custom-light: #7cc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b147",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 71
  },
  "hsl": {
    "h": 130.313,
    "s": 56.637,
    "l": 44.314
  },
  "oklch": {
    "l": 0.66922,
    "c": 0.18312,
    "h": 145.8
  },
  "luminance": 0.32552
}

Semantic roles & 50–950 ramp

primary
#31B147
secondary
#C579B8
accent
#48C6E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B147

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

Preview Lab → · Contrast checker → · Palette generator →

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