#166417#166417

#166417 is a dark, vivid green. Relative luminance 0.093; OKLCH L 44.1% C 0.133 H 143.1°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#166417
RGBrgb(22, 100, 23)
HSLhsl(121, 64%, 24%)
HSVhsv(121, 78%, 39%)
CMYKcmyk(78%, 0%, 77%, 60.8%)
CIE-LABlab(36.64, -39.03, 35.09)
CIE-LCHlch(36.64, 52.49, 138.05°)
OKLaboklab(44.1% -0.1059 0.0796)
OKLCHoklch(44.1% 0.133 143.1)
XYZxyz(5.0424, 9.3462, 2.3487)
Luminance0.0935 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166417 #641663
analogous
#3C6416 #166417 #16643E
triadic
#166417 #171664 #641716
tetradic
#166417 #163C64 #641663 #643E16
square
#166417 #163C64 #641663 #643E16
split-complementary
#166417 #3E1664 #64163C
monochromatic
#061906 #0B320B #166417 #219623 #2CC82E

Accessibility & contrast

On white

7.32
#166417 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#166417 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166417
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166417#FFFFFF#000000##FFFFFF
##1664171.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665A09
Deuteranopia (green-blind)
#5D541F
Tritanopia (blue-blind)
#006155
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166417;
/* rgb */ color: rgb(22, 100, 23);
/* oklch */ color: oklch(44.1% 0.133 143.1);
Tailwind
colors: {
  custom: {
    50: '#629159',
    500: '#166417',
    950: '#000000',
  },
}
SCSS
$custom: #166417;
$custom-light: #629159;
$custom-dark: #000000;
JSON
{
  "hex": "#166417",
  "rgb": {
    "r": 22,
    "g": 100,
    "b": 23
  },
  "hsl": {
    "h": 120.769,
    "s": 63.934,
    "l": 23.922
  },
  "oklch": {
    "l": 0.44099,
    "c": 0.13251,
    "h": 143.1
  },
  "luminance": 0.09347
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166417

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

Preview Lab → · Contrast checker → · Palette generator →

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