#31B756#31B756

#31B756 is a light, vivid green. Relative luminance 0.352; OKLCH L 68.7% C 0.178 H 148.2°. Best body text is #000000 at 8.04:1 contrast (WCAG AA passes).

Color values

HEX#31B756
RGBrgb(49, 183, 86)
HSLhsl(137, 58%, 45%)
HSVhsv(137, 73%, 72%)
CMYKcmyk(73.2%, 0%, 53%, 28.2%)
CIE-LABlab(65.90, -56.21, 38.96)
CIE-LCHlch(65.90, 68.39, 145.28°)
OKLaboklab(68.72% -0.1512 0.0938)
OKLCHoklch(68.72% 0.178 148.2)
XYZxyz(19.8783, 35.1896, 14.5469)
Luminance0.3519 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B756 #B73192
analogous
#4FB731 #31B756 #31B799
triadic
#31B756 #5631B7 #B75631
tetradic
#31B756 #314FB7 #B73192 #B79931
square
#31B756 #314FB7 #B73192 #B79931
split-complementary
#31B756 #9931B7 #B7314F
monochromatic
#175629 #24873F #31B756 #54D177 #84DE9D

Accessibility & contrast

On white

2.61
#31B756 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.04
#31B756 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B756
8.04:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B756#FFFFFF#000000##000000
##31B7561.002.618.048.04
#FFFFFF2.611.0021.0021.00
#0000008.0421.001.001.00
##0000008.0421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A74D
Deuteranopia (green-blind)
#A99C5D
Tritanopia (blue-blind)
#00B3A1
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b756;
/* rgb */ color: rgb(49, 183, 86);
/* oklch */ color: oklch(68.7% 0.178 148.2);
Tailwind
colors: {
  custom: {
    50: '#7dce88',
    500: '#31b756',
    950: '#000000',
  },
}
SCSS
$custom: #31b756;
$custom-light: #7dce88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b756",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 86
  },
  "hsl": {
    "h": 136.567,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68718,
    "c": 0.17795,
    "h": 148.2
  },
  "luminance": 0.35192
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B756

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

Preview Lab → · Contrast checker → · Palette generator →

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