#31A02A#31A02A

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

Color values

HEX#31A02A
RGBrgb(49, 160, 42)
HSLhsl(116, 58%, 40%)
HSVhsv(116, 74%, 63%)
CMYKcmyk(69.4%, 0%, 73.8%, 37.3%)
CIE-LABlab(58.00, -53.31, 49.62)
CIE-LCHlch(58.00, 72.83, 137.05°)
OKLaboklab(62.04% -0.1451 0.1124)
OKLCHoklch(62.04% 0.184 142.2)
XYZxyz(14.2545, 25.9602, 6.4496)
Luminance0.2596 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A02A #992AA0
analogous
#6CA02A #31A02A #2AA05E
triadic
#31A02A #2A31A0 #A02A31
tetradic
#31A02A #2A6CA0 #992AA0 #A05E2A
square
#31A02A #2A6CA0 #992AA0 #A05E2A
split-complementary
#31A02A #5E2AA0 #A02A6C
monochromatic
#133F11 #22701D #31A02A #44CC3C #72D86C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A02A#FFFFFF#000000##000000
##31A02A1.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)
#A49115
Deuteranopia (green-blind)
#978836
Tritanopia (blue-blind)
#159B89
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #31a02a;
/* rgb */ color: rgb(49, 160, 42);
/* oklch */ color: oklch(62.0% 0.184 142.2);
Tailwind
colors: {
  custom: {
    50: '#79bd6b',
    500: '#31a02a',
    950: '#000000',
  },
}
SCSS
$custom: #31a02a;
$custom-light: #79bd6b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a02a",
  "rgb": {
    "r": 49,
    "g": 160,
    "b": 42
  },
  "hsl": {
    "h": 116.441,
    "s": 58.416,
    "l": 39.608
  },
  "oklch": {
    "l": 0.62038,
    "c": 0.18357,
    "h": 142.2
  },
  "luminance": 0.25962
}

Semantic roles & 50–950 ramp

primary
#31A02A
secondary
#BA67BF
accent
#46E2D8
background
#F8FBF6
surface
#EFF7EC
border
#CAD0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #31A02A

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

Preview Lab → · Contrast checker → · Palette generator →

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