#31AF5A#31AF5A

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

Color values

HEX#31AF5A
RGBrgb(49, 175, 90)
HSLhsl(140, 56%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72%, 0%, 48.6%, 31.4%)
CIE-LABlab(63.38, -52.71, 33.84)
CIE-LCHlch(63.38, 62.64, 147.30°)
OKLaboklab(66.66% -0.1419 0.0825)
OKLCHoklch(66.66% 0.164 149.8)
XYZxyz(18.4406, 32.0490, 14.8851)
Luminance0.3205 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF5A #AF3186
analogous
#47AF31 #31AF5A #31AF99
triadic
#31AF5A #5A31AF #AF5A31
tetradic
#31AF5A #3147AF #AF3186 #AF9931
square
#31AF5A #3147AF #AF3186 #AF9931
split-complementary
#31AF5A #9931AF #AF3147
monochromatic
#164F29 #247F41 #31AF5A #4FCE79 #7FDB9D

Accessibility & contrast

On white

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

On black

7.41
#31AF5A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF5A
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF5A#FFFFFF#000000##000000
##31AF5A1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A053
Deuteranopia (green-blind)
#A19560
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af5a;
/* rgb */ color: rgb(49, 175, 90);
/* oklch */ color: oklch(66.7% 0.164 149.8);
Tailwind
colors: {
  custom: {
    50: '#7bc88a',
    500: '#31af5a',
    950: '#000000',
  },
}
SCSS
$custom: #31af5a;
$custom-light: #7bc88a;
$custom-dark: #000000;
JSON
{
  "hex": "#31af5a",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 90
  },
  "hsl": {
    "h": 139.524,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66657,
    "c": 0.16409,
    "h": 149.8
  },
  "luminance": 0.32051
}

Semantic roles & 50–950 ramp

primary
#31AF5A
secondary
#C478AB
accent
#48AEE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF5A

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

Preview Lab → · Contrast checker → · Palette generator →

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