#31B771#31B771

#31B771 is a light, vivid green. Relative luminance 0.357; OKLCH L 69.2% C 0.153 H 155.3°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#31B771
RGBrgb(49, 183, 113)
HSLhsl(149, 58%, 45%)
HSVhsv(149, 73%, 72%)
CMYKcmyk(73.2%, 0%, 38.3%, 28.2%)
CIE-LABlab(66.30, -51.60, 25.62)
CIE-LCHlch(66.30, 57.61, 153.60°)
OKLaboklab(69.18% -0.1393 0.064)
OKLCHoklch(69.18% 0.153 155.3)
XYZxyz(21.1788, 35.7097, 21.3961)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B771 #B73177
analogous
#34B731 #31B771 #31B7B4
triadic
#31B771 #7131B7 #B77131
tetradic
#31B771 #3134B7 #B73177 #B7B431
square
#31B771 #3134B7 #B73177 #B7B431
split-complementary
#31B771 #B431B7 #B73134
monochromatic
#175635 #248753 #31B771 #54D190 #84DEAF

Accessibility & contrast

On white

2.58
#31B771 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#31B771 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B771
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B771#FFFFFF#000000##000000
##31B7711.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86C
Deuteranopia (green-blind)
#A69D76
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b771;
/* rgb */ color: rgb(49, 183, 113);
/* oklch */ color: oklch(69.2% 0.153 155.3);
Tailwind
colors: {
  custom: {
    50: '#7cce9a',
    500: '#31b771',
    950: '#000000',
  },
}
SCSS
$custom: #31b771;
$custom-light: #7cce9a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b771",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 113
  },
  "hsl": {
    "h": 148.657,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.6918,
    "c": 0.15335,
    "h": 155.3
  },
  "luminance": 0.35712
}

Semantic roles & 50–950 ramp

primary
#31B771
secondary
#C87CA4
accent
#4797E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B771

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

Preview Lab → · Contrast checker → · Palette generator →

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