#317716#317716

#317716 is a mid, vivid green. Relative luminance 0.139; OKLCH L 50.5% C 0.146 H 138.9°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).

Color values

HEX#317716
RGBrgb(49, 119, 22)
HSLhsl(103, 69%, 28%)
HSVhsv(103, 82%, 47%)
CMYKcmyk(58.8%, 0%, 81.5%, 53.3%)
CIE-LABlab(44.09, -39.83, 43.07)
CIE-LCHlch(44.09, 58.66, 132.77°)
OKLaboklab(50.49% -0.1098 0.0959)
OKLCHoklch(50.49% 0.146 138.9)
XYZxyz(8.0079, 13.9039, 3.0206)
Luminance0.1391 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#317716 #5C1677
analogous
#617716 #317716 #16772C
triadic
#317716 #163177 #771631
tetradic
#317716 #166177 #5C1677 #772C16
square
#317716 #166177 #5C1677 #772C16
split-complementary
#317716 #2C1677 #771661
monochromatic
#0B1A05 #1C430C #317716 #46AB20 #5ED92F

Accessibility & contrast

On white

5.55
#317716 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.78
#317716 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #317716
5.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##317716#FFFFFF#000000##FFFFFF
##3177161.005.553.785.55
#FFFFFF5.551.0021.001.00
#0000003.7821.001.0021.00
##FFFFFF5.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#7B6C00
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#2A7365
Achromatopsia (no color)
#686868

Design tokens & code

CSS
--color: #317716;
/* rgb */ color: rgb(49, 119, 22);
/* oklch */ color: oklch(50.5% 0.146 138.9);
Tailwind
colors: {
  custom: {
    50: '#729f5c',
    500: '#317716',
    950: '#000000',
  },
}
SCSS
$custom: #317716;
$custom-light: #729f5c;
$custom-dark: #000000;
JSON
{
  "hex": "#317716",
  "rgb": {
    "r": 49,
    "g": 119,
    "b": 22
  },
  "hsl": {
    "h": 103.299,
    "s": 68.794,
    "l": 27.647
  },
  "oklch": {
    "l": 0.5049,
    "c": 0.1458,
    "h": 138.9
  },
  "luminance": 0.13905
}

Semantic roles & 50–950 ramp

primary
#317716
secondary
#8D3CAC
accent
#3CECBB
background
#F7F9F5
surface
#EDF2E9
border
#C8CCC5
text
#090E04
muted
#7B7E79

Preview Lab

Preview with #317716

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

Preview Lab → · Contrast checker → · Palette generator →

#317716 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva