#316917#316917

#316917 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.5% C 0.127 H 137.8°. Best body text is #FFFFFF at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#316917
RGBrgb(49, 105, 23)
HSLhsl(101, 64%, 25%)
HSVhsv(101, 78%, 41%)
CMYKcmyk(53.3%, 0%, 78.1%, 58.8%)
CIE-LABlab(39.27, -34.06, 38.02)
CIE-LCHlch(39.27, 51.04, 131.85°)
OKLaboklab(46.52% -0.0942 0.0855)
OKLCHoklch(46.52% 0.127 137.8)
XYZxyz(6.4726, 10.8175, 2.5574)
Luminance0.1082 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316917 #4F1769
analogous
#5A6917 #316917 #176926
triadic
#316917 #173169 #691731
tetradic
#316917 #175A69 #4F1769 #692617
square
#316917 #175A69 #4F1769 #692617
split-complementary
#316917 #261769 #69175A
monochromatic
#0C1905 #1A370C #316917 #489B22 #60CD2D

Accessibility & contrast

On white

6.64
#316917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#316917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316917
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316917#FFFFFF#000000##FFFFFF
##3169171.006.643.166.64
#FFFFFF6.641.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.641.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D5F07
Deuteranopia (green-blind)
#655B1F
Tritanopia (blue-blind)
#2D6559
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316917;
/* rgb */ color: rgb(49, 105, 23);
/* oklch */ color: oklch(46.5% 0.127 137.8);
Tailwind
colors: {
  custom: {
    50: '#6f945a',
    500: '#316917',
    950: '#000000',
  },
}
SCSS
$custom: #316917;
$custom-light: #6f945a;
$custom-dark: #000000;
JSON
{
  "hex": "#316917",
  "rgb": {
    "r": 49,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 100.976,
    "s": 64.063,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46515,
    "c": 0.12723,
    "h": 137.8
  },
  "luminance": 0.10818
}

Semantic roles & 50–950 ramp

primary
#316917
secondary
#803D9F
accent
#41E7B2
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316917

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

Preview Lab → · Contrast checker → · Palette generator →

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