#31B416#31B416

#31B416 is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.214 H 141.1°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B416
RGBrgb(49, 180, 22)
HSLhsl(110, 78%, 40%)
HSVhsv(110, 88%, 71%)
CMYKcmyk(72.8%, 0%, 87.8%, 29.4%)
CIE-LABlab(64.44, -61.05, 61.50)
CIE-LCHlch(64.44, 86.65, 134.79°)
OKLaboklab(67.36% -0.1668 0.1346)
OKLCHoklch(67.36% 0.214 141.1)
XYZxyz(17.7317, 33.3514, 6.2619)
Luminance0.3335 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B416 #9916B4
analogous
#80B416 #31B416 #16B44A
triadic
#31B416 #1631B4 #B41631
tetradic
#31B416 #1680B4 #9916B4 #B44A16
square
#31B416 #1680B4 #9916B4 #B44A16
split-complementary
#31B416 #4A16B4 #B41680
monochromatic
#134709 #227D0F #31B416 #44E423 #72EB5A

Accessibility & contrast

On white

2.74
#31B416 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31B416 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B416
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B416#FFFFFF#000000##000000
##31B4161.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A200
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#07AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b416;
/* rgb */ color: rgb(49, 180, 22);
/* oklch */ color: oklch(67.4% 0.214 141.1);
Tailwind
colors: {
  custom: {
    50: '#7fcc66',
    500: '#31b416',
    950: '#000000',
  },
}
SCSS
$custom: #31b416;
$custom-light: #7fcc66;
$custom-dark: #000000;
JSON
{
  "hex": "#31b416",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 22
  },
  "hsl": {
    "h": 109.747,
    "s": 78.218,
    "l": 39.608
  },
  "oklch": {
    "l": 0.67358,
    "c": 0.21437,
    "h": 141.1
  },
  "luminance": 0.33353
}

Semantic roles & 50–950 ramp

primary
#31B416
secondary
#BA58CE
accent
#33F5D4
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B416

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

Preview Lab → · Contrast checker → · Palette generator →

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