#31C556#31C556

#31C556 is a light, vivid green. Relative luminance 0.413; OKLCH L 72.4% C 0.195 H 147.3°. Best body text is #000000 at 9.25:1 contrast (WCAG AA passes).

Color values

HEX#31C556
RGBrgb(49, 197, 86)
HSLhsl(135, 60%, 48%)
HSVhsv(135, 75%, 77%)
CMYKcmyk(75.1%, 0%, 56.3%, 22.7%)
CIE-LABlab(70.35, -61.04, 44.33)
CIE-LCHlch(70.35, 75.44, 144.01°)
OKLaboklab(72.41% -0.1643 0.1056)
OKLCHoklch(72.41% 0.195 147.3)
XYZxyz(22.9108, 41.2547, 15.5578)
Luminance0.4126 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C556 #C531A0
analogous
#56C531 #31C556 #31C5A0
triadic
#31C556 #5631C5 #C55631
tetradic
#31C556 #3156C5 #C531A0 #C5A031
square
#31C556 #3156C5 #C531A0 #C5A031
split-complementary
#31C556 #A031C5 #C53156
monochromatic
#19632B #259441 #31C556 #5DD77B #8EE3A3

Accessibility & contrast

On white

2.27
#31C556 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

9.25
#31C556 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C556
9.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C556#FFFFFF#000000##000000
##31C5561.002.279.259.25
#FFFFFF2.271.0021.0021.00
#0000009.2521.001.001.00
##0000009.2521.001.001.00

Color blindness preview

Protanopia (red-blind)
#C7B34B
Deuteranopia (green-blind)
#B6A75F
Tritanopia (blue-blind)
#00C1AC
Achromatopsia (no color)
#ACACAC

Design tokens & code

CSS
--color: #31c556;
/* rgb */ color: rgb(49, 197, 86);
/* oklch */ color: oklch(72.4% 0.195 147.3);
Tailwind
colors: {
  custom: {
    50: '#80d888',
    500: '#31c556',
    950: '#000000',
  },
}
SCSS
$custom: #31c556;
$custom-light: #80d888;
$custom-dark: #000000;
JSON
{
  "hex": "#31c556",
  "rgb": {
    "r": 49,
    "g": 197,
    "b": 86
  },
  "hsl": {
    "h": 135,
    "s": 60.163,
    "l": 48.235
  },
  "oklch": {
    "l": 0.72409,
    "c": 0.19527,
    "h": 147.3
  },
  "luminance": 0.41257
}

Semantic roles & 50–950 ramp

primary
#31C556
secondary
#CD85BB
accent
#44BCE3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0C150C
muted
#7D837D

Preview Lab

Preview with #31C556

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

Preview Lab → · Contrast checker → · Palette generator →

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