#31B347#31B347

#31B347 is a light, vivid green. Relative luminance 0.333; OKLCH L 67.5% C 0.186 H 145.7°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B347
RGBrgb(49, 179, 71)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 73%, 70%)
CMYKcmyk(72.6%, 0%, 60.3%, 29.8%)
CIE-LABlab(64.44, -56.84, 44.37)
CIE-LCHlch(64.44, 72.11, 142.02°)
OKLaboklab(67.46% -0.1533 0.1045)
OKLCHoklch(67.46% 0.186 145.7)
XYZxyz(18.5228, 33.3460, 11.4203)
Luminance0.3335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B347 #B3319D
analogous
#5CB331 #31B347 #31B388
triadic
#31B347 #4731B3 #B34731
tetradic
#31B347 #315CB3 #B3319D #B38831
square
#31B347 #315CB3 #B3319D #B38831
split-complementary
#31B347 #8831B3 #B3315C
monochromatic
#175321 #248334 #31B347 #52D067 #82DD91

Accessibility & contrast

On white

2.74
#31B347 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31B347 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B347
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B347#FFFFFF#000000##000000
##31B3471.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A33C
Deuteranopia (green-blind)
#A79850
Tritanopia (blue-blind)
#00AF9C
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b347;
/* rgb */ color: rgb(49, 179, 71);
/* oklch */ color: oklch(67.5% 0.186 145.7);
Tailwind
colors: {
  custom: {
    50: '#7ccb7e',
    500: '#31b347',
    950: '#000000',
  },
}
SCSS
$custom: #31b347;
$custom-light: #7ccb7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b347",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 71
  },
  "hsl": {
    "h": 130.154,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67457,
    "c": 0.18558,
    "h": 145.7
  },
  "luminance": 0.33348
}

Semantic roles & 50–950 ramp

primary
#31B347
secondary
#C67AB9
accent
#48C6E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B347

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

Preview Lab → · Contrast checker → · Palette generator →

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