#316717#316717

#316717 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.125 H 137.6°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).

Color values

HEX#316717
RGBrgb(49, 103, 23)
HSLhsl(101, 63%, 25%)
HSVhsv(101, 78%, 40%)
CMYKcmyk(52.4%, 0%, 77.7%, 59.6%)
CIE-LABlab(38.58, -33.20, 37.33)
CIE-LCHlch(38.58, 49.96, 131.65°)
OKLaboklab(45.94% -0.0919 0.084)
OKLCHoklch(45.94% 0.125 137.6)
XYZxyz(6.2713, 10.4149, 2.4903)
Luminance0.1042 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316717 #4D1767
analogous
#596717 #316717 #176725
triadic
#316717 #173167 #671731
tetradic
#316717 #175967 #4D1767 #672517
square
#316717 #175967 #4D1767 #672517
split-complementary
#316717 #251767 #671759
monochromatic
#0C1906 #19350C #316717 #499922 #61CB2D

Accessibility & contrast

On white

6.81
#316717 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.08
#316717 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316717
6.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316717#FFFFFF#000000##FFFFFF
##3167171.006.813.086.81
#FFFFFF6.811.0021.001.00
#0000003.0821.001.0021.00
##FFFFFF6.811.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E08
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#2D6358
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316717;
/* rgb */ color: rgb(49, 103, 23);
/* oklch */ color: oklch(45.9% 0.125 137.6);
Tailwind
colors: {
  custom: {
    50: '#6f935a',
    500: '#316717',
    950: '#000000',
  },
}
SCSS
$custom: #316717;
$custom-light: #6f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#316717",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 100.5,
    "s": 63.492,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45944,
    "c": 0.12456,
    "h": 137.6
  },
  "luminance": 0.10415
}

Semantic roles & 50–950 ramp

primary
#316717
secondary
#7E3D9D
accent
#41E7B1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316717

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

Preview Lab → · Contrast checker → · Palette generator →

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