#31BA75#31BA75

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

Color values

HEX#31BA75
RGBrgb(49, 186, 117)
HSLhsl(150, 58%, 46%)
HSVhsv(150, 74%, 73%)
CMYKcmyk(73.7%, 0%, 37.1%, 27.1%)
CIE-LABlab(67.32, -51.97, 24.86)
CIE-LCHlch(67.32, 57.61, 154.44°)
OKLaboklab(70.04% -0.1404 0.0623)
OKLCHoklch(70.04% 0.154 156.1)
XYZxyz(22.0343, 37.0526, 22.8168)
Luminance0.3705 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA75 #BA3176
analogous
#31BA31 #31BA75 #31BAB9
triadic
#31BA75 #7531BA #BA7531
tetradic
#31BA75 #3131BA #BA3176 #BAB931
square
#31BA75 #3131BA #BA3176 #BAB931
split-complementary
#31BA75 #B931BA #BA3131
monochromatic
#175938 #248A57 #31BA75 #56D294 #86DFB2

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31BA75#FFFFFF#000000##000000
##31BA751.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)
#B9AB70
Deuteranopia (green-blind)
#A89F7A
Tritanopia (blue-blind)
#00B8A8
Achromatopsia (no color)
#A4A4A4

Design tokens & code

CSS
--color: #31ba75;
/* rgb */ color: rgb(49, 186, 117);
/* oklch */ color: oklch(70.0% 0.154 156.1);
Tailwind
colors: {
  custom: {
    50: '#7dd09d',
    500: '#31ba75',
    950: '#000000',
  },
}
SCSS
$custom: #31ba75;
$custom-light: #7dd09d;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba75",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 117
  },
  "hsl": {
    "h": 149.781,
    "s": 58.298,
    "l": 46.078
  },
  "oklch": {
    "l": 0.70043,
    "c": 0.15363,
    "h": 156.1
  },
  "luminance": 0.37055
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31BA75

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

Preview Lab → · Contrast checker → · Palette generator →

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