#31A43D#31A43D

#31A43D is a light, vivid green. Relative luminance 0.275; OKLCH L 63.3% C 0.175 H 144.7°. Best body text is #000000 at 6.51:1 contrast (WCAG AA passes).

Color values

HEX#31A43D
RGBrgb(49, 164, 61)
HSLhsl(126, 54%, 42%)
HSVhsv(126, 70%, 64%)
CMYKcmyk(70.1%, 0%, 62.8%, 35.7%)
CIE-LABlab(59.47, -52.82, 43.26)
CIE-LCHlch(59.47, 68.27, 140.68°)
OKLaboklab(63.31% -0.1428 0.1012)
OKLCHoklch(63.31% 0.175 144.7)
XYZxyz(15.3834, 27.5391, 8.9188)
Luminance0.2754 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A43D #A43198
analogous
#5FA431 #31A43D #31A477
triadic
#31A43D #3D31A4 #A43D31
tetradic
#31A43D #315FA4 #A43198 #A47731
square
#31A43D #315FA4 #A43198 #A47731
split-complementary
#31A43D #7731A4 #A4315F
monochromatic
#15461A #23752B #31A43D #49C957 #79D782

Accessibility & contrast

On white

3.23
#31A43D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.51
#31A43D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A43D
6.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A43D#FFFFFF#000000##000000
##31A43D1.003.236.516.51
#FFFFFF3.231.0021.0021.00
#0000006.5121.001.001.00
##0000006.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79531
Deuteranopia (green-blind)
#998C46
Tritanopia (blue-blind)
#06A08E
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a43d;
/* rgb */ color: rgb(49, 164, 61);
/* oklch */ color: oklch(63.3% 0.175 144.7);
Tailwind
colors: {
  custom: {
    50: '#79c076',
    500: '#31a43d',
    950: '#000000',
  },
}
SCSS
$custom: #31a43d;
$custom-light: #79c076;
$custom-dark: #000000;
JSON
{
  "hex": "#31a43d",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 61
  },
  "hsl": {
    "h": 126.261,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63307,
    "c": 0.17507,
    "h": 144.7
  },
  "luminance": 0.27541
}

Semantic roles & 50–950 ramp

primary
#31A43D
secondary
#BF72B7
accent
#4ACEDD
background
#F8FBF7
surface
#EFF7ED
border
#CAD0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A43D

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

Preview Lab → · Contrast checker → · Palette generator →

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