#31A147#31A147

#31A147 is a light, vivid green. Relative luminance 0.266; OKLCH L 62.6% C 0.163 H 146.6°. Best body text is #000000 at 6.32:1 contrast (WCAG AA passes).

Color values

HEX#31A147
RGBrgb(49, 161, 71)
HSLhsl(132, 53%, 41%)
HSVhsv(132, 70%, 63%)
CMYKcmyk(69.6%, 0%, 55.9%, 36.9%)
CIE-LABlab(58.60, -50.46, 37.50)
CIE-LCHlch(58.60, 62.87, 143.38°)
OKLaboklab(62.62% -0.1361 0.0896)
OKLCHoklch(62.62% 0.163 146.6)
XYZxyz(15.1478, 26.5960, 10.2953)
Luminance0.2660 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A147 #A1318B
analogous
#53A131 #31A147 #31A17F
triadic
#31A147 #4731A1 #A14731
tetradic
#31A147 #3153A1 #A1318B #A17F31
square
#31A147 #3153A1 #A1318B #A17F31
split-complementary
#31A147 #7F31A1 #A13153
monochromatic
#14431E #237232 #31A147 #48C761 #77D689

Accessibility & contrast

On white

3.32
#31A147 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.32
#31A147 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A147
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A147#FFFFFF#000000##000000
##31A1471.003.326.326.32
#FFFFFF3.321.0021.0021.00
#0000006.3221.001.001.00
##0000006.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3933F
Deuteranopia (green-blind)
#96894E
Tritanopia (blue-blind)
#009D8D
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a147;
/* rgb */ color: rgb(49, 161, 71);
/* oklch */ color: oklch(62.6% 0.163 146.6);
Tailwind
colors: {
  custom: {
    50: '#78be7d',
    500: '#31a147',
    950: '#000000',
  },
}
SCSS
$custom: #31a147;
$custom-light: #78be7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a147",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 71
  },
  "hsl": {
    "h": 131.786,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62621,
    "c": 0.16294,
    "h": 146.6
  },
  "luminance": 0.26598
}

Semantic roles & 50–950 ramp

primary
#31A147
secondary
#BE70AE
accent
#4BC0DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A147

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

Preview Lab → · Contrast checker → · Palette generator →

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