#31B85E#31B85E

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

Color values

HEX#31B85E
RGBrgb(49, 184, 94)
HSLhsl(140, 58%, 46%)
HSVhsv(140, 73%, 72%)
CMYKcmyk(73.4%, 0%, 48.9%, 27.8%)
CIE-LABlab(66.32, -55.34, 35.50)
CIE-LCHlch(66.32, 65.75, 147.32°)
OKLaboklab(69.1% -0.1488 0.0864)
OKLCHoklch(69.1% 0.172 149.9)
XYZxyz(20.4258, 35.7398, 16.4095)
Luminance0.3574 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B85E #B8318B
analogous
#47B831 #31B85E #31B8A1
triadic
#31B85E #5E31B8 #B85E31
tetradic
#31B85E #3147B8 #B8318B #B8A131
square
#31B85E #3147B8 #B8318B #B8A131
split-complementary
#31B85E #A131B8 #B83147
monochromatic
#17572D #248845 #31B85E #55D27E #85DEA3

Accessibility & contrast

On white

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

On black

8.15
#31B85E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B85E
8.15:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B85E#FFFFFF#000000##000000
##31B85E1.002.588.158.15
#FFFFFF2.581.0021.0021.00
#0000008.1521.001.001.00
##0000008.1521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b85e;
/* rgb */ color: rgb(49, 184, 94);
/* oklch */ color: oklch(69.1% 0.172 149.9);
Tailwind
colors: {
  custom: {
    50: '#7dce8d',
    500: '#31b85e',
    950: '#000000',
  },
}
SCSS
$custom: #31b85e;
$custom-light: #7dce8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31b85e",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 94
  },
  "hsl": {
    "h": 140,
    "s": 57.94,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69103,
    "c": 0.17211,
    "h": 149.9
  },
  "luminance": 0.35742
}

Semantic roles & 50–950 ramp

primary
#31B85E
secondary
#C87DAF
accent
#47AEE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B140C
muted
#7C827D

Preview Lab

Preview with #31B85E

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

Preview Lab → · Contrast checker → · Palette generator →

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