#31AF60#31AF60

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

Color values

HEX#31AF60
RGBrgb(49, 175, 96)
HSLhsl(142, 56%, 44%)
HSVhsv(142, 72%, 69%)
CMYKcmyk(72%, 0%, 45.1%, 31.4%)
CIE-LABlab(63.47, -51.71, 30.86)
CIE-LCHlch(63.47, 60.22, 149.17°)
OKLaboklab(66.76% -0.1392 0.0759)
OKLCHoklch(66.76% 0.159 151.4)
XYZxyz(18.7063, 32.1553, 16.2848)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF60 #AF3180
analogous
#41AF31 #31AF60 #31AF9F
triadic
#31AF60 #6031AF #AF6031
tetradic
#31AF60 #3141AF #AF3180 #AF9F31
square
#31AF60 #3141AF #AF3180 #AF9F31
split-complementary
#31AF60 #9F31AF #AF3141
monochromatic
#164F2C #247F46 #31AF60 #4FCE7F #7FDBA2

Accessibility & contrast

On white

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

On black

7.43
#31AF60 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF60
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF60#FFFFFF#000000##000000
##31AF601.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af60;
/* rgb */ color: rgb(49, 175, 96);
/* oklch */ color: oklch(66.8% 0.159 151.4);
Tailwind
colors: {
  custom: {
    50: '#7bc88e',
    500: '#31af60',
    950: '#000000',
  },
}
SCSS
$custom: #31af60;
$custom-light: #7bc88e;
$custom-dark: #000000;
JSON
{
  "hex": "#31af60",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 96
  },
  "hsl": {
    "h": 142.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66758,
    "c": 0.15855,
    "h": 151.4
  },
  "luminance": 0.32157
}

Semantic roles & 50–950 ramp

primary
#31AF60
secondary
#C478A8
accent
#48A7E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF60

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

Preview Lab → · Contrast checker → · Palette generator →

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