#31B950#31B950

#31B950 is a light, vivid green. Relative luminance 0.359; OKLCH L 69.2% C 0.186 H 146.9°. Best body text is #000000 at 8.19:1 contrast (WCAG AA passes).

Color values

HEX#31B950
RGBrgb(49, 185, 80)
HSLhsl(134, 58%, 46%)
HSVhsv(134, 74%, 73%)
CMYKcmyk(73.5%, 0%, 56.8%, 27.5%)
CIE-LABlab(66.46, -57.75, 42.54)
CIE-LCHlch(66.46, 71.72, 143.63°)
OKLaboklab(69.16% -0.1555 0.1012)
OKLCHoklch(69.16% 0.186 146.9)
XYZxyz(20.0621, 35.9278, 13.4653)
Luminance0.3593 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B950 #B9319A
analogous
#56B931 #31B950 #31B994
triadic
#31B950 #5031B9 #B95031
tetradic
#31B950 #3156B9 #B9319A #B99431
square
#31B950 #3156B9 #B9319A #B99431
split-complementary
#31B950 #9431B9 #B93156
monochromatic
#175826 #24893B #31B950 #55D272 #86DF9A

Accessibility & contrast

On white

2.57
#31B950 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.19
#31B950 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B950
8.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B950#FFFFFF#000000##000000
##31B9501.002.578.198.19
#FFFFFF2.571.0021.0021.00
#0000008.1921.001.001.00
##0000008.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA846
Deuteranopia (green-blind)
#AC9D58
Tritanopia (blue-blind)
#00B5A2
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b950;
/* rgb */ color: rgb(49, 185, 80);
/* oklch */ color: oklch(69.2% 0.186 146.9);
Tailwind
colors: {
  custom: {
    50: '#7dcf84',
    500: '#31b950',
    950: '#000000',
  },
}
SCSS
$custom: #31b950;
$custom-light: #7dcf84;
$custom-dark: #000000;
JSON
{
  "hex": "#31b950",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 80
  },
  "hsl": {
    "h": 133.676,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69165,
    "c": 0.18558,
    "h": 146.9
  },
  "luminance": 0.3593
}

Semantic roles & 50–950 ramp

primary
#31B950
secondary
#C87DB7
accent
#46BEE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B950

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

Preview Lab → · Contrast checker → · Palette generator →

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