#31A115#31A115

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

Color values

HEX#31A115
RGBrgb(49, 161, 21)
HSLhsl(108, 77%, 36%)
HSVhsv(108, 87%, 63%)
CMYKcmyk(69.6%, 0%, 87%, 36.9%)
CIE-LABlab(58.22, -54.95, 56.25)
CIE-LCHlch(58.22, 78.64, 134.33°)
OKLaboklab(62.19% -0.1505 0.1234)
OKLCHoklch(62.19% 0.195 140.7)
XYZxyz(14.1461, 26.1954, 5.0200)
Luminance0.2620 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A115 #8515A1
analogous
#77A115 #31A115 #15A13F
triadic
#31A115 #1531A1 #A11531
tetradic
#31A115 #1577A1 #8515A1 #A13F15
square
#31A115 #1577A1 #8515A1 #A13F15
split-complementary
#31A115 #3F15A1 #A11577
monochromatic
#103507 #216B0E #31A115 #41D71C #69E749

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A115#FFFFFF#000000##000000
##31A1151.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)
#998929
Tritanopia (blue-blind)
#199C89
Achromatopsia (no color)
#8C8C8C

Design tokens & code

CSS
--color: #31a115;
/* rgb */ color: rgb(49, 161, 21);
/* oklch */ color: oklch(62.2% 0.195 140.7);
Tailwind
colors: {
  custom: {
    50: '#7bbe62',
    500: '#31a115',
    950: '#000000',
  },
}
SCSS
$custom: #31a115;
$custom-light: #7bbe62;
$custom-dark: #000000;
JSON
{
  "hex": "#31a115",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 21
  },
  "hsl": {
    "h": 108,
    "s": 76.923,
    "l": 35.686
  },
  "oklch": {
    "l": 0.62188,
    "c": 0.19461,
    "h": 140.7
  },
  "luminance": 0.26197
}

Semantic roles & 50–950 ramp

primary
#31A115
secondary
#AF49C8
accent
#34F3CD
background
#F8FBF6
surface
#EFF7EB
border
#CAD0C6
text
#0B1206
muted
#7C817A

Preview Lab

Preview with #31A115

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

Preview Lab → · Contrast checker → · Palette generator →

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