#31A856#31A856

#31A856 is a light, vivid green. Relative luminance 0.293; OKLCH L 64.7% C 0.159 H 149.6°. Best body text is #000000 at 6.87:1 contrast (WCAG AA passes).

Color values

HEX#31A856
RGBrgb(49, 168, 86)
HSLhsl(139, 55%, 43%)
HSVhsv(139, 71%, 66%)
CMYKcmyk(70.8%, 0%, 48.8%, 34.1%)
CIE-LABlab(61.07, -50.78, 32.98)
CIE-LCHlch(61.07, 60.55, 147.00°)
OKLaboklab(64.73% -0.1367 0.0803)
OKLCHoklch(64.73% 0.159 149.6)
XYZxyz(16.9476, 29.3282, 13.5700)
Luminance0.2933 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A856 #A83183
analogous
#48A831 #31A856 #31A891
triadic
#31A856 #5631A8 #A85631
tetradic
#31A856 #3148A8 #A83183 #A89131
square
#31A856 #3148A8 #A83183 #A89131
split-complementary
#31A856 #9131A8 #A83148
monochromatic
#154925 #23793E #31A856 #4CCB73 #7BD898

Accessibility & contrast

On white

3.06
#31A856 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.87
#31A856 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A856
6.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A856#FFFFFF#000000##000000
##31A8561.003.066.876.87
#FFFFFF3.061.0021.0021.00
#0000006.8721.001.001.00
##0000006.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A9994F
Deuteranopia (green-blind)
#9B8F5C
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a856;
/* rgb */ color: rgb(49, 168, 86);
/* oklch */ color: oklch(64.7% 0.159 149.6);
Tailwind
colors: {
  custom: {
    50: '#79c387',
    500: '#31a856',
    950: '#000000',
  },
}
SCSS
$custom: #31a856;
$custom-light: #79c387;
$custom-dark: #000000;
JSON
{
  "hex": "#31a856",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 86
  },
  "hsl": {
    "h": 138.655,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64728,
    "c": 0.15857,
    "h": 149.6
  },
  "luminance": 0.2933
}

Semantic roles & 50–950 ramp

primary
#31A856
secondary
#C174A9
accent
#4AB0DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A856

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

Preview Lab → · Contrast checker → · Palette generator →

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