#31BA74#31BA74

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

Color values

HEX#31BA74
RGBrgb(49, 186, 116)
HSLhsl(149, 58%, 46%)
HSVhsv(149, 74%, 73%)
CMYKcmyk(73.7%, 0%, 37.6%, 27.1%)
CIE-LABlab(67.30, -52.16, 25.36)
CIE-LCHlch(67.30, 58.00, 154.07°)
OKLaboklab(70.02% -0.1409 0.0635)
OKLCHoklch(70.02% 0.155 155.7)
XYZxyz(21.9758, 37.0292, 22.5088)
Luminance0.3703 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA74 #BA3177
analogous
#32BA31 #31BA74 #31BAB8
triadic
#31BA74 #7431BA #BA7431
tetradic
#31BA74 #3132BA #BA3177 #BAB831
square
#31BA74 #3132BA #BA3177 #BAB831
split-complementary
#31BA74 #B831BA #BA3132
monochromatic
#175938 #248A56 #31BA74 #56D293 #86DFB2

Accessibility & contrast

On white

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

On black

8.41
#31BA74 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA74
8.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA74#FFFFFF#000000##000000
##31BA741.002.508.418.41
#FFFFFF2.501.0021.0021.00
#0000008.4121.001.001.00
##0000008.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ba74;
/* rgb */ color: rgb(49, 186, 116);
/* oklch */ color: oklch(70.0% 0.155 155.7);
Tailwind
colors: {
  custom: {
    50: '#7dd09c',
    500: '#31ba74',
    950: '#000000',
  },
}
SCSS
$custom: #31ba74;
$custom-light: #7dd09c;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba74",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 116
  },
  "hsl": {
    "h": 149.343,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70023,
    "c": 0.15455,
    "h": 155.7
  },
  "luminance": 0.37032
}

Semantic roles & 50–950 ramp

primary
#31BA74
secondary
#C97EA4
accent
#4696E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BA74

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

Preview Lab → · Contrast checker → · Palette generator →

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