#31AF6D#31AF6D

#31AF6D is a light, vivid green. Relative luminance 0.324; OKLCH L 67.0% C 0.146 H 155.5°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#31AF6D
RGBrgb(49, 175, 109)
HSLhsl(149, 56%, 44%)
HSVhsv(149, 72%, 69%)
CMYKcmyk(72%, 0%, 37.7%, 31.4%)
CIE-LABlab(63.68, -49.30, 24.27)
CIE-LCHlch(63.68, 54.95, 153.80°)
OKLaboklab(67% -0.1332 0.0607)
OKLCHoklch(67% 0.146 155.5)
XYZxyz(19.3551, 32.4148, 19.7017)
Luminance0.3242 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF6D #AF3173
analogous
#34AF31 #31AF6D #31AFAC
triadic
#31AF6D #6D31AF #AF6D31
tetradic
#31AF6D #3134AF #AF3173 #AFAC31
square
#31AF6D #3134AF #AF3173 #AFAC31
split-complementary
#31AF6D #AC31AF #AF3134
monochromatic
#164F31 #247F4F #31AF6D #4FCE8C #7FDBAB

Accessibility & contrast

On white

2.81
#31AF6D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#31AF6D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF6D
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF6D#FFFFFF#000000##000000
##31AF6D1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA169
Deuteranopia (green-blind)
#9F9671
Tritanopia (blue-blind)
#00AD9E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af6d;
/* rgb */ color: rgb(49, 175, 109);
/* oklch */ color: oklch(67.0% 0.146 155.5);
Tailwind
colors: {
  custom: {
    50: '#7ac897',
    500: '#31af6d',
    950: '#000000',
  },
}
SCSS
$custom: #31af6d;
$custom-light: #7ac897;
$custom-dark: #000000;
JSON
{
  "hex": "#31af6d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 109
  },
  "hsl": {
    "h": 148.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.67004,
    "c": 0.14643,
    "h": 155.5
  },
  "luminance": 0.32417
}

Semantic roles & 50–950 ramp

primary
#31AF6D
secondary
#C478A0
accent
#4898E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31AF6D

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

Preview Lab → · Contrast checker → · Palette generator →

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