#31B56E#31B56E

#31B56E is a light, vivid green. Relative luminance 0.348; OKLCH L 68.6% C 0.153 H 154.7°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).

Color values

HEX#31B56E
RGBrgb(49, 181, 110)
HSLhsl(148, 57%, 45%)
HSVhsv(148, 73%, 71%)
CMYKcmyk(72.9%, 0%, 39.2%, 29%)
CIE-LABlab(65.61, -51.42, 26.30)
CIE-LCHlch(65.61, 57.75, 152.91°)
OKLaboklab(68.6% -0.1388 0.0656)
OKLCHoklch(68.6% 0.153 154.7)
XYZxyz(20.6031, 34.8241, 20.3847)
Luminance0.3483 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B56E #B53178
analogous
#36B531 #31B56E #31B5B0
triadic
#31B56E #6E31B5 #B56E31
tetradic
#31B56E #3136B5 #B53178 #B5B031
square
#31B56E #3136B5 #B53178 #B5B031
split-complementary
#31B56E #B031B5 #B53136
monochromatic
#175533 #248551 #31B56E #53D08D #83DDAD

Accessibility & contrast

On white

2.64
#31B56E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.97
#31B56E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B56E
7.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B56E#FFFFFF#000000##000000
##31B56E1.002.647.977.97
#FFFFFF2.641.0021.0021.00
#0000007.9721.001.001.00
##0000007.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A669
Deuteranopia (green-blind)
#A49B73
Tritanopia (blue-blind)
#00B3A3
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b56e;
/* rgb */ color: rgb(49, 181, 110);
/* oklch */ color: oklch(68.6% 0.153 154.7);
Tailwind
colors: {
  custom: {
    50: '#7ccc98',
    500: '#31b56e',
    950: '#000000',
  },
}
SCSS
$custom: #31b56e;
$custom-light: #7ccc98;
$custom-dark: #000000;
JSON
{
  "hex": "#31b56e",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 110
  },
  "hsl": {
    "h": 147.727,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68598,
    "c": 0.15348,
    "h": 154.7
  },
  "luminance": 0.34827
}

Semantic roles & 50–950 ramp

primary
#31B56E
secondary
#C77BA4
accent
#479AE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B56E

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

Preview Lab → · Contrast checker → · Palette generator →

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