#166717#166717

#166717 is a dark, vivid green. Relative luminance 0.099; OKLCH L 45.0% C 0.136 H 143.0°. Best body text is #FFFFFF at 7.03:1 contrast (WCAG AA passes).

Color values

HEX#166717
RGBrgb(22, 103, 23)
HSLhsl(121, 65%, 25%)
HSVhsv(121, 79%, 40%)
CMYKcmyk(78.6%, 0%, 77.7%, 59.6%)
CIE-LABlab(37.72, -40.11, 36.19)
CIE-LCHlch(37.72, 54.02, 137.94°)
OKLaboklab(45% -0.1088 0.0819)
OKLCHoklch(45% 0.136 143)
XYZxyz(5.3354, 9.9323, 2.4464)
Luminance0.0993 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166717 #671666
analogous
#3E6716 #166717 #166740
triadic
#166717 #171667 #671716
tetradic
#166717 #163E67 #671666 #674016
square
#166717 #163E67 #671666 #674016
split-complementary
#166717 #401667 #67163E
monochromatic
#051906 #0B350C #166717 #219922 #2CCC2E

Accessibility & contrast

On white

7.03
#166717 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#166717 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166717
7.03:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166717#FFFFFF#000000##FFFFFF
##1667171.007.032.997.03
#FFFFFF7.031.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.031.0021.001.00

Color blindness preview

Protanopia (red-blind)
#695D08
Deuteranopia (green-blind)
#60561F
Tritanopia (blue-blind)
#006457
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166717;
/* rgb */ color: rgb(22, 103, 23);
/* oklch */ color: oklch(45.0% 0.136 143.0);
Tailwind
colors: {
  custom: {
    50: '#63935a',
    500: '#166717',
    950: '#000000',
  },
}
SCSS
$custom: #166717;
$custom-light: #63935a;
$custom-dark: #000000;
JSON
{
  "hex": "#166717",
  "rgb": {
    "r": 22,
    "g": 103,
    "b": 23
  },
  "hsl": {
    "h": 120.741,
    "s": 64.8,
    "l": 24.51
  },
  "oklch": {
    "l": 0.44995,
    "c": 0.13621,
    "h": 143
  },
  "luminance": 0.09933
}

Semantic roles & 50–950 ramp

primary
#166717
secondary
#9E3B9C
accent
#40E6E8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166717

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

Preview Lab → · Contrast checker → · Palette generator →

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