#31A347#31A347

#31A347 is a light, vivid green. Relative luminance 0.273; OKLCH L 63.2% C 0.166 H 146.5°. Best body text is #000000 at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#31A347
RGBrgb(49, 163, 71)
HSLhsl(132, 54%, 42%)
HSVhsv(132, 70%, 64%)
CMYKcmyk(69.9%, 0%, 56.4%, 36.1%)
CIE-LABlab(59.25, -51.19, 38.28)
CIE-LCHlch(59.25, 63.92, 143.21°)
OKLaboklab(63.16% -0.1381 0.0913)
OKLCHoklch(63.16% 0.166 146.5)
XYZxyz(15.5001, 27.3006, 10.4127)
Luminance0.2730 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A347 #A3318D
analogous
#54A331 #31A347 #31A380
triadic
#31A347 #4731A3 #A34731
tetradic
#31A347 #3154A3 #A3318D #A38031
square
#31A347 #3154A3 #A3318D #A38031
split-complementary
#31A347 #8031A3 #A33154
monochromatic
#15451E #237433 #31A347 #49C862 #78D68A

Accessibility & contrast

On white

3.25
#31A347 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.46
#31A347 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A347
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A347#FFFFFF#000000##000000
##31A3471.003.256.466.46
#FFFFFF3.251.0021.0021.00
#0000006.4621.001.001.00
##0000006.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A5943E
Deuteranopia (green-blind)
#988B4E
Tritanopia (blue-blind)
#009F8E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a347;
/* rgb */ color: rgb(49, 163, 71);
/* oklch */ color: oklch(63.2% 0.166 146.5);
Tailwind
colors: {
  custom: {
    50: '#79bf7d',
    500: '#31a347',
    950: '#000000',
  },
}
SCSS
$custom: #31a347;
$custom-light: #79bf7d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a347",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 71
  },
  "hsl": {
    "h": 131.579,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63161,
    "c": 0.16552,
    "h": 146.5
  },
  "luminance": 0.27302
}

Semantic roles & 50–950 ramp

primary
#31A347
secondary
#BF71B0
accent
#4BC1DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A347

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

Preview Lab → · Contrast checker → · Palette generator →

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