#166517#166517

#166517 is a dark, vivid green. Relative luminance 0.095; OKLCH L 44.4% C 0.134 H 143.0°. Best body text is #FFFFFF at 7.22:1 contrast (WCAG AA passes).

Color values

HEX#166517
RGBrgb(22, 101, 23)
HSLhsl(121, 64%, 24%)
HSVhsv(121, 78%, 40%)
CMYKcmyk(78.2%, 0%, 77.2%, 60.4%)
CIE-LABlab(37.00, -39.39, 35.46)
CIE-LCHlch(37.00, 53.00, 138.01°)
OKLaboklab(44.4% -0.1069 0.0804)
OKLCHoklch(44.4% 0.134 143)
XYZxyz(5.1389, 9.5392, 2.3809)
Luminance0.0954 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166517 #651664
analogous
#3D6516 #166517 #16653F
triadic
#166517 #171665 #651716
tetradic
#166517 #163D65 #651664 #653F16
square
#166517 #163D65 #651664 #653F16
split-complementary
#166517 #3F1665 #65163D
monochromatic
#051906 #0B330C #166517 #219722 #2CCA2E

Accessibility & contrast

On white

7.22
#166517 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.91
#166517 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166517
7.22:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166517#FFFFFF#000000##FFFFFF
##1665171.007.222.917.22
#FFFFFF7.221.0021.001.00
#0000002.9121.001.0021.00
##FFFFFF7.221.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B09
Deuteranopia (green-blind)
#5E551F
Tritanopia (blue-blind)
#006256
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #166517;
/* rgb */ color: rgb(22, 101, 23);
/* oklch */ color: oklch(44.4% 0.134 143.0);
Tailwind
colors: {
  custom: {
    50: '#62925a',
    500: '#166517',
    950: '#000000',
  },
}
SCSS
$custom: #166517;
$custom-light: #62925a;
$custom-dark: #000000;
JSON
{
  "hex": "#166517",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 23
  },
  "hsl": {
    "h": 120.759,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44398,
    "c": 0.13374,
    "h": 143
  },
  "luminance": 0.0954
}

Semantic roles & 50–950 ramp

primary
#166517
secondary
#9C3B9A
accent
#41E5E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166517

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

Preview Lab → · Contrast checker → · Palette generator →

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