#31B54E#31B54E

#31B54E is a light, vivid green. Relative luminance 0.343; OKLCH L 68.1% C 0.182 H 146.8°. Best body text is #000000 at 7.85:1 contrast (WCAG AA passes).

Color values

HEX#31B54E
RGBrgb(49, 181, 78)
HSLhsl(133, 57%, 45%)
HSVhsv(133, 73%, 71%)
CMYKcmyk(72.9%, 0%, 56.9%, 29%)
CIE-LABlab(65.16, -56.63, 41.94)
CIE-LCHlch(65.16, 70.47, 143.48°)
OKLaboklab(68.08% -0.1526 0.0998)
OKLCHoklch(68.08% 0.182 146.8)
XYZxyz(19.1642, 34.2486, 12.8069)
Luminance0.3425 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B54E #B53198
analogous
#56B531 #31B54E #31B590
triadic
#31B54E #4E31B5 #B54E31
tetradic
#31B54E #3156B5 #B53198 #B59031
square
#31B54E #3156B5 #B53198 #B59031
split-complementary
#31B54E #9031B5 #B53156
monochromatic
#175524 #248539 #31B54E #53D06E #83DD97

Accessibility & contrast

On white

2.68
#31B54E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.85
#31B54E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B54E
7.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B54E#FFFFFF#000000##000000
##31B54E1.002.687.857.85
#FFFFFF2.681.0021.0021.00
#0000007.8521.001.001.00
##0000007.8521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A544
Deuteranopia (green-blind)
#A89A56
Tritanopia (blue-blind)
#00B19E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b54e;
/* rgb */ color: rgb(49, 181, 78);
/* oklch */ color: oklch(68.1% 0.182 146.8);
Tailwind
colors: {
  custom: {
    50: '#7ccc82',
    500: '#31b54e',
    950: '#000000',
  },
}
SCSS
$custom: #31b54e;
$custom-light: #7ccc82;
$custom-dark: #000000;
JSON
{
  "hex": "#31b54e",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 78
  },
  "hsl": {
    "h": 133.182,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.68077,
    "c": 0.18231,
    "h": 146.8
  },
  "luminance": 0.34251
}

Semantic roles & 50–950 ramp

primary
#31B54E
secondary
#C77BB6
accent
#47BFE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B54E

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

Preview Lab → · Contrast checker → · Palette generator →

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