#31A116#31A116

#31A116 is a light, vivid green. Relative luminance 0.262; OKLCH L 62.2% C 0.194 H 140.7°. Best body text is #000000 at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#31A116
RGBrgb(49, 161, 22)
HSLhsl(108, 76%, 36%)
HSVhsv(108, 86%, 63%)
CMYKcmyk(69.6%, 0%, 86.3%, 36.9%)
CIE-LABlab(58.23, -54.90, 56.02)
CIE-LCHlch(58.23, 78.44, 134.42°)
OKLaboklab(62.19% -0.1503 0.123)
OKLCHoklch(62.19% 0.194 140.7)
XYZxyz(14.1556, 26.1991, 5.0698)
Luminance0.2620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A116 #8616A1
analogous
#76A116 #31A116 #16A140
triadic
#31A116 #1631A1 #A11631
tetradic
#31A116 #1676A1 #8616A1 #A14016
square
#31A116 #1676A1 #8616A1 #A14016
split-complementary
#31A116 #4016A1 #A11676
monochromatic
#103507 #216B0F #31A116 #41D71D #69E64B

Accessibility & contrast

On white

3.37
#31A116 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.24
#31A116 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A116
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A116#FFFFFF#000000##000000
##31A1161.003.376.246.24
#FFFFFF3.371.0021.0021.00
#0000006.2421.001.001.00
##0000006.2421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59100
Deuteranopia (green-blind)
#98892A
Tritanopia (blue-blind)
#199C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a116;
/* rgb */ color: rgb(49, 161, 22);
/* oklch */ color: oklch(62.2% 0.194 140.7);
Tailwind
colors: {
  custom: {
    50: '#7bbe63',
    500: '#31a116',
    950: '#000000',
  },
}
SCSS
$custom: #31a116;
$custom-light: #7bbe63;
$custom-dark: #000000;
JSON
{
  "hex": "#31a116",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 22
  },
  "hsl": {
    "h": 108.345,
    "s": 75.956,
    "l": 35.882
  },
  "oklch": {
    "l": 0.62192,
    "c": 0.19427,
    "h": 140.7
  },
  "luminance": 0.26201
}

Semantic roles & 50–950 ramp

primary
#31A116
secondary
#B04BC8
accent
#35F3CE
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A116

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

Preview Lab → · Contrast checker → · Palette generator →

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