#31B656#31B656

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

Color values

HEX#31B656
RGBrgb(49, 182, 86)
HSLhsl(137, 58%, 45%)
HSVhsv(137, 73%, 71%)
CMYKcmyk(73.1%, 0%, 52.7%, 28.6%)
CIE-LABlab(65.58, -55.86, 38.57)
CIE-LCHlch(65.58, 67.88, 145.38°)
OKLaboklab(68.45% -0.1503 0.0929)
OKLCHoklch(68.45% 0.177 148.3)
XYZxyz(19.6728, 34.7785, 14.4784)
Luminance0.3478 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B656 #B63191
analogous
#4EB631 #31B656 #31B699
triadic
#31B656 #5631B6 #B65631
tetradic
#31B656 #314EB6 #B63191 #B69931
square
#31B656 #314EB6 #B63191 #B69931
split-complementary
#31B656 #9931B6 #B6314E
monochromatic
#175628 #24863F #31B656 #53D176 #84DE9D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B656#FFFFFF#000000##000000
##31B6561.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)
#B8A64E
Deuteranopia (green-blind)
#A89B5D
Tritanopia (blue-blind)
#00B2A0
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b656;
/* rgb */ color: rgb(49, 182, 86);
/* oklch */ color: oklch(68.5% 0.177 148.3);
Tailwind
colors: {
  custom: {
    50: '#7ccd88',
    500: '#31b656',
    950: '#000000',
  },
}
SCSS
$custom: #31b656;
$custom-light: #7ccd88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b656",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 86
  },
  "hsl": {
    "h": 136.692,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68453,
    "c": 0.17668,
    "h": 148.3
  },
  "luminance": 0.34781
}

Semantic roles & 50–950 ramp

primary
#31B656
secondary
#C77CB2
accent
#47B6E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B656

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

Preview Lab → · Contrast checker → · Palette generator →

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