#31AF66#31AF66

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

Color values

HEX#31AF66
RGBrgb(49, 175, 102)
HSLhsl(145, 56%, 44%)
HSVhsv(145, 72%, 69%)
CMYKcmyk(72%, 0%, 41.7%, 31.4%)
CIE-LABlab(63.57, -50.64, 27.83)
CIE-LCHlch(63.57, 57.78, 151.20°)
OKLaboklab(66.87% -0.1365 0.069)
OKLCHoklch(66.87% 0.153 153.2)
XYZxyz(18.9932, 32.2701, 17.7956)
Luminance0.3227 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF66 #AF317A
analogous
#3BAF31 #31AF66 #31AFA5
triadic
#31AF66 #6631AF #AF6631
tetradic
#31AF66 #313BAF #AF317A #AFA531
square
#31AF66 #313BAF #AF317A #AFA531
split-complementary
#31AF66 #A531AF #AF313B
monochromatic
#164F2E #247F4A #31AF66 #4FCE85 #7FDBA6

Accessibility & contrast

On white

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

On black

7.45
#31AF66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF66
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF66#FFFFFF#000000##000000
##31AF661.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af66;
/* rgb */ color: rgb(49, 175, 102);
/* oklch */ color: oklch(66.9% 0.153 153.2);
Tailwind
colors: {
  custom: {
    50: '#7ac892',
    500: '#31af66',
    950: '#000000',
  },
}
SCSS
$custom: #31af66;
$custom-light: #7ac892;
$custom-dark: #000000;
JSON
{
  "hex": "#31af66",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 102
  },
  "hsl": {
    "h": 145.238,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66867,
    "c": 0.15295,
    "h": 153.2
  },
  "luminance": 0.32272
}

Semantic roles & 50–950 ramp

primary
#31AF66
secondary
#C478A4
accent
#48A0E0
background
#F8FCF9
surface
#EFF8F1
border
#CAD1CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31AF66

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

Preview Lab → · Contrast checker → · Palette generator →

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