#31B85A#31B85A

#31B85A is a light, vivid green. Relative luminance 0.357; OKLCH L 69.0% C 0.176 H 149.0°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#31B85A
RGBrgb(49, 184, 90)
HSLhsl(138, 58%, 46%)
HSVhsv(138, 73%, 72%)
CMYKcmyk(73.4%, 0%, 51.1%, 27.8%)
CIE-LABlab(66.27, -55.96, 37.44)
CIE-LCHlch(66.27, 67.33, 146.22°)
OKLaboklab(69.04% -0.1505 0.0906)
OKLCHoklch(69.04% 0.176 149)
XYZxyz(20.2510, 35.6698, 15.4886)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B85A #B8318F
analogous
#4BB831 #31B85A #31B89D
triadic
#31B85A #5A31B8 #B85A31
tetradic
#31B85A #314BB8 #B8318F #B89D31
square
#31B85A #314BB8 #B8318F #B89D31
split-complementary
#31B85A #9D31B8 #B8314B
monochromatic
#17572B #248842 #31B85A #55D27B #85DEA0

Accessibility & contrast

On white

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

On black

8.13
#31B85A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B85A
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B85A#FFFFFF#000000##000000
##31B85A1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BAA852
Deuteranopia (green-blind)
#AA9D61
Tritanopia (blue-blind)
#00B4A2
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b85a;
/* rgb */ color: rgb(49, 184, 90);
/* oklch */ color: oklch(69.0% 0.176 149.0);
Tailwind
colors: {
  custom: {
    50: '#7dce8a',
    500: '#31b85a',
    950: '#000000',
  },
}
SCSS
$custom: #31b85a;
$custom-light: #7dce8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b85a",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 90
  },
  "hsl": {
    "h": 138.222,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69041,
    "c": 0.17569,
    "h": 149
  },
  "luminance": 0.35672
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B85A

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

Preview Lab → · Contrast checker → · Palette generator →

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