#316716#316716

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

Color values

HEX#316716
RGBrgb(49, 103, 22)
HSLhsl(100, 65%, 25%)
HSVhsv(100, 79%, 40%)
CMYKcmyk(52.4%, 0%, 78.6%, 59.6%)
CIE-LABlab(38.57, -33.28, 37.71)
CIE-LCHlch(38.57, 50.30, 131.43°)
OKLaboklab(45.94% -0.0922 0.0847)
OKLCHoklch(45.94% 0.125 137.4)
XYZxyz(6.2615, 10.4109, 2.4385)
Luminance0.1041 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316716 #4C1667
analogous
#5A6716 #316716 #166724
triadic
#316716 #163167 #671631
tetradic
#316716 #165A67 #4C1667 #672416
square
#316716 #165A67 #4C1667 #672416
split-complementary
#316716 #241667 #67165A
monochromatic
#0C1905 #19350B #316716 #499921 #61CC2C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##316716#FFFFFF#000000##FFFFFF
##3167161.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)
#6B5E06
Deuteranopia (green-blind)
#64591E
Tritanopia (blue-blind)
#2D6357
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #316716;
/* rgb */ color: rgb(49, 103, 22);
/* oklch */ color: oklch(45.9% 0.125 137.4);
Tailwind
colors: {
  custom: {
    50: '#6f935a',
    500: '#316716',
    950: '#000000',
  },
}
SCSS
$custom: #316716;
$custom-light: #6f935a;
$custom-dark: #000000;
JSON
{
  "hex": "#316716",
  "rgb": {
    "r": 49,
    "g": 103,
    "b": 22
  },
  "hsl": {
    "h": 100,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45936,
    "c": 0.12519,
    "h": 137.4
  },
  "luminance": 0.10411
}

Semantic roles & 50–950 ramp

primary
#316716
secondary
#7D3B9E
accent
#40E8B0
background
#F7F9F5
surface
#EDF1E9
border
#C8CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316716

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

Preview Lab → · Contrast checker → · Palette generator →

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