#31B85C#31B85C

#31B85C is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.174 H 149.4°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).

Color values

HEX#31B85C
RGBrgb(49, 184, 92)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 73%, 72%)
CMYKcmyk(73.4%, 0%, 50%, 27.8%)
CIE-LABlab(66.29, -55.66, 36.47)
CIE-LCHlch(66.29, 66.54, 146.76°)
OKLaboklab(69.07% -0.1497 0.0885)
OKLCHoklch(69.07% 0.174 149.4)
XYZxyz(20.3372, 35.7043, 15.9429)
Luminance0.3571 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B85C #B8318D
analogous
#49B831 #31B85C #31B89F
triadic
#31B85C #5C31B8 #B85C31
tetradic
#31B85C #3149B8 #B8318D #B89F31
square
#31B85C #3149B8 #B8318D #B89F31
split-complementary
#31B85C #9F31B8 #B83149
monochromatic
#17572C #248844 #31B85C #55D27C #85DEA1

Accessibility & contrast

On white

2.58
#31B85C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.14
#31B85C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B85C
8.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B85C#FFFFFF#000000##000000
##31B85C1.002.588.148.14
#FFFFFF2.581.0021.0021.00
#0000008.1421.001.001.00
##0000008.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A854
Deuteranopia (green-blind)
#AA9D63
Tritanopia (blue-blind)
#00B5A3
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b85c;
/* rgb */ color: rgb(49, 184, 92);
/* oklch */ color: oklch(69.1% 0.174 149.4);
Tailwind
colors: {
  custom: {
    50: '#7dce8c',
    500: '#31b85c',
    950: '#000000',
  },
}
SCSS
$custom: #31b85c;
$custom-light: #7dce8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b85c",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 92
  },
  "hsl": {
    "h": 139.111,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69072,
    "c": 0.17391,
    "h": 149.4
  },
  "luminance": 0.35707
}

Semantic roles & 50–950 ramp

primary
#31B85C
secondary
#C87DB0
accent
#47B0E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B85C

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

Preview Lab → · Contrast checker → · Palette generator →

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