#31A53D#31A53D

#31A53D is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.176 H 144.6°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#31A53D
RGBrgb(49, 165, 61)
HSLhsl(126, 54%, 42%)
HSVhsv(126, 70%, 65%)
CMYKcmyk(70.3%, 0%, 63%, 35.3%)
CIE-LABlab(59.80, -53.17, 43.63)
CIE-LCHlch(59.80, 68.78, 140.63°)
OKLaboklab(63.58% -0.1438 0.102)
OKLCHoklch(63.58% 0.176 144.6)
XYZxyz(15.5630, 27.8985, 8.9787)
Luminance0.2790 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A53D #A53199
analogous
#5FA531 #31A53D #31A577
triadic
#31A53D #3D31A5 #A53D31
tetradic
#31A53D #315FA5 #A53199 #A57731
square
#31A53D #315FA5 #A53199 #A57731
split-complementary
#31A53D #7731A5 #A5315F
monochromatic
#15471A #23762C #31A53D #4AC957 #79D783

Accessibility & contrast

On white

3.19
#31A53D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#31A53D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A53D
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A53D#FFFFFF#000000##000000
##31A53D1.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89631
Deuteranopia (green-blind)
#9A8C46
Tritanopia (blue-blind)
#04A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a53d;
/* rgb */ color: rgb(49, 165, 61);
/* oklch */ color: oklch(63.6% 0.176 144.6);
Tailwind
colors: {
  custom: {
    50: '#7ac176',
    500: '#31a53d',
    950: '#000000',
  },
}
SCSS
$custom: #31a53d;
$custom-light: #7ac176;
$custom-dark: #000000;
JSON
{
  "hex": "#31a53d",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 61
  },
  "hsl": {
    "h": 126.207,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63578,
    "c": 0.17631,
    "h": 144.6
  },
  "luminance": 0.279
}

Semantic roles & 50–950 ramp

primary
#31A53D
secondary
#C072B8
accent
#4ACEDE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A53D

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

Preview Lab → · Contrast checker → · Palette generator →

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