#31B64E#31B64E

#31B64E is a light, vivid green. Relative luminance 0.347; OKLCH L 68.3% C 0.184 H 146.8°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B64E
RGBrgb(49, 182, 78)
HSLhsl(133, 58%, 45%)
HSVhsv(133, 73%, 71%)
CMYKcmyk(73.1%, 0%, 57.1%, 28.6%)
CIE-LABlab(65.48, -56.98, 42.32)
CIE-LCHlch(65.48, 70.97, 143.40°)
OKLaboklab(68.34% -0.1535 0.1006)
OKLCHoklch(68.34% 0.184 146.8)
XYZxyz(19.3683, 34.6567, 12.8749)
Luminance0.3466 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B64E #B63199
analogous
#56B631 #31B64E #31B691
triadic
#31B64E #4E31B6 #B64E31
tetradic
#31B64E #3156B6 #B63199 #B69131
square
#31B64E #3156B6 #B63199 #B69131
split-complementary
#31B64E #9131B6 #B63156
monochromatic
#175625 #248639 #31B64E #53D16F #84DE97

Accessibility & contrast

On white

2.65
#31B64E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#31B64E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B64E
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B64E#FFFFFF#000000##000000
##31B64E1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A644
Deuteranopia (green-blind)
#A99B56
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b64e;
/* rgb */ color: rgb(49, 182, 78);
/* oklch */ color: oklch(68.3% 0.184 146.8);
Tailwind
colors: {
  custom: {
    50: '#7dcd82',
    500: '#31b64e',
    950: '#000000',
  },
}
SCSS
$custom: #31b64e;
$custom-light: #7dcd82;
$custom-dark: #000000;
JSON
{
  "hex": "#31b64e",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 78
  },
  "hsl": {
    "h": 133.083,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68343,
    "c": 0.18354,
    "h": 146.8
  },
  "luminance": 0.34659
}

Semantic roles & 50–950 ramp

primary
#31B64E
secondary
#C77CB7
accent
#47BFE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B64E

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

Preview Lab → · Contrast checker → · Palette generator →

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