#31A627#31A627

#31A627 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.7% C 0.192 H 142.0°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A627
RGBrgb(49, 166, 39)
HSLhsl(115, 62%, 40%)
HSVhsv(115, 77%, 65%)
CMYKcmyk(70.5%, 0%, 76.5%, 34.9%)
CIE-LABlab(59.95, -55.58, 52.66)
CIE-LCHlch(59.95, 76.56, 136.55°)
OKLaboklab(63.65% -0.1514 0.1184)
OKLCHoklch(63.65% 0.192 142)
XYZxyz(15.2682, 28.0702, 6.5325)
Luminance0.2807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A627 #9C27A6
analogous
#70A627 #31A627 #27A65D
triadic
#31A627 #2731A6 #A62731
tetradic
#31A627 #2770A6 #9C27A6 #A65D27
square
#31A627 #2770A6 #9C27A6 #A65D27
split-complementary
#31A627 #5D27A6 #A62770
monochromatic
#144310 #22741B #31A627 #45D13A #74DC6B

Accessibility & contrast

On white

3.17
#31A627 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A627 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A627
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A627#FFFFFF#000000##000000
##31A6271.003.176.616.61
#FFFFFF3.171.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9609
Deuteranopia (green-blind)
#9D8D35
Tritanopia (blue-blind)
#11A18E
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a627;
/* rgb */ color: rgb(49, 166, 39);
/* oklch */ color: oklch(63.7% 0.192 142.0);
Tailwind
colors: {
  custom: {
    50: '#7bc16a',
    500: '#31a627',
    950: '#000000',
  },
}
SCSS
$custom: #31a627;
$custom-light: #7bc16a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a627",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 39
  },
  "hsl": {
    "h": 115.276,
    "s": 61.951,
    "l": 40.196
  },
  "oklch": {
    "l": 0.63651,
    "c": 0.19216,
    "h": 142
  },
  "luminance": 0.28072
}

Semantic roles & 50–950 ramp

primary
#31A627
secondary
#BB66C3
accent
#43E5D8
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A627

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

Preview Lab → · Contrast checker → · Palette generator →

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