#31BA66#31BA66

#31BA66 is a light, vivid green. Relative luminance 0.367; OKLCH L 69.8% C 0.167 H 151.6°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).

Color values

HEX#31BA66
RGBrgb(49, 186, 102)
HSLhsl(143, 58%, 46%)
HSVhsv(143, 74%, 73%)
CMYKcmyk(73.7%, 0%, 45.2%, 27.1%)
CIE-LABlab(67.07, -54.74, 32.38)
CIE-LCHlch(67.07, 63.60, 149.39°)
OKLaboklab(69.76% -0.1473 0.0796)
OKLCHoklch(69.76% 0.167 151.6)
XYZxyz(21.2220, 36.7276, 18.5385)
Luminance0.3673 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA66 #BA3185
analogous
#40BA31 #31BA66 #31BAAA
triadic
#31BA66 #6631BA #BA6631
tetradic
#31BA66 #3140BA #BA3185 #BAAA31
square
#31BA66 #3140BA #BA3185 #BAAA31
split-complementary
#31BA66 #AA31BA #BA3140
monochromatic
#175931 #248A4B #31BA66 #56D286 #86DFA9

Accessibility & contrast

On white

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

On black

8.35
#31BA66 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA66
8.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA66#FFFFFF#000000##000000
##31BA661.002.528.358.35
#FFFFFF2.521.0021.0021.00
#0000008.3521.001.001.00
##0000008.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBAA60
Deuteranopia (green-blind)
#AA9F6C
Tritanopia (blue-blind)
#00B7A6
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31ba66;
/* rgb */ color: rgb(49, 186, 102);
/* oklch */ color: oklch(69.8% 0.167 151.6);
Tailwind
colors: {
  custom: {
    50: '#7dd093',
    500: '#31ba66',
    950: '#000000',
  },
}
SCSS
$custom: #31ba66;
$custom-light: #7dd093;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba66",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 102
  },
  "hsl": {
    "h": 143.212,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.69762,
    "c": 0.16741,
    "h": 151.6
  },
  "luminance": 0.3673
}

Semantic roles & 50–950 ramp

primary
#31BA66
secondary
#C97EAC
accent
#46A5E2
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B140D
muted
#7C827E

Preview Lab

Preview with #31BA66

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

Preview Lab → · Contrast checker → · Palette generator →

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