#166317#166317

#166317 is a dark, vivid green. Relative luminance 0.092; OKLCH L 43.8% C 0.131 H 143.1°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).

Color values

HEX#166317
RGBrgb(22, 99, 23)
HSLhsl(121, 64%, 24%)
HSVhsv(121, 78%, 39%)
CMYKcmyk(77.8%, 0%, 76.8%, 61.2%)
CIE-LABlab(36.28, -38.67, 34.72)
CIE-LCHlch(36.28, 51.97, 138.08°)
OKLaboklab(43.8% -0.1049 0.0789)
OKLCHoklch(43.8% 0.131 143.1)
XYZxyz(4.9471, 9.1556, 2.3169)
Luminance0.0916 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166317 #631662
analogous
#3B6316 #166317 #16633D
triadic
#166317 #171663 #631716
tetradic
#166317 #163B63 #631662 #633D16
square
#166317 #163B63 #631662 #633D16
split-complementary
#166317 #3D1663 #63163B
monochromatic
#061906 #0B310B #166317 #219523 #2CC72E

Accessibility & contrast

On white

7.42
#166317 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.83
#166317 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166317
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166317#FFFFFF#000000##FFFFFF
##1663171.007.422.837.42
#FFFFFF7.421.0021.001.00
#0000002.8321.001.0021.00
##FFFFFF7.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#65590A
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#006054
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166317;
/* rgb */ color: rgb(22, 99, 23);
/* oklch */ color: oklch(43.8% 0.131 143.1);
Tailwind
colors: {
  custom: {
    50: '#629059',
    500: '#166317',
    950: '#000000',
  },
}
SCSS
$custom: #166317;
$custom-light: #629059;
$custom-dark: #000000;
JSON
{
  "hex": "#166317",
  "rgb": {
    "r": 22,
    "g": 99,
    "b": 23
  },
  "hsl": {
    "h": 120.779,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.438,
    "c": 0.13125,
    "h": 143.1
  },
  "luminance": 0.09156
}

Semantic roles & 50–950 ramp

primary
#166317
secondary
#9A3B99
accent
#41E5E7
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060D04
muted
#7A7D79

Preview Lab

Preview with #166317

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

Preview Lab → · Contrast checker → · Palette generator →

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