#31B561#31B561

#31B561 is a light, vivid green. Relative luminance 0.346; OKLCH L 68.4% C 0.165 H 150.9°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).

Color values

HEX#31B561
RGBrgb(49, 181, 97)
HSLhsl(142, 57%, 45%)
HSVhsv(142, 73%, 71%)
CMYKcmyk(72.9%, 0%, 46.4%, 29%)
CIE-LABlab(65.41, -53.76, 32.82)
CIE-LCHlch(65.41, 62.98, 148.60°)
OKLaboklab(68.36% -0.1446 0.0804)
OKLCHoklch(68.36% 0.165 150.9)
XYZxyz(19.9465, 34.5615, 16.9268)
Luminance0.3456 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B561 #B53185
analogous
#43B531 #31B561 #31B5A3
triadic
#31B561 #6131B5 #B56131
tetradic
#31B561 #3143B5 #B53185 #B5A331
square
#31B561 #3143B5 #B53185 #B5A331
split-complementary
#31B561 #A331B5 #B53143
monochromatic
#17552D #248547 #31B561 #53D080 #83DDA4

Accessibility & contrast

On white

2.65
#31B561 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B561#FFFFFF#000000##000000
##31B5611.002.657.917.91
#FFFFFF2.651.0021.0021.00
#0000007.9121.001.001.00
##0000007.9121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b561;
/* rgb */ color: rgb(49, 181, 97);
/* oklch */ color: oklch(68.4% 0.165 150.9);
Tailwind
colors: {
  custom: {
    50: '#7ccc8f',
    500: '#31b561',
    950: '#000000',
  },
}
SCSS
$custom: #31b561;
$custom-light: #7ccc8f;
$custom-dark: #000000;
JSON
{
  "hex": "#31b561",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 97
  },
  "hsl": {
    "h": 141.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68361,
    "c": 0.16549,
    "h": 150.9
  },
  "luminance": 0.34564
}

Semantic roles & 50–950 ramp

primary
#31B561
secondary
#C77BAB
accent
#47A9E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B561

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

Preview Lab → · Contrast checker → · Palette generator →

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