#31A855#31A855

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

Color values

HEX#31A855
RGBrgb(49, 168, 85)
HSLhsl(138, 55%, 43%)
HSVhsv(138, 71%, 66%)
CMYKcmyk(70.8%, 0%, 49.4%, 34.1%)
CIE-LABlab(61.06, -50.94, 33.47)
CIE-LCHlch(61.06, 60.95, 146.69°)
OKLaboklab(64.71% -0.1371 0.0814)
OKLCHoklch(64.71% 0.159 149.3)
XYZxyz(16.9076, 29.3122, 13.3593)
Luminance0.2931 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A855 #A83184
analogous
#49A831 #31A855 #31A890
triadic
#31A855 #5531A8 #A85531
tetradic
#31A855 #3149A8 #A83184 #A89031
square
#31A855 #3149A8 #A83184 #A89031
split-complementary
#31A855 #9031A8 #A83149
monochromatic
#154925 #23793D #31A855 #4CCB72 #7BD897

Accessibility & contrast

On white

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

On black

6.86
#31A855 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A855
6.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A855#FFFFFF#000000##000000
##31A8551.003.066.866.86
#FFFFFF3.061.0021.0021.00
#0000006.8621.001.001.00
##0000006.8621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a855;
/* rgb */ color: rgb(49, 168, 85);
/* oklch */ color: oklch(64.7% 0.159 149.3);
Tailwind
colors: {
  custom: {
    50: '#79c386',
    500: '#31a855',
    950: '#000000',
  },
}
SCSS
$custom: #31a855;
$custom-light: #79c386;
$custom-dark: #000000;
JSON
{
  "hex": "#31a855",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 85
  },
  "hsl": {
    "h": 138.151,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64711,
    "c": 0.15948,
    "h": 149.3
  },
  "luminance": 0.29314
}

Semantic roles & 50–950 ramp

primary
#31A855
secondary
#C174AA
accent
#4AB1DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A855

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

Preview Lab → · Contrast checker → · Palette generator →

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