#31A73C#31A73C

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

Color values

HEX#31A73C
RGBrgb(49, 167, 60)
HSLhsl(126, 55%, 42%)
HSVhsv(126, 71%, 65%)
CMYKcmyk(70.7%, 0%, 64.1%, 34.5%)
CIE-LABlab(60.44, -53.98, 44.80)
CIE-LCHlch(60.44, 70.15, 140.31°)
OKLaboklab(64.11% -0.1461 0.1044)
OKLCHoklch(64.11% 0.18 144.4)
XYZxyz(15.8999, 28.6149, 8.9594)
Luminance0.2862 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A73C #A7319C
analogous
#61A731 #31A73C #31A777
triadic
#31A73C #3C31A7 #A73C31
tetradic
#31A73C #3161A7 #A7319C #A77731
square
#31A73C #3161A7 #A7319C #A77731
split-complementary
#31A73C #7731A7 #A73161
monochromatic
#15481A #23782B #31A73C #4BCA57 #7AD883

Accessibility & contrast

On white

3.12
#31A73C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A73C#FFFFFF#000000##000000
##31A73C1.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA982F
Deuteranopia (green-blind)
#9C8E45
Tritanopia (blue-blind)
#03A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a73c;
/* rgb */ color: rgb(49, 167, 60);
/* oklch */ color: oklch(64.1% 0.180 144.4);
Tailwind
colors: {
  custom: {
    50: '#7ac276',
    500: '#31a73c',
    950: '#000000',
  },
}
SCSS
$custom: #31a73c;
$custom-light: #7ac276;
$custom-dark: #000000;
JSON
{
  "hex": "#31a73c",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 60
  },
  "hsl": {
    "h": 125.593,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64108,
    "c": 0.17953,
    "h": 144.4
  },
  "luminance": 0.28617
}

Semantic roles & 50–950 ramp

primary
#31A73C
secondary
#C173B9
accent
#4AD0DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A73C

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

Preview Lab → · Contrast checker → · Palette generator →

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