#31A661#31A661

#31A661 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.146 H 153.0°. Best body text is #000000 at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#31A661
RGBrgb(49, 166, 97)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 65%)
CMYKcmyk(70.5%, 0%, 41.6%, 34.9%)
CIE-LABlab(60.59, -48.10, 26.60)
CIE-LCHlch(60.59, 54.97, 151.06°)
OKLaboklab(64.39% -0.1297 0.066)
OKLCHoklch(64.39% 0.146 153)
XYZxyz(17.0590, 28.7866, 15.9643)
Luminance0.2879 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A661 #A63176
analogous
#3CA631 #31A661 #31A69C
triadic
#31A661 #6131A6 #A66131
tetradic
#31A661 #313CA6 #A63176 #A69C31
square
#31A661 #313CA6 #A63176 #A69C31
split-complementary
#31A661 #9C31A6 #A6313C
monochromatic
#15472A #237745 #31A661 #4ACA7F #7AD8A0

Accessibility & contrast

On white

3.11
#31A661 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.76
#31A661 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A661
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A661#FFFFFF#000000##000000
##31A6611.003.116.766.76
#FFFFFF3.111.0021.0021.00
#0000006.7621.001.001.00
##0000006.7621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985C
Deuteranopia (green-blind)
#988E66
Tritanopia (blue-blind)
#00A495
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a661;
/* rgb */ color: rgb(49, 166, 97);
/* oklch */ color: oklch(64.4% 0.146 153.0);
Tailwind
colors: {
  custom: {
    50: '#79c18e',
    500: '#31a661',
    950: '#000000',
  },
}
SCSS
$custom: #31a661;
$custom-light: #79c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a661",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 97
  },
  "hsl": {
    "h": 144.615,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64389,
    "c": 0.14556,
    "h": 153
  },
  "luminance": 0.28788
}

Semantic roles & 50–950 ramp

primary
#31A661
secondary
#C073A0
accent
#4AA1DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A661

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

Preview Lab → · Contrast checker → · Palette generator →

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