#31AC5E#31AC5E

#31AC5E is a light, vivid green. Relative luminance 0.310; OKLCH L 65.9% C 0.156 H 151.2°. Best body text is #000000 at 7.19:1 contrast (WCAG AA passes).

Color values

HEX#31AC5E
RGBrgb(49, 172, 94)
HSLhsl(142, 56%, 43%)
HSVhsv(142, 72%, 67%)
CMYKcmyk(71.5%, 0%, 45.3%, 32.5%)
CIE-LABlab(62.48, -50.93, 30.62)
CIE-LCHlch(62.48, 59.43, 148.98°)
OKLaboklab(65.93% -0.1371 0.0753)
OKLCHoklch(65.93% 0.156 151.2)
XYZxyz(18.0380, 30.9641, 15.6135)
Luminance0.3097 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC5E #AC317F
analogous
#42AC31 #31AC5E #31AC9B
triadic
#31AC5E #5E31AC #AC5E31
tetradic
#31AC5E #3142AC #AC317F #AC9B31
square
#31AC5E #3142AC #AC317F #AC9B31
split-complementary
#31AC5E #9B31AC #AC3142
monochromatic
#164D2A #237C44 #31AC5E #4ECC7C #7DDA9F

Accessibility & contrast

On white

2.92
#31AC5E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.19
#31AC5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC5E
7.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC5E#FFFFFF#000000##000000
##31AC5E1.002.927.197.19
#FFFFFF2.921.0021.0021.00
#0000007.1921.001.001.00
##0000007.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AD9D58
Deuteranopia (green-blind)
#9E9363
Tritanopia (blue-blind)
#00A999
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac5e;
/* rgb */ color: rgb(49, 172, 94);
/* oklch */ color: oklch(65.9% 0.156 151.2);
Tailwind
colors: {
  custom: {
    50: '#7ac68d',
    500: '#31ac5e',
    950: '#000000',
  },
}
SCSS
$custom: #31ac5e;
$custom-light: #7ac68d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac5e",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 94
  },
  "hsl": {
    "h": 141.951,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65928,
    "c": 0.15644,
    "h": 151.2
  },
  "luminance": 0.30966
}

Semantic roles & 50–950 ramp

primary
#31AC5E
secondary
#C376A7
accent
#49A8DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AC5E

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

Preview Lab → · Contrast checker → · Palette generator →

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