#31B560#31B560

#31B560 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.3% C 0.166 H 150.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#31B560
RGBrgb(49, 181, 96)
HSLhsl(141, 57%, 45%)
HSVhsv(141, 73%, 71%)
CMYKcmyk(72.9%, 0%, 47%, 29%)
CIE-LABlab(65.39, -53.92, 33.31)
CIE-LCHlch(65.39, 63.38, 148.30°)
OKLaboklab(68.34% -0.1451 0.0815)
OKLCHoklch(68.34% 0.166 150.7)
XYZxyz(19.9002, 34.5430, 16.6827)
Luminance0.3454 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B560 #B53186
analogous
#44B531 #31B560 #31B5A2
triadic
#31B560 #6031B5 #B56031
tetradic
#31B560 #3144B5 #B53186 #B5A231
square
#31B560 #3144B5 #B53186 #B5A231
split-complementary
#31B560 #A231B5 #B53144
monochromatic
#17552D #248546 #31B560 #53D080 #83DDA3

Accessibility & contrast

On white

2.66
#31B560 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.91
#31B560 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B560
7.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B560#FFFFFF#000000##000000
##31B5601.002.667.917.91
#FFFFFF2.661.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A559
Deuteranopia (green-blind)
#A69A66
Tritanopia (blue-blind)
#00B2A1
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b560;
/* rgb */ color: rgb(49, 181, 96);
/* oklch */ color: oklch(68.3% 0.166 150.7);
Tailwind
colors: {
  custom: {
    50: '#7ccc8e',
    500: '#31b560',
    950: '#000000',
  },
}
SCSS
$custom: #31b560;
$custom-light: #7ccc8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b560",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 96
  },
  "hsl": {
    "h": 141.364,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68344,
    "c": 0.16641,
    "h": 150.7
  },
  "luminance": 0.34545
}

Semantic roles & 50–950 ramp

primary
#31B560
secondary
#C77BAC
accent
#47AAE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B560

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

Preview Lab → · Contrast checker → · Palette generator →

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