#31A73A#31A73A

#31A73A is a light, vivid green. Relative luminance 0.286; OKLCH L 64.1% C 0.181 H 144.1°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#31A73A
RGBrgb(49, 167, 58)
HSLhsl(125, 55%, 42%)
HSVhsv(125, 71%, 65%)
CMYKcmyk(70.7%, 0%, 65.3%, 34.5%)
CIE-LABlab(60.42, -54.20, 45.66)
CIE-LCHlch(60.42, 70.88, 139.89°)
OKLaboklab(64.09% -0.1467 0.106)
OKLCHoklch(64.09% 0.181 144.1)
XYZxyz(15.8480, 28.5942, 8.6862)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A73A #A7319E
analogous
#63A731 #31A73A #31A775
triadic
#31A73A #3A31A7 #A73A31
tetradic
#31A73A #3163A7 #A7319E #A77531
square
#31A73A #3163A7 #A7319E #A77531
split-complementary
#31A73A #7531A7 #A73163
monochromatic
#154819 #23782A #31A73A #4BCA55 #7AD881

Accessibility & contrast

On white

3.13
#31A73A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#31A73A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A73A
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A73A#FFFFFF#000000##000000
##31A73A1.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA972D
Deuteranopia (green-blind)
#9C8E44
Tritanopia (blue-blind)
#04A290
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a73a;
/* rgb */ color: rgb(49, 167, 58);
/* oklch */ color: oklch(64.1% 0.181 144.1);
Tailwind
colors: {
  custom: {
    50: '#7ac275',
    500: '#31a73a',
    950: '#000000',
  },
}
SCSS
$custom: #31a73a;
$custom-light: #7ac275;
$custom-dark: #000000;
JSON
{
  "hex": "#31a73a",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 58
  },
  "hsl": {
    "h": 124.576,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64086,
    "c": 0.18103,
    "h": 144.1
  },
  "luminance": 0.28596
}

Semantic roles & 50–950 ramp

primary
#31A73A
secondary
#C173BB
accent
#4AD3DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1209
muted
#7C817B

Preview Lab

Preview with #31A73A

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

Preview Lab → · Contrast checker → · Palette generator →

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