#31A656#31A656

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

Color values

HEX#31A656
RGBrgb(49, 166, 86)
HSLhsl(139, 54%, 42%)
HSVhsv(139, 70%, 65%)
CMYKcmyk(70.5%, 0%, 48.2%, 34.9%)
CIE-LABlab(60.42, -50.03, 32.16)
CIE-LCHlch(60.42, 59.48, 147.26°)
OKLaboklab(64.19% -0.1347 0.0785)
OKLCHoklch(64.19% 0.156 149.8)
XYZxyz(16.5812, 28.5955, 13.4479)
Luminance0.2860 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A656 #A63181
analogous
#47A631 #31A656 #31A691
triadic
#31A656 #5631A6 #A65631
tetradic
#31A656 #3147A6 #A63181 #A69131
square
#31A656 #3147A6 #A63181 #A69131
split-complementary
#31A656 #9131A6 #A63147
monochromatic
#154725 #23773E #31A656 #4ACA73 #7AD897

Accessibility & contrast

On white

3.13
#31A656 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A656#FFFFFF#000000##000000
##31A6561.003.136.726.72
#FFFFFF3.131.0021.0021.00
#0000006.7221.001.001.00
##0000006.7221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a656;
/* rgb */ color: rgb(49, 166, 86);
/* oklch */ color: oklch(64.2% 0.156 149.8);
Tailwind
colors: {
  custom: {
    50: '#79c187',
    500: '#31a656',
    950: '#000000',
  },
}
SCSS
$custom: #31a656;
$custom-light: #79c187;
$custom-dark: #000000;
JSON
{
  "hex": "#31a656",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 86
  },
  "hsl": {
    "h": 138.974,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64193,
    "c": 0.15592,
    "h": 149.8
  },
  "luminance": 0.28597
}

Semantic roles & 50–950 ramp

primary
#31A656
secondary
#C073A8
accent
#4AAFDE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A656

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

Preview Lab → · Contrast checker → · Palette generator →

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