#31B82E#31B82E

#31B82E is a light, highly saturated green. Relative luminance 0.351; OKLCH L 68.6% C 0.208 H 142.6°. Best body text is #000000 at 8.03:1 contrast (WCAG AA passes).

Color values

HEX#31B82E
RGBrgb(49, 184, 46)
HSLhsl(119, 60%, 45%)
HSVhsv(119, 75%, 72%)
CMYKcmyk(73.4%, 0%, 75%, 27.8%)
CIE-LABlab(65.85, -60.96, 56.08)
CIE-LCHlch(65.85, 82.84, 137.39°)
OKLaboklab(68.56% -0.1656 0.1264)
OKLCHoklch(68.56% 0.208 142.6)
XYZxyz(18.8991, 35.1291, 8.3688)
Luminance0.3513 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B82E #B52EB8
analogous
#76B82E #31B82E #2EB870
triadic
#31B82E #2E31B8 #B82E31
tetradic
#31B82E #2E76B8 #B52EB8 #B8702E
square
#31B82E #2E76B8 #B52EB8 #B8702E
split-complementary
#31B82E #702EB8 #B82E76
monochromatic
#175616 #248722 #31B82E #53D350 #83DF81

Accessibility & contrast

On white

2.62
#31B82E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.03
#31B82E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B82E
8.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B82E#FFFFFF#000000##000000
##31B82E1.002.628.038.03
#FFFFFF2.621.0021.0021.00
#0000008.0321.001.001.00
##0000008.0321.001.001.00

Color blindness preview

Protanopia (red-blind)
#BCA611
Deuteranopia (green-blind)
#AD9C3D
Tritanopia (blue-blind)
#00B29E
Achromatopsia (no color)
#A0A0A0

Design tokens & code

CSS
--color: #31b82e;
/* rgb */ color: rgb(49, 184, 46);
/* oklch */ color: oklch(68.6% 0.208 142.6);
Tailwind
colors: {
  custom: {
    50: '#7fcf70',
    500: '#31b82e',
    950: '#000000',
  },
}
SCSS
$custom: #31b82e;
$custom-light: #7fcf70;
$custom-dark: #000000;
JSON
{
  "hex": "#31b82e",
  "rgb": {
    "r": 49,
    "g": 184,
    "b": 46
  },
  "hsl": {
    "h": 118.696,
    "s": 60,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6856,
    "c": 0.20838,
    "h": 142.6
  },
  "luminance": 0.35131
}

Semantic roles & 50–950 ramp

primary
#31B82E
secondary
#C779C8
accent
#45E3E0
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31B82E

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

Preview Lab → · Contrast checker → · Palette generator →

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