#316617#316617

#316617 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.7% C 0.123 H 137.5°. Best body text is #FFFFFF at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#316617
RGBrgb(49, 102, 23)
HSLhsl(100, 63%, 25%)
HSVhsv(100, 77%, 40%)
CMYKcmyk(52%, 0%, 77.5%, 60%)
CIE-LABlab(38.23, -32.77, 36.98)
CIE-LCHlch(38.23, 49.41, 131.55°)
OKLaboklab(45.66% -0.0908 0.0833)
OKLCHoklch(45.66% 0.123 137.5)
XYZxyz(6.1725, 10.2171, 2.4573)
Luminance0.1022 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#316617 #4C1766
analogous
#596617 #316617 #176625
triadic
#316617 #173166 #661731
tetradic
#316617 #175966 #4C1766 #662517
square
#316617 #175966 #4C1766 #662517
split-complementary
#316617 #251766 #661759
monochromatic
#0C1906 #19340C #316617 #499822 #61CA2E

Accessibility & contrast

On white

6.90
#316617 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#316617 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #316617
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##316617#FFFFFF#000000##FFFFFF
##3166171.006.903.046.90
#FFFFFF6.901.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.901.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5D08
Deuteranopia (green-blind)
#63581F
Tritanopia (blue-blind)
#2E6257
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #316617;
/* rgb */ color: rgb(49, 102, 23);
/* oklch */ color: oklch(45.7% 0.123 137.5);
Tailwind
colors: {
  custom: {
    50: '#6f925a',
    500: '#316617',
    950: '#000000',
  },
}
SCSS
$custom: #316617;
$custom-light: #6f925a;
$custom-dark: #000000;
JSON
{
  "hex": "#316617",
  "rgb": {
    "r": 49,
    "g": 102,
    "b": 23
  },
  "hsl": {
    "h": 100.253,
    "s": 63.2,
    "l": 24.51
  },
  "oklch": {
    "l": 0.45658,
    "c": 0.12321,
    "h": 137.5
  },
  "luminance": 0.10218
}

Semantic roles & 50–950 ramp

primary
#316617
secondary
#7D3C9C
accent
#42E6B0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#080D04
muted
#7B7E79

Preview Lab

Preview with #316617

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

Preview Lab → · Contrast checker → · Palette generator →

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