#31AC47#31AC47

#31AC47 is a light, vivid green. Relative luminance 0.306; OKLCH L 65.6% C 0.177 H 146.0°. Best body text is #000000 at 7.12:1 contrast (WCAG AA passes).

Color values

HEX#31AC47
RGBrgb(49, 172, 71)
HSLhsl(131, 56%, 43%)
HSVhsv(131, 72%, 67%)
CMYKcmyk(71.5%, 0%, 58.7%, 32.5%)
CIE-LABlab(62.18, -54.41, 41.74)
CIE-LCHlch(62.18, 68.57, 142.50°)
OKLaboklab(65.58% -0.1468 0.0988)
OKLCHoklch(65.58% 0.177 146)
XYZxyz(17.1553, 30.6110, 10.9644)
Luminance0.3061 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC47 #AC3196
analogous
#58AC31 #31AC47 #31AC84
triadic
#31AC47 #4731AC #AC4731
tetradic
#31AC47 #3158AC #AC3196 #AC8431
square
#31AC47 #3158AC #AC3196 #AC8431
split-complementary
#31AC47 #8431AC #AC3158
monochromatic
#164D20 #237C33 #31AC47 #4ECC64 #7DDA8E

Accessibility & contrast

On white

2.95
#31AC47 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.12
#31AC47 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC47
7.12:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC47#FFFFFF#000000##000000
##31AC471.002.957.127.12
#FFFFFF2.951.0021.0021.00
#0000007.1221.001.001.00
##0000007.1221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AF9C3D
Deuteranopia (green-blind)
#A0924F
Tritanopia (blue-blind)
#00A896
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac47;
/* rgb */ color: rgb(49, 172, 71);
/* oklch */ color: oklch(65.6% 0.177 146.0);
Tailwind
colors: {
  custom: {
    50: '#7bc67d',
    500: '#31ac47',
    950: '#000000',
  },
}
SCSS
$custom: #31ac47;
$custom-light: #7bc67d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac47",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 71
  },
  "hsl": {
    "h": 130.732,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65583,
    "c": 0.17693,
    "h": 146
  },
  "luminance": 0.30613
}

Semantic roles & 50–950 ramp

primary
#31AC47
secondary
#C376B5
accent
#49C4DF
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AC47

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

Preview Lab → · Contrast checker → · Palette generator →

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