#31B956#31B956

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

Color values

HEX#31B956
RGBrgb(49, 185, 86)
HSLhsl(136, 58%, 46%)
HSVhsv(136, 74%, 73%)
CMYKcmyk(73.5%, 0%, 53.5%, 27.5%)
CIE-LABlab(66.54, -56.91, 39.74)
CIE-LCHlch(66.54, 69.41, 145.08°)
OKLaboklab(69.25% -0.1531 0.0955)
OKLCHoklch(69.25% 0.18 148.1)
XYZxyz(20.2937, 36.0204, 14.6854)
Luminance0.3602 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B956 #B93194
analogous
#50B931 #31B956 #31B99A
triadic
#31B956 #5631B9 #B95631
tetradic
#31B956 #3150B9 #B93194 #B99A31
square
#31B956 #3150B9 #B93194 #B99A31
split-complementary
#31B956 #9A31B9 #B93150
monochromatic
#175829 #248940 #31B956 #55D277 #86DF9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B956#FFFFFF#000000##000000
##31B9561.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)
#BBA94D
Deuteranopia (green-blind)
#AB9D5D
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31b956;
/* rgb */ color: rgb(49, 185, 86);
/* oklch */ color: oklch(69.2% 0.180 148.1);
Tailwind
colors: {
  custom: {
    50: '#7dcf88',
    500: '#31b956',
    950: '#000000',
  },
}
SCSS
$custom: #31b956;
$custom-light: #7dcf88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b956",
  "rgb": {
    "r": 49,
    "g": 185,
    "b": 86
  },
  "hsl": {
    "h": 136.324,
    "s": 58.12,
    "l": 45.882
  },
  "oklch": {
    "l": 0.69247,
    "c": 0.18047,
    "h": 148.1
  },
  "luminance": 0.36023
}

Semantic roles & 50–950 ramp

primary
#31B956
secondary
#C87DB4
accent
#46B7E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B956

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

Preview Lab → · Contrast checker → · Palette generator →

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