#31AF62#31AF62

#31AF62 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.8% C 0.157 H 152.0°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31AF62
RGBrgb(49, 175, 98)
HSLhsl(143, 56%, 44%)
HSVhsv(143, 72%, 69%)
CMYKcmyk(72%, 0%, 44%, 31.4%)
CIE-LABlab(63.50, -51.36, 29.85)
CIE-LCHlch(63.50, 59.40, 149.83°)
OKLaboklab(66.79% -0.1383 0.0736)
OKLCHoklch(66.79% 0.157 152)
XYZxyz(18.7996, 32.1926, 16.7759)
Luminance0.3220 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF62 #AF317E
analogous
#3FAF31 #31AF62 #31AFA1
triadic
#31AF62 #6231AF #AF6231
tetradic
#31AF62 #313FAF #AF317E #AFA131
square
#31AF62 #313FAF #AF317E #AFA131
split-complementary
#31AF62 #A131AF #AF313F
monochromatic
#164F2C #247F47 #31AF62 #4FCE81 #7FDBA3

Accessibility & contrast

On white

2.82
#31AF62 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31AF62 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF62
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF62#FFFFFF#000000##000000
##31AF621.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AFA05C
Deuteranopia (green-blind)
#A09567
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af62;
/* rgb */ color: rgb(49, 175, 98);
/* oklch */ color: oklch(66.8% 0.157 152.0);
Tailwind
colors: {
  custom: {
    50: '#7bc88f',
    500: '#31af62',
    950: '#000000',
  },
}
SCSS
$custom: #31af62;
$custom-light: #7bc88f;
$custom-dark: #000000;
JSON
{
  "hex": "#31af62",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 98
  },
  "hsl": {
    "h": 143.333,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66793,
    "c": 0.15669,
    "h": 152
  },
  "luminance": 0.32195
}

Semantic roles & 50–950 ramp

primary
#31AF62
secondary
#C478A6
accent
#48A5E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF62

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

Preview Lab → · Contrast checker → · Palette generator →

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