#31AF5D#31AF5D

#31AF5D is a light, vivid green. Relative luminance 0.321; OKLCH L 66.7% C 0.161 H 150.6°. Best body text is #000000 at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#31AF5D
RGBrgb(49, 175, 93)
HSLhsl(141, 56%, 44%)
HSVhsv(141, 72%, 69%)
CMYKcmyk(72%, 0%, 46.9%, 31.4%)
CIE-LABlab(63.43, -52.22, 32.35)
CIE-LCHlch(63.43, 61.43, 148.22°)
OKLaboklab(66.71% -0.1405 0.0792)
OKLCHoklch(66.71% 0.161 150.6)
XYZxyz(18.5708, 32.1011, 15.5712)
Luminance0.3210 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF5D #AF3183
analogous
#44AF31 #31AF5D #31AF9C
triadic
#31AF5D #5D31AF #AF5D31
tetradic
#31AF5D #3144AF #AF3183 #AF9C31
square
#31AF5D #3144AF #AF3183 #AF9C31
split-complementary
#31AF5D #9C31AF #AF3144
monochromatic
#164F2A #247F44 #31AF5D #4FCE7C #7FDB9F

Accessibility & contrast

On white

2.83
#31AF5D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.42
#31AF5D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF5D
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF5D#FFFFFF#000000##000000
##31AF5D1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A057
Deuteranopia (green-blind)
#A19563
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af5d;
/* rgb */ color: rgb(49, 175, 93);
/* oklch */ color: oklch(66.7% 0.161 150.6);
Tailwind
colors: {
  custom: {
    50: '#7bc88c',
    500: '#31af5d',
    950: '#000000',
  },
}
SCSS
$custom: #31af5d;
$custom-light: #7bc88c;
$custom-dark: #000000;
JSON
{
  "hex": "#31af5d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 93
  },
  "hsl": {
    "h": 140.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66707,
    "c": 0.16133,
    "h": 150.6
  },
  "luminance": 0.32103
}

Semantic roles & 50–950 ramp

primary
#31AF5D
secondary
#C478A9
accent
#48ABE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF5D

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

Preview Lab → · Contrast checker → · Palette generator →

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