#31B954#31B954

#31B954 is a light, vivid green. Relative luminance 0.360; OKLCH L 69.2% C 0.182 H 147.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#31B954
RGBrgb(49, 185, 84)
HSLhsl(135, 58%, 46%)
HSVhsv(135, 74%, 73%)
CMYKcmyk(73.5%, 0%, 54.6%, 27.5%)
CIE-LABlab(66.51, -57.20, 40.68)
CIE-LCHlch(66.51, 70.19, 144.58°)
OKLaboklab(69.22% -0.1539 0.0974)
OKLCHoklch(69.22% 0.182 147.7)
XYZxyz(20.2143, 35.9887, 14.2670)
Luminance0.3599 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B954 #B93196
analogous
#52B931 #31B954 #31B998
triadic
#31B954 #5431B9 #B95431
tetradic
#31B954 #3152B9 #B93196 #B99831
square
#31B954 #3152B9 #B93196 #B99831
split-complementary
#31B954 #9831B9 #B93152
monochromatic
#175828 #24893E #31B954 #55D275 #86DF9D

Accessibility & contrast

On white

2.56
#31B954 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#31B954 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B954
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B954#FFFFFF#000000##000000
##31B9541.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b954;
/* rgb */ color: rgb(49, 185, 84);
/* oklch */ color: oklch(69.2% 0.182 147.7);
Tailwind
colors: {
  custom: {
    50: '#7dcf86',
    500: '#31b954',
    950: '#000000',
  },
}
SCSS
$custom: #31b954;
$custom-light: #7dcf86;
$custom-dark: #000000;
JSON
{
  "hex": "#31b954",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 84
  },
  "hsl": {
    "h": 135.441,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69219,
    "c": 0.1822,
    "h": 147.7
  },
  "luminance": 0.35991
}

Semantic roles & 50–950 ramp

primary
#31B954
secondary
#C87DB5
accent
#46B9E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B954

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

Preview Lab → · Contrast checker → · Palette generator →

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