#31A75E#31A75E

#31A75E is a light, vivid green. Relative luminance 0.291; OKLCH L 64.6% C 0.150 H 151.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A75E
RGBrgb(49, 167, 94)
HSLhsl(143, 55%, 42%)
HSVhsv(143, 71%, 65%)
CMYKcmyk(70.7%, 0%, 43.7%, 34.5%)
CIE-LABlab(60.87, -49.03, 28.55)
CIE-LCHlch(60.87, 56.74, 149.79°)
OKLaboklab(64.6% -0.1321 0.0705)
OKLCHoklch(64.6% 0.15 151.9)
XYZxyz(17.1043, 29.0966, 15.3023)
Luminance0.2910 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A75E #A7317A
analogous
#3FA731 #31A75E #31A799
triadic
#31A75E #5E31A7 #A75E31
tetradic
#31A75E #313FA7 #A7317A #A79931
square
#31A75E #313FA7 #A7317A #A79931
split-complementary
#31A75E #9931A7 #A7313F
monochromatic
#154829 #237843 #31A75E #4BCA7C #7AD89E

Accessibility & contrast

On white

3.08
#31A75E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A75E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A75E
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A75E#FFFFFF#000000##000000
##31A75E1.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79959
Deuteranopia (green-blind)
#998F63
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a75e;
/* rgb */ color: rgb(49, 167, 94);
/* oklch */ color: oklch(64.6% 0.150 151.9);
Tailwind
colors: {
  custom: {
    50: '#79c28c',
    500: '#31a75e',
    950: '#000000',
  },
}
SCSS
$custom: #31a75e;
$custom-light: #79c28c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a75e",
  "rgb": {
    "r": 49,
    "g": 167,
    "b": 94
  },
  "hsl": {
    "h": 142.881,
    "s": 54.63,
    "l": 42.353
  },
  "oklch": {
    "l": 0.64599,
    "c": 0.14975,
    "h": 151.9
  },
  "luminance": 0.29099
}

Semantic roles & 50–950 ramp

primary
#31A75E
secondary
#C173A3
accent
#4AA5DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A75E

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

Preview Lab → · Contrast checker → · Palette generator →

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