#31711E#31711E

#31711E is a mid, vivid green. Relative luminance 0.126; OKLCH L 48.9% C 0.133 H 139.5°. Best body text is #FFFFFF at 5.98:1 contrast (WCAG AA passes).

Color values

HEX#31711E
RGBrgb(49, 113, 30)
HSLhsl(106, 58%, 28%)
HSVhsv(106, 73%, 44%)
CMYKcmyk(56.6%, 0%, 73.5%, 55.7%)
CIE-LABlab(42.09, -36.82, 38.04)
CIE-LCHlch(42.09, 52.94, 134.07°)
OKLaboklab(48.85% -0.1012 0.0866)
OKLCHoklch(48.85% 0.133 139.5)
XYZxyz(7.4058, 12.5564, 3.2614)
Luminance0.1256 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31711E #5E1E71
analogous
#5A711E #31711E #1E7134
triadic
#31711E #1E3171 #711E31
tetradic
#31711E #1E5A71 #5E1E71 #71341E
square
#31711E #1E5A71 #5E1E71 #71341E
split-complementary
#31711E #341E71 #711E5A
monochromatic
#0A1806 #1C4111 #31711E #46A12B #5ECC3E

Accessibility & contrast

On white

5.98
#31711E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.51
#31711E on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #31711E
5.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31711E#FFFFFF#000000##FFFFFF
##31711E1.005.983.515.98
#FFFFFF5.981.0021.001.00
#0000003.5121.001.0021.00
##FFFFFF5.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#746711
Deuteranopia (green-blind)
#6C6126
Tritanopia (blue-blind)
#2A6D61
Achromatopsia (no color)
#636363

Design tokens & code

CSS
--color: #31711e;
/* rgb */ color: rgb(49, 113, 30);
/* oklch */ color: oklch(48.9% 0.133 139.5);
Tailwind
colors: {
  custom: {
    50: '#709a5f',
    500: '#31711e',
    950: '#000000',
  },
}
SCSS
$custom: #31711e;
$custom-light: #709a5f;
$custom-dark: #000000;
JSON
{
  "hex": "#31711e",
  "rgb": {
    "r": 49,
    "g": 113,
    "b": 30
  },
  "hsl": {
    "h": 106.265,
    "s": 58.042,
    "l": 28.039
  },
  "oklch": {
    "l": 0.48851,
    "c": 0.13318,
    "h": 139.5
  },
  "luminance": 0.12557
}

Semantic roles & 50–950 ramp

primary
#31711E
secondary
#8F46A5
accent
#47E1BE
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#080E05
muted
#7B7E79

Preview Lab

Preview with #31711E

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

Preview Lab → · Contrast checker → · Palette generator →

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