#31A747#31A747

#31A747 is a light, vivid green. Relative luminance 0.287; OKLCH L 64.2% C 0.171 H 146.3°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#31A747
RGBrgb(49, 167, 71)
HSLhsl(131, 55%, 42%)
HSVhsv(131, 71%, 65%)
CMYKcmyk(70.7%, 0%, 57.5%, 34.5%)
CIE-LABlab(60.55, -52.63, 39.83)
CIE-LCHlch(60.55, 66.01, 142.88°)
OKLaboklab(64.24% -0.142 0.0947)
OKLCHoklch(64.24% 0.171 146.3)
XYZxyz(16.2215, 28.7436, 10.6532)
Luminance0.2874 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A747 #A73191
analogous
#56A731 #31A747 #31A782
triadic
#31A747 #4731A7 #A74731
tetradic
#31A747 #3156A7 #A73191 #A78231
square
#31A747 #3156A7 #A73191 #A78231
split-complementary
#31A747 #8231A7 #A73156
monochromatic
#15481F #237833 #31A747 #4BCA63 #7AD88C

Accessibility & contrast

On white

3.11
#31A747 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#31A747 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A747
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A747#FFFFFF#000000##000000
##31A7471.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9983E
Deuteranopia (green-blind)
#9B8E4F
Tritanopia (blue-blind)
#00A392
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a747;
/* rgb */ color: rgb(49, 167, 71);
/* oklch */ color: oklch(64.2% 0.171 146.3);
Tailwind
colors: {
  custom: {
    50: '#7ac27d',
    500: '#31a747',
    950: '#000000',
  },
}
SCSS
$custom: #31a747;
$custom-light: #7ac27d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a747",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 71
  },
  "hsl": {
    "h": 131.186,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64239,
    "c": 0.17064,
    "h": 146.3
  },
  "luminance": 0.28745
}

Semantic roles & 50–950 ramp

primary
#31A747
secondary
#C173B2
accent
#4AC2DE
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A747

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

Preview Lab → · Contrast checker → · Palette generator →

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