#31AC5F#31AC5F

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

Color values

HEX#31AC5F
RGBrgb(49, 172, 95)
HSLhsl(142, 56%, 43%)
HSVhsv(142, 72%, 67%)
CMYKcmyk(71.5%, 0%, 44.8%, 32.5%)
CIE-LABlab(62.49, -50.76, 30.12)
CIE-LCHlch(62.49, 59.02, 149.31°)
OKLaboklab(65.94% -0.1367 0.0741)
OKLCHoklch(65.94% 0.156 151.5)
XYZxyz(18.0832, 30.9822, 15.8514)
Luminance0.3098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC5F #AC317E
analogous
#40AC31 #31AC5F #31AC9C
triadic
#31AC5F #5F31AC #AC5F31
tetradic
#31AC5F #3140AC #AC317E #AC9C31
square
#31AC5F #3140AC #AC317E #AC9C31
split-complementary
#31AC5F #9C31AC #AC3140
monochromatic
#164D2A #237C45 #31AC5F #4ECC7D #7DDAA0

Accessibility & contrast

On white

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

On black

7.20
#31AC5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC5F
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC5F#FFFFFF#000000##000000
##31AC5F1.002.927.207.20
#FFFFFF2.921.0021.0021.00
#0000007.2021.001.001.00
##0000007.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ac5f;
/* rgb */ color: rgb(49, 172, 95);
/* oklch */ color: oklch(65.9% 0.156 151.5);
Tailwind
colors: {
  custom: {
    50: '#7ac68d',
    500: '#31ac5f',
    950: '#000000',
  },
}
SCSS
$custom: #31ac5f;
$custom-light: #7ac68d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac5f",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 95
  },
  "hsl": {
    "h": 142.439,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65945,
    "c": 0.15551,
    "h": 151.5
  },
  "luminance": 0.30984
}

Semantic roles & 50–950 ramp

primary
#31AC5F
secondary
#C376A6
accent
#49A7DF
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31AC5F

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

Preview Lab → · Contrast checker → · Palette generator →

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