#31A657#31A657

#31A657 is a light, vivid green. Relative luminance 0.286; OKLCH L 64.2% C 0.155 H 150.0°. Best body text is #000000 at 6.72:1 contrast (WCAG AA passes).

Color values

HEX#31A657
RGBrgb(49, 166, 87)
HSLhsl(139, 54%, 42%)
HSVhsv(139, 70%, 65%)
CMYKcmyk(70.5%, 0%, 47.6%, 34.9%)
CIE-LABlab(60.44, -49.86, 31.66)
CIE-LCHlch(60.44, 59.07, 147.58°)
OKLaboklab(64.21% -0.1343 0.0774)
OKLCHoklch(64.21% 0.155 150)
XYZxyz(16.6218, 28.6117, 13.6616)
Luminance0.2861 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A657 #A63180
analogous
#46A631 #31A657 #31A692
triadic
#31A657 #5731A6 #A65731
tetradic
#31A657 #3146A6 #A63180 #A69231
square
#31A657 #3146A6 #A63180 #A69231
split-complementary
#31A657 #9231A6 #A63146
monochromatic
#154725 #23773E #31A657 #4ACA74 #7AD898

Accessibility & contrast

On white

3.12
#31A657 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.72
#31A657 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A657
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A657#FFFFFF#000000##000000
##31A6571.003.126.726.72
#FFFFFF3.121.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79851
Deuteranopia (green-blind)
#998E5D
Tritanopia (blue-blind)
#00A393
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a657;
/* rgb */ color: rgb(49, 166, 87);
/* oklch */ color: oklch(64.2% 0.155 150.0);
Tailwind
colors: {
  custom: {
    50: '#79c188',
    500: '#31a657',
    950: '#000000',
  },
}
SCSS
$custom: #31a657;
$custom-light: #79c188;
$custom-dark: #000000;
JSON
{
  "hex": "#31a657",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 87
  },
  "hsl": {
    "h": 139.487,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6421,
    "c": 0.15498,
    "h": 150
  },
  "luminance": 0.28614
}

Semantic roles & 50–950 ramp

primary
#31A657
secondary
#C073A7
accent
#4AAEDE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A657

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

Preview Lab → · Contrast checker → · Palette generator →

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