#31BA73#31BA73

#31BA73 is a light, vivid green. Relative luminance 0.370; OKLCH L 70.0% C 0.155 H 155.4°. Best body text is #000000 at 8.40:1 contrast (WCAG AA passes).

Color values

HEX#31BA73
RGBrgb(49, 186, 115)
HSLhsl(149, 58%, 46%)
HSVhsv(149, 74%, 73%)
CMYKcmyk(73.7%, 0%, 38.2%, 27.1%)
CIE-LABlab(67.28, -52.36, 25.87)
CIE-LCHlch(67.28, 58.40, 153.71°)
OKLaboklab(70% -0.1414 0.0647)
OKLCHoklch(70% 0.155 155.4)
XYZxyz(21.9180, 37.0060, 22.2041)
Luminance0.3701 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA73 #BA3178
analogous
#33BA31 #31BA73 #31BAB7
triadic
#31BA73 #7331BA #BA7331
tetradic
#31BA73 #3133BA #BA3178 #BAB731
square
#31BA73 #3133BA #BA3178 #BAB731
split-complementary
#31BA73 #B731BA #BA3133
monochromatic
#175937 #248A55 #31BA73 #56D292 #86DFB1

Accessibility & contrast

On white

2.50
#31BA73 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.40
#31BA73 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA73
8.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA73#FFFFFF#000000##000000
##31BA731.002.508.408.40
#FFFFFF2.501.0021.0021.00
#0000008.4021.001.001.00
##0000008.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9AB6E
Deuteranopia (green-blind)
#A99F78
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31ba73;
/* rgb */ color: rgb(49, 186, 115);
/* oklch */ color: oklch(70.0% 0.155 155.4);
Tailwind
colors: {
  custom: {
    50: '#7dd09c',
    500: '#31ba73',
    950: '#000000',
  },
}
SCSS
$custom: #31ba73;
$custom-light: #7dd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba73",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 115
  },
  "hsl": {
    "h": 148.905,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70003,
    "c": 0.15546,
    "h": 155.4
  },
  "luminance": 0.37009
}

Semantic roles & 50–950 ramp

primary
#31BA73
secondary
#C97EA5
accent
#4697E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BA73

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

Preview Lab → · Contrast checker → · Palette generator →

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