#31BA6B#31BA6B

#31BA6B is a light, vivid green. Relative luminance 0.368; OKLCH L 69.8% C 0.163 H 153.0°. Best body text is #000000 at 8.37:1 contrast (WCAG AA passes).

Color values

HEX#31BA6B
RGBrgb(49, 186, 107)
HSLhsl(145, 58%, 46%)
HSVhsv(145, 74%, 73%)
CMYKcmyk(73.7%, 0%, 42.5%, 27.1%)
CIE-LABlab(67.15, -53.86, 29.89)
CIE-LCHlch(67.15, 61.60, 150.97°)
OKLaboklab(69.85% -0.145 0.074)
OKLCHoklch(69.85% 0.163 153)
XYZxyz(21.4775, 36.8298, 19.8840)
Luminance0.3683 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA6B #BA3180
analogous
#3CBA31 #31BA6B #31BAAF
triadic
#31BA6B #6B31BA #BA6B31
tetradic
#31BA6B #313CBA #BA3180 #BAAF31
square
#31BA6B #313CBA #BA3180 #BAAF31
split-complementary
#31BA6B #AF31BA #BA313C
monochromatic
#175933 #248A4F #31BA6B #56D28B #86DFAC

Accessibility & contrast

On white

2.51
#31BA6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.37
#31BA6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA6B
8.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA6B#FFFFFF#000000##000000
##31BA6B1.002.518.378.37
#FFFFFF2.511.0021.0021.00
#0000008.3721.001.001.00
##0000008.3721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31ba6b;
/* rgb */ color: rgb(49, 186, 107);
/* oklch */ color: oklch(69.8% 0.163 153.0);
Tailwind
colors: {
  custom: {
    50: '#7dd096',
    500: '#31ba6b',
    950: '#000000',
  },
}
SCSS
$custom: #31ba6b;
$custom-light: #7dd096;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba6b",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 107
  },
  "hsl": {
    "h": 145.401,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.6985,
    "c": 0.16282,
    "h": 153
  },
  "luminance": 0.36832
}

Semantic roles & 50–950 ramp

primary
#31BA6B
secondary
#C97EA9
accent
#46A0E2
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31BA6B

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

Preview Lab → · Contrast checker → · Palette generator →

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