#31A456#31A456

#31A456 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.153 H 150.0°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#31A456
RGBrgb(49, 164, 86)
HSLhsl(139, 54%, 42%)
HSVhsv(139, 70%, 64%)
CMYKcmyk(70.1%, 0%, 47.6%, 35.7%)
CIE-LABlab(59.77, -49.28, 31.34)
CIE-LCHlch(59.77, 58.40, 147.54°)
OKLaboklab(63.66% -0.1327 0.0766)
OKLCHoklch(63.66% 0.153 150)
XYZxyz(16.2205, 27.8740, 13.3277)
Luminance0.2788 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A456 #A4317F
analogous
#46A431 #31A456 #31A490
triadic
#31A456 #5631A4 #A45631
tetradic
#31A456 #3146A4 #A4317F #A49031
square
#31A456 #3146A4 #A4317F #A49031
split-complementary
#31A456 #9031A4 #A43146
monochromatic
#154625 #23753D #31A456 #49C972 #79D797

Accessibility & contrast

On white

3.19
#31A456 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#31A456 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A456
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A456#FFFFFF#000000##000000
##31A4561.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59650
Deuteranopia (green-blind)
#978C5B
Tritanopia (blue-blind)
#00A191
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a456;
/* rgb */ color: rgb(49, 164, 86);
/* oklch */ color: oklch(63.7% 0.153 150.0);
Tailwind
colors: {
  custom: {
    50: '#78c087',
    500: '#31a456',
    950: '#000000',
  },
}
SCSS
$custom: #31a456;
$custom-light: #78c087;
$custom-dark: #000000;
JSON
{
  "hex": "#31a456",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 86
  },
  "hsl": {
    "h": 139.304,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63658,
    "c": 0.15324,
    "h": 150
  },
  "luminance": 0.27876
}

Semantic roles & 50–950 ramp

primary
#31A456
secondary
#BF72A6
accent
#4AAEDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A456

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

Preview Lab → · Contrast checker → · Palette generator →

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