#31B85B#31B85B

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

Color values

HEX#31B85B
RGBrgb(49, 184, 91)
HSLhsl(139, 58%, 46%)
HSVhsv(139, 73%, 72%)
CMYKcmyk(73.4%, 0%, 50.5%, 27.8%)
CIE-LABlab(66.28, -55.81, 36.95)
CIE-LCHlch(66.28, 66.94, 146.49°)
OKLaboklab(69.06% -0.1501 0.0896)
OKLCHoklch(69.06% 0.175 149.2)
XYZxyz(20.2938, 35.6869, 15.7142)
Luminance0.3569 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B85B #B8318E
analogous
#4AB831 #31B85B #31B89E
triadic
#31B85B #5B31B8 #B85B31
tetradic
#31B85B #314AB8 #B8318E #B89E31
square
#31B85B #314AB8 #B8318E #B89E31
split-complementary
#31B85B #9E31B8 #B8314A
monochromatic
#17572B #248843 #31B85B #55D27B #85DEA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B85B#FFFFFF#000000##000000
##31B85B1.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)
#B9A853
Deuteranopia (green-blind)
#AA9D62
Tritanopia (blue-blind)
#00B4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b85b;
/* rgb */ color: rgb(49, 184, 91);
/* oklch */ color: oklch(69.1% 0.175 149.2);
Tailwind
colors: {
  custom: {
    50: '#7dce8b',
    500: '#31b85b',
    950: '#000000',
  },
}
SCSS
$custom: #31b85b;
$custom-light: #7dce8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b85b",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 91
  },
  "hsl": {
    "h": 138.667,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69056,
    "c": 0.1748,
    "h": 149.2
  },
  "luminance": 0.35689
}

Semantic roles & 50–950 ramp

primary
#31B85B
secondary
#C87DB1
accent
#47B1E1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B85B

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

Preview Lab → · Contrast checker → · Palette generator →

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