#316816#316816

#316816 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.2% C 0.127 H 137.5°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#316816
RGBrgb(49, 104, 22)
HSLhsl(100, 65%, 25%)
HSVhsv(100, 79%, 41%)
CMYKcmyk(52.9%, 0%, 78.8%, 59.2%)
CIE-LABlab(38.92, -33.71, 38.06)
CIE-LCHlch(38.92, 50.84, 131.53°)
OKLaboklab(46.22% -0.0934 0.0854)
OKLCHoklch(46.22% 0.127 137.5)
XYZxyz(6.3615, 10.6111, 2.4718)
Luminance0.1061 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316816 #4D1668
analogous
#5A6816 #316816 #166824
triadic
#316816 #163168 #681631
tetradic
#316816 #165A68 #4D1668 #682416
square
#316816 #165A68 #4D1668 #682416
split-complementary
#316816 #241668 #68165A
monochromatic
#0C1905 #19350B #316816 #499B21 #61CD2B

Accessibility & contrast

On white

6.73
#316816 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#316816 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316816
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316816#FFFFFF#000000##FFFFFF
##3168161.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5E05
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#2D6458
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #316816;
/* rgb */ color: rgb(49, 104, 22);
/* oklch */ color: oklch(46.2% 0.127 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f945a',
    500: '#316816',
    950: '#000000',
  },
}
SCSS
$custom: #316816;
$custom-light: #6f945a;
$custom-dark: #000000;
JSON
{
  "hex": "#316816",
  "rgb": {
    "r": 49,
    "g": 104,
    "b": 22
  },
  "hsl": {
    "h": 100.244,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.46222,
    "c": 0.12653,
    "h": 137.5
  },
  "luminance": 0.10612
}

Semantic roles & 50–950 ramp

primary
#316816
secondary
#7E3B9F
accent
#40E8B1
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316816

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

Preview Lab → · Contrast checker → · Palette generator →

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