#31A427#31A427

#31A427 is a light, vivid green. Relative luminance 0.274; OKLCH L 63.1% C 0.190 H 142.0°. Best body text is #000000 at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#31A427
RGBrgb(49, 164, 39)
HSLhsl(115, 62%, 40%)
HSVhsv(115, 76%, 64%)
CMYKcmyk(70.1%, 0%, 76.2%, 35.7%)
CIE-LABlab(59.30, -54.91, 52.01)
CIE-LCHlch(59.30, 75.63, 136.55°)
OKLaboklab(63.11% -0.1496 0.117)
OKLCHoklch(63.11% 0.19 142)
XYZxyz(14.9074, 27.3488, 6.4123)
Luminance0.2735 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A427 #9A27A4
analogous
#70A427 #31A427 #27A45C
triadic
#31A427 #2731A4 #A42731
tetradic
#31A427 #2770A4 #9A27A4 #A45C27
square
#31A427 #2770A4 #9A27A4 #A45C27
split-complementary
#31A427 #5C27A4 #A42770
monochromatic
#13410F #22731B #31A427 #45D038 #73DC6A

Accessibility & contrast

On white

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

On black

6.47
#31A427 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A427
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A427#FFFFFF#000000##000000
##31A4271.003.256.476.47
#FFFFFF3.251.0021.0021.00
#0000006.4721.001.001.00
##0000006.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8940B
Deuteranopia (green-blind)
#9B8B35
Tritanopia (blue-blind)
#139F8C
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a427;
/* rgb */ color: rgb(49, 164, 39);
/* oklch */ color: oklch(63.1% 0.190 142.0);
Tailwind
colors: {
  custom: {
    50: '#7ac06a',
    500: '#31a427',
    950: '#000000',
  },
}
SCSS
$custom: #31a427;
$custom-light: #7ac06a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a427",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 39
  },
  "hsl": {
    "h": 115.2,
    "s": 61.576,
    "l": 39.804
  },
  "oklch": {
    "l": 0.63107,
    "c": 0.1899,
    "h": 142
  },
  "luminance": 0.2735
}

Semantic roles & 50–950 ramp

primary
#31A427
secondary
#BA65C2
accent
#43E5D8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0B1207
muted
#7C817A

Preview Lab

Preview with #31A427

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

Preview Lab → · Contrast checker → · Palette generator →

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