#31971E#31971E

#31971E is a mid, vivid green. Relative luminance 0.229; OKLCH L 59.5% C 0.180 H 141.0°. Best body text is #000000 at 5.58:1 contrast (WCAG AA passes).

Color values

HEX#31971E
RGBrgb(49, 151, 30)
HSLhsl(111, 67%, 35%)
HSVhsv(111, 80%, 59%)
CMYKcmyk(67.5%, 0%, 80.1%, 40.8%)
CIE-LABlab(54.95, -51.08, 50.79)
CIE-LCHlch(54.95, 72.04, 135.17°)
OKLaboklab(59.48% -0.1397 0.1132)
OKLCHoklch(59.48% 0.18 141)
XYZxyz(12.5669, 22.8786, 4.9818)
Luminance0.2288 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31971E #841E97
analogous
#6D971E #31971E #1E9748
triadic
#31971E #1E3197 #971E31
tetradic
#31971E #1E6D97 #841E97 #97481E
square
#31971E #1E6D97 #841E97 #97481E
split-complementary
#31971E #481E97 #971E6D
monochromatic
#10310A #206414 #31971E #42CA28 #68DD53

Accessibility & contrast

On white

3.77
#31971E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.58
#31971E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31971E
5.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31971E#FFFFFF#000000##000000
##31971E1.003.775.585.58
#FFFFFF3.771.0021.0021.00
#0000005.5821.001.001.00
##0000005.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#9B8800
Deuteranopia (green-blind)
#8F802C
Tritanopia (blue-blind)
#1D9281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #31971e;
/* rgb */ color: rgb(49, 151, 30);
/* oklch */ color: oklch(59.5% 0.180 141.0);
Tailwind
colors: {
  custom: {
    50: '#78b764',
    500: '#31971e',
    950: '#000000',
  },
}
SCSS
$custom: #31971e;
$custom-light: #78b764;
$custom-dark: #000000;
JSON
{
  "hex": "#31971e",
  "rgb": {
    "r": 49,
    "g": 151,
    "b": 30
  },
  "hsl": {
    "h": 110.579,
    "s": 66.851,
    "l": 35.49
  },
  "oklch": {
    "l": 0.59484,
    "c": 0.1798,
    "h": 141
  },
  "luminance": 0.2288
}

Semantic roles & 50–950 ramp

primary
#31971E
secondary
#AE51C0
accent
#3EEACF
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1106
muted
#7C807A

Preview Lab

Preview with #31971E

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

Preview Lab → · Contrast checker → · Palette generator →

#31971E Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva