#31AD5F#31AD5F

#31AD5F is a light, vivid green. Relative luminance 0.314; OKLCH L 66.2% C 0.157 H 151.4°. Best body text is #000000 at 7.27:1 contrast (WCAG AA passes).

Color values

HEX#31AD5F
RGBrgb(49, 173, 95)
HSLhsl(142, 56%, 44%)
HSVhsv(142, 72%, 68%)
CMYKcmyk(71.7%, 0%, 45.1%, 32.2%)
CIE-LABlab(62.81, -51.13, 30.53)
CIE-LCHlch(62.81, 59.56, 149.16°)
OKLaboklab(66.21% -0.1377 0.0751)
OKLCHoklch(66.21% 0.157 151.4)
XYZxyz(18.2742, 31.3643, 15.9151)
Luminance0.3137 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AD5F #AD317F
analogous
#41AD31 #31AD5F #31AD9D
triadic
#31AD5F #5F31AD #AD5F31
tetradic
#31AD5F #3141AD #AD317F #AD9D31
square
#31AD5F #3141AD #AD317F #AD9D31
split-complementary
#31AD5F #9D31AD #AD3141
monochromatic
#164E2B #237D45 #31AD5F #4ECD7D #7EDAA0

Accessibility & contrast

On white

2.89
#31AD5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.27
#31AD5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AD5F
7.27:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AD5F#FFFFFF#000000##000000
##31AD5F1.002.897.277.27
#FFFFFF2.891.0021.0021.00
#0000007.2721.001.001.00
##0000007.2721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9E59
Deuteranopia (green-blind)
#9F9464
Tritanopia (blue-blind)
#00AA9A
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31ad5f;
/* rgb */ color: rgb(49, 173, 95);
/* oklch */ color: oklch(66.2% 0.157 151.4);
Tailwind
colors: {
  custom: {
    50: '#7ac68d',
    500: '#31ad5f',
    950: '#000000',
  },
}
SCSS
$custom: #31ad5f;
$custom-light: #7ac68d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ad5f",
  "rgb": {
    "r": 49,
    "g": 173,
    "b": 95
  },
  "hsl": {
    "h": 142.258,
    "s": 55.856,
    "l": 43.529
  },
  "oklch": {
    "l": 0.66211,
    "c": 0.15683,
    "h": 151.4
  },
  "luminance": 0.31366
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AD5F

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

Preview Lab → · Contrast checker → · Palette generator →

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