#31B973#31B973

#31B973 is a light, vivid green. Relative luminance 0.366; OKLCH L 69.7% C 0.154 H 155.6°. Best body text is #000000 at 8.32:1 contrast (WCAG AA passes).

Color values

HEX#31B973
RGBrgb(49, 185, 115)
HSLhsl(149, 58%, 46%)
HSVhsv(149, 74%, 73%)
CMYKcmyk(73.5%, 0%, 37.8%, 27.5%)
CIE-LABlab(66.97, -51.98, 25.45)
CIE-LCHlch(66.97, 57.87, 153.92°)
OKLaboklab(69.74% -0.1404 0.0637)
OKLCHoklch(69.74% 0.154 155.6)
XYZxyz(21.7080, 36.5862, 22.1341)
Luminance0.3659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B973 #B93177
analogous
#33B931 #31B973 #31B9B7
triadic
#31B973 #7331B9 #B97331
tetradic
#31B973 #3133B9 #B93177 #B9B731
square
#31B973 #3133B9 #B93177 #B9B731
split-complementary
#31B973 #B731B9 #B93133
monochromatic
#175837 #248955 #31B973 #55D292 #86DFB1

Accessibility & contrast

On white

2.52
#31B973 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.32
#31B973 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B973
8.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B973#FFFFFF#000000##000000
##31B9731.002.528.328.32
#FFFFFF2.521.0021.0021.00
#0000008.3221.001.001.00
##0000008.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8AA6E
Deuteranopia (green-blind)
#A89E78
Tritanopia (blue-blind)
#00B7A7
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31b973;
/* rgb */ color: rgb(49, 185, 115);
/* oklch */ color: oklch(69.7% 0.154 155.6);
Tailwind
colors: {
  custom: {
    50: '#7ccf9c',
    500: '#31b973',
    950: '#000000',
  },
}
SCSS
$custom: #31b973;
$custom-light: #7ccf9c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b973",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 115
  },
  "hsl": {
    "h": 149.118,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69742,
    "c": 0.15415,
    "h": 155.6
  },
  "luminance": 0.36589
}

Semantic roles & 50–950 ramp

primary
#31B973
secondary
#C87DA4
accent
#4696E1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B973

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

Preview Lab → · Contrast checker → · Palette generator →

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