#31B56C#31B56C

#31B56C is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.155 H 154.1°. Best body text is #000000 at 7.96:1 contrast (WCAG AA passes).

Color values

HEX#31B56C
RGBrgb(49, 181, 108)
HSLhsl(147, 57%, 45%)
HSVhsv(147, 73%, 71%)
CMYKcmyk(72.9%, 0%, 40.3%, 29%)
CIE-LABlab(65.58, -51.80, 27.31)
CIE-LCHlch(65.58, 58.56, 152.20°)
OKLaboklab(68.56% -0.1397 0.068)
OKLCHoklch(68.56% 0.155 154.1)
XYZxyz(20.4954, 34.7811, 19.8177)
Luminance0.3478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56C #B5317A
analogous
#38B531 #31B56C #31B5AE
triadic
#31B56C #6C31B5 #B56C31
tetradic
#31B56C #3138B5 #B5317A #B5AE31
square
#31B56C #3138B5 #B5317A #B5AE31
split-complementary
#31B56C #AE31B5 #B53138
monochromatic
#175533 #24854F #31B56C #53D08B #83DDAB

Accessibility & contrast

On white

2.64
#31B56C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.96
#31B56C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B56C
7.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B56C#FFFFFF#000000##000000
##31B56C1.002.647.967.96
#FFFFFF2.641.0021.0021.00
#0000007.9621.001.001.00
##0000007.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A667
Deuteranopia (green-blind)
#A59B71
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56c;
/* rgb */ color: rgb(49, 181, 108);
/* oklch */ color: oklch(68.6% 0.155 154.1);
Tailwind
colors: {
  custom: {
    50: '#7ccc97',
    500: '#31b56c',
    950: '#000000',
  },
}
SCSS
$custom: #31b56c;
$custom-light: #7ccc97;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56c",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 108
  },
  "hsl": {
    "h": 146.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68559,
    "c": 0.15533,
    "h": 154.1
  },
  "luminance": 0.34783
}

Semantic roles & 50–950 ramp

primary
#31B56C
secondary
#C77BA5
accent
#479CE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B56C

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

Preview Lab → · Contrast checker → · Palette generator →

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