#31A73D#31A73D

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

Color values

HEX#31A73D
RGBrgb(49, 167, 61)
HSLhsl(126, 55%, 42%)
HSVhsv(126, 71%, 65%)
CMYKcmyk(70.7%, 0%, 63.5%, 34.5%)
CIE-LABlab(60.45, -53.87, 44.37)
CIE-LCHlch(60.45, 69.79, 140.53°)
OKLaboklab(64.12% -0.1457 0.1036)
OKLCHoklch(64.12% 0.179 144.6)
XYZxyz(15.9266, 28.6256, 9.0999)
Luminance0.2863 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A73D #A7319B
analogous
#60A731 #31A73D #31A778
triadic
#31A73D #3D31A7 #A73D31
tetradic
#31A73D #3160A7 #A7319B #A77831
square
#31A73D #3160A7 #A7319B #A77831
split-complementary
#31A73D #7831A7 #A73160
monochromatic
#15481A #23782C #31A73D #4BCA58 #7AD884

Accessibility & contrast

On white

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

On black

6.73
#31A73D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A73D
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A73D#FFFFFF#000000##000000
##31A73D1.003.126.736.73
#FFFFFF3.121.0021.0021.00
#0000006.7321.001.001.00
##0000006.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9831
Deuteranopia (green-blind)
#9C8E46
Tritanopia (blue-blind)
#02A391
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a73d;
/* rgb */ color: rgb(49, 167, 61);
/* oklch */ color: oklch(64.1% 0.179 144.6);
Tailwind
colors: {
  custom: {
    50: '#7ac277',
    500: '#31a73d',
    950: '#000000',
  },
}
SCSS
$custom: #31a73d;
$custom-light: #7ac277;
$custom-dark: #000000;
JSON
{
  "hex": "#31a73d",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 61
  },
  "hsl": {
    "h": 126.102,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64118,
    "c": 0.17877,
    "h": 144.6
  },
  "luminance": 0.28627
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A73D

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

Preview Lab → · Contrast checker → · Palette generator →

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