#31AC5D#31AC5D

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

Color values

HEX#31AC5D
RGBrgb(49, 172, 93)
HSLhsl(141, 56%, 43%)
HSVhsv(141, 72%, 67%)
CMYKcmyk(71.5%, 0%, 45.9%, 32.5%)
CIE-LABlab(62.46, -51.10, 31.12)
CIE-LCHlch(62.46, 59.83, 148.66°)
OKLaboklab(65.91% -0.1376 0.0764)
OKLCHoklch(65.91% 0.157 151)
XYZxyz(17.9934, 30.9463, 15.3788)
Luminance0.3095 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC5D #AC3180
analogous
#43AC31 #31AC5D #31AC9A
triadic
#31AC5D #5D31AC #AC5D31
tetradic
#31AC5D #3143AC #AC3180 #AC9A31
square
#31AC5D #3143AC #AC3180 #AC9A31
split-complementary
#31AC5D #9A31AC #AC3143
monochromatic
#164D29 #237C43 #31AC5D #4ECC7B #7DDA9F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC5D#FFFFFF#000000##000000
##31AC5D1.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)
#AD9D57
Deuteranopia (green-blind)
#9E9362
Tritanopia (blue-blind)
#00A999
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac5d;
/* rgb */ color: rgb(49, 172, 93);
/* oklch */ color: oklch(65.9% 0.157 151.0);
Tailwind
colors: {
  custom: {
    50: '#7ac68c',
    500: '#31ac5d',
    950: '#000000',
  },
}
SCSS
$custom: #31ac5d;
$custom-light: #7ac68c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac5d",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 93
  },
  "hsl": {
    "h": 141.463,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6591,
    "c": 0.15736,
    "h": 151
  },
  "luminance": 0.30948
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AC5D

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

Preview Lab → · Contrast checker → · Palette generator →

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