#31AF68#31AF68

#31AF68 is a light, vivid green. Relative luminance 0.323; OKLCH L 66.9% C 0.151 H 153.8°. Best body text is #000000 at 7.46:1 contrast (WCAG AA passes).

Color values

HEX#31AF68
RGBrgb(49, 175, 104)
HSLhsl(146, 56%, 44%)
HSVhsv(146, 72%, 69%)
CMYKcmyk(72%, 0%, 40.6%, 31.4%)
CIE-LABlab(63.60, -50.26, 26.82)
CIE-LCHlch(63.60, 56.97, 151.92°)
OKLaboklab(66.91% -0.1356 0.0667)
OKLCHoklch(66.91% 0.151 153.8)
XYZxyz(19.0936, 32.3102, 18.3242)
Luminance0.3231 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF68 #AF3178
analogous
#39AF31 #31AF68 #31AFA7
triadic
#31AF68 #6831AF #AF6831
tetradic
#31AF68 #3139AF #AF3178 #AFA731
square
#31AF68 #3139AF #AF3178 #AFA731
split-complementary
#31AF68 #A731AF #AF3139
monochromatic
#164F2F #247F4C #31AF68 #4FCE87 #7FDBA7

Accessibility & contrast

On white

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

On black

7.46
#31AF68 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF68
7.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF68#FFFFFF#000000##000000
##31AF681.002.817.467.46
#FFFFFF2.811.0021.0021.00
#0000007.4621.001.001.00
##0000007.4621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA163
Deuteranopia (green-blind)
#9F966D
Tritanopia (blue-blind)
#00AD9D
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af68;
/* rgb */ color: rgb(49, 175, 104);
/* oklch */ color: oklch(66.9% 0.151 153.8);
Tailwind
colors: {
  custom: {
    50: '#7ac894',
    500: '#31af68',
    950: '#000000',
  },
}
SCSS
$custom: #31af68;
$custom-light: #7ac894;
$custom-dark: #000000;
JSON
{
  "hex": "#31af68",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 104
  },
  "hsl": {
    "h": 146.19,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66905,
    "c": 0.15109,
    "h": 153.8
  },
  "luminance": 0.32312
}

Semantic roles & 50–950 ramp

primary
#31AF68
secondary
#C478A3
accent
#489EE0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31AF68

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

Preview Lab → · Contrast checker → · Palette generator →

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