#31A027#31A027

#31A027 is a light, vivid green. Relative luminance 0.259; OKLCH L 62.0% C 0.185 H 141.9°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#31A027
RGBrgb(49, 160, 39)
HSLhsl(115, 61%, 39%)
HSVhsv(115, 76%, 63%)
CMYKcmyk(69.4%, 0%, 75.6%, 37.3%)
CIE-LABlab(57.98, -53.55, 50.70)
CIE-LCHlch(57.98, 73.74, 136.57°)
OKLaboklab(62.02% -0.1459 0.1143)
OKLCHoklch(62.02% 0.185 141.9)
XYZxyz(14.2028, 25.9396, 6.1774)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A027 #9627A0
analogous
#6EA027 #31A027 #27A05A
triadic
#31A027 #2731A0 #A02731
tetradic
#31A027 #276EA0 #9627A0 #A05A27
square
#31A027 #276EA0 #9627A0 #A05A27
split-complementary
#31A027 #5A27A0 #A0276E
monochromatic
#133E0F #226F1B #31A027 #43CE36 #71DA67

Accessibility & contrast

On white

3.39
#31A027 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#31A027 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A027
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A027#FFFFFF#000000##000000
##31A0271.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910E
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#169B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a027;
/* rgb */ color: rgb(49, 160, 39);
/* oklch */ color: oklch(62.0% 0.185 141.9);
Tailwind
colors: {
  custom: {
    50: '#7abd6a',
    500: '#31a027',
    950: '#000000',
  },
}
SCSS
$custom: #31a027;
$custom-light: #7abd6a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a027",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 39
  },
  "hsl": {
    "h": 115.041,
    "s": 60.804,
    "l": 39.02
  },
  "oklch": {
    "l": 0.62015,
    "c": 0.18533,
    "h": 141.9
  },
  "luminance": 0.25941
}

Semantic roles & 50–950 ramp

primary
#31A027
secondary
#B863C0
accent
#44E4D7
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A027

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

Preview Lab → · Contrast checker → · Palette generator →

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