#31BA70#31BA70

#31BA70 is a light, vivid green. Relative luminance 0.369; OKLCH L 69.9% C 0.158 H 154.5°. Best body text is #000000 at 8.39:1 contrast (WCAG AA passes).

Color values

HEX#31BA70
RGBrgb(49, 186, 112)
HSLhsl(148, 58%, 46%)
HSVhsv(148, 74%, 73%)
CMYKcmyk(73.7%, 0%, 39.8%, 27.1%)
CIE-LABlab(67.23, -52.93, 27.38)
CIE-LCHlch(67.23, 59.60, 152.65°)
OKLaboklab(69.94% -0.1428 0.0682)
OKLCHoklch(69.94% 0.158 154.5)
XYZxyz(21.7481, 36.9381, 21.3097)
Luminance0.3694 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA70 #BA317B
analogous
#36BA31 #31BA70 #31BAB4
triadic
#31BA70 #7031BA #BA7031
tetradic
#31BA70 #3136BA #BA317B #BAB431
square
#31BA70 #3136BA #BA317B #BAB431
split-complementary
#31BA70 #B431BA #BA3136
monochromatic
#175936 #248A53 #31BA70 #56D28F #86DFAF

Accessibility & contrast

On white

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

On black

8.39
#31BA70 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA70
8.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA70#FFFFFF#000000##000000
##31BA701.002.508.398.39
#FFFFFF2.501.0021.0021.00
#0000008.3921.001.001.00
##0000008.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAAB6B
Deuteranopia (green-blind)
#A99F75
Tritanopia (blue-blind)
#00B8A7
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31ba70;
/* rgb */ color: rgb(49, 186, 112);
/* oklch */ color: oklch(69.9% 0.158 154.5);
Tailwind
colors: {
  custom: {
    50: '#7dd09a',
    500: '#31ba70',
    950: '#000000',
  },
}
SCSS
$custom: #31ba70;
$custom-light: #7dd09a;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba70",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 112
  },
  "hsl": {
    "h": 147.591,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69944,
    "c": 0.15822,
    "h": 154.5
  },
  "luminance": 0.36941
}

Semantic roles & 50–950 ramp

primary
#31BA70
secondary
#C97EA6
accent
#469AE2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31BA70

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

Preview Lab → · Contrast checker → · Palette generator →

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