#31A53A#31A53A

#31A53A is a light, vivid green. Relative luminance 0.279; OKLCH L 63.5% C 0.179 H 144.2°. Best body text is #000000 at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#31A53A
RGBrgb(49, 165, 58)
HSLhsl(125, 54%, 42%)
HSVhsv(125, 70%, 65%)
CMYKcmyk(70.3%, 0%, 64.8%, 35.3%)
CIE-LABlab(59.77, -53.51, 44.94)
CIE-LCHlch(59.77, 69.88, 139.97°)
OKLaboklab(63.54% -0.1448 0.1045)
OKLCHoklch(63.54% 0.179 144.2)
XYZxyz(15.4845, 27.8670, 8.5650)
Luminance0.2787 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A53A #A5319C
analogous
#62A531 #31A53A #31A574
triadic
#31A53A #3A31A5 #A53A31
tetradic
#31A53A #3162A5 #A5319C #A57431
square
#31A53A #3162A5 #A5319C #A57431
split-complementary
#31A53A #7431A5 #A53162
monochromatic
#154719 #237629 #31A53A #4AC954 #79D780

Accessibility & contrast

On white

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

On black

6.57
#31A53A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A53A
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A53A#FFFFFF#000000##000000
##31A53A1.003.196.576.57
#FFFFFF3.191.0021.0021.00
#0000006.5721.001.001.00
##0000006.5721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A8962D
Deuteranopia (green-blind)
#9B8C43
Tritanopia (blue-blind)
#07A18F
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a53a;
/* rgb */ color: rgb(49, 165, 58);
/* oklch */ color: oklch(63.5% 0.179 144.2);
Tailwind
colors: {
  custom: {
    50: '#7ac175',
    500: '#31a53a',
    950: '#000000',
  },
}
SCSS
$custom: #31a53a;
$custom-light: #7ac175;
$custom-dark: #000000;
JSON
{
  "hex": "#31a53a",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 58
  },
  "hsl": {
    "h": 124.655,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63545,
    "c": 0.1786,
    "h": 144.2
  },
  "luminance": 0.27869
}

Semantic roles & 50–950 ramp

primary
#31A53A
secondary
#C072BA
accent
#4AD2DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #31A53A

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

Preview Lab → · Contrast checker → · Palette generator →

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