#31A82A#31A82A

#31A82A is a light, vivid green. Relative luminance 0.288; OKLCH L 64.2% C 0.193 H 142.3°. Best body text is #000000 at 6.77:1 contrast (WCAG AA passes).

Color values

HEX#31A82A
RGBrgb(49, 168, 42)
HSLhsl(117, 60%, 41%)
HSVhsv(117, 75%, 66%)
CMYKcmyk(70.8%, 0%, 75%, 34.1%)
CIE-LABlab(60.63, -56.02, 52.27)
CIE-LCHlch(60.63, 76.62, 136.98°)
OKLaboklab(64.22% -0.1524 0.118)
OKLCHoklch(64.22% 0.193 142.3)
XYZxyz(15.6863, 28.8237, 6.9269)
Luminance0.2883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A82A #A12AA8
analogous
#70A82A #31A82A #2AA862
triadic
#31A82A #2A31A8 #A82A31
tetradic
#31A82A #2A70A8 #A12AA8 #A8622A
square
#31A82A #2A70A8 #A12AA8 #A8622A
split-complementary
#31A82A #622AA8 #A82A70
monochromatic
#144612 #23771E #31A82A #48CF40 #77DB71

Accessibility & contrast

On white

3.10
#31A82A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.77
#31A82A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A82A
6.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A82A#FFFFFF#000000##000000
##31A82A1.003.106.776.77
#FFFFFF3.101.0021.0021.00
#0000006.7721.001.001.00
##0000006.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9811
Deuteranopia (green-blind)
#9E8F38
Tritanopia (blue-blind)
#0EA390
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a82a;
/* rgb */ color: rgb(49, 168, 42);
/* oklch */ color: oklch(64.2% 0.193 142.3);
Tailwind
colors: {
  custom: {
    50: '#7bc36c',
    500: '#31a82a',
    950: '#000000',
  },
}
SCSS
$custom: #31a82a;
$custom-light: #7bc36c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a82a",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 42
  },
  "hsl": {
    "h": 116.667,
    "s": 60,
    "l": 41.176
  },
  "oklch": {
    "l": 0.64216,
    "c": 0.19276,
    "h": 142.3
  },
  "luminance": 0.28825
}

Semantic roles & 50–950 ramp

primary
#31A82A
secondary
#BE6BC3
accent
#45E3DA
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31A82A

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

Preview Lab → · Contrast checker → · Palette generator →

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