#31A13D#31A13D

#31A13D is a light, vivid green. Relative luminance 0.265; OKLCH L 62.5% C 0.171 H 144.8°. Best body text is #000000 at 6.30:1 contrast (WCAG AA passes).

Color values

HEX#31A13D
RGBrgb(49, 161, 61)
HSLhsl(126, 53%, 41%)
HSVhsv(126, 70%, 63%)
CMYKcmyk(69.6%, 0%, 62.1%, 36.9%)
CIE-LABlab(58.49, -51.75, 42.15)
CIE-LCHlch(58.49, 66.74, 140.84°)
OKLaboklab(62.49% -0.14 0.0988)
OKLCHoklch(62.49% 0.171 144.8)
XYZxyz(14.8528, 26.4780, 8.7420)
Luminance0.2648 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A13D #A13195
analogous
#5DA131 #31A13D #31A175
triadic
#31A13D #3D31A1 #A13D31
tetradic
#31A13D #315DA1 #A13195 #A17531
square
#31A13D #315DA1 #A13195 #A17531
split-complementary
#31A13D #7531A1 #A1315D
monochromatic
#144319 #23722B #31A13D #48C756 #77D681

Accessibility & contrast

On white

3.34
#31A13D on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.30
#31A13D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A13D
6.30:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A13D#FFFFFF#000000##000000
##31A13D1.003.346.306.30
#FFFFFF3.341.0021.0021.00
#0000006.3021.001.001.00
##0000006.3021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49232
Deuteranopia (green-blind)
#978945
Tritanopia (blue-blind)
#099D8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a13d;
/* rgb */ color: rgb(49, 161, 61);
/* oklch */ color: oklch(62.5% 0.171 144.8);
Tailwind
colors: {
  custom: {
    50: '#79be76',
    500: '#31a13d',
    950: '#000000',
  },
}
SCSS
$custom: #31a13d;
$custom-light: #79be76;
$custom-dark: #000000;
JSON
{
  "hex": "#31a13d",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 61
  },
  "hsl": {
    "h": 126.429,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62494,
    "c": 0.17134,
    "h": 144.8
  },
  "luminance": 0.2648
}

Semantic roles & 50–950 ramp

primary
#31A13D
secondary
#BE70B5
accent
#4BCDDD
background
#F7FBF7
surface
#EEF7ED
border
#C9D0C8
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A13D

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

Preview Lab → · Contrast checker → · Palette generator →

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