#166917#166917

#166917 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.139 H 143.0°. Best body text is #FFFFFF at 6.85:1 contrast (WCAG AA passes).

Color values

HEX#166917
RGBrgb(22, 105, 23)
HSLhsl(121, 65%, 25%)
HSVhsv(121, 79%, 41%)
CMYKcmyk(79%, 0%, 78.1%, 58.8%)
CIE-LABlab(38.44, -40.82, 36.91)
CIE-LCHlch(38.44, 55.03, 137.88°)
OKLaboklab(45.59% -0.1107 0.0834)
OKLCHoklch(45.59% 0.139 143)
XYZxyz(5.5368, 10.3349, 2.5135)
Luminance0.1034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166917 #691668
analogous
#3E6916 #166917 #166941
triadic
#166917 #171669 #691716
tetradic
#166917 #163E69 #691668 #694116
square
#166917 #163E69 #691668 #694116
split-complementary
#166917 #411669 #69163E
monochromatic
#051906 #0B360C #166917 #219C22 #2BCE2D

Accessibility & contrast

On white

6.85
#166917 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.07
#166917 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166917
6.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166917#FFFFFF#000000##FFFFFF
##1669171.006.853.076.85
#FFFFFF6.851.0021.001.00
#0000003.0721.001.0021.00
##FFFFFF6.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B5E07
Deuteranopia (green-blind)
#625820
Tritanopia (blue-blind)
#006659
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166917;
/* rgb */ color: rgb(22, 105, 23);
/* oklch */ color: oklch(45.6% 0.139 143.0);
Tailwind
colors: {
  custom: {
    50: '#63955a',
    500: '#166917',
    950: '#000000',
  },
}
SCSS
$custom: #166917;
$custom-light: #63955a;
$custom-dark: #000000;
JSON
{
  "hex": "#166917",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 23
  },
  "hsl": {
    "h": 120.723,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.4559,
    "c": 0.13866,
    "h": 143
  },
  "luminance": 0.10336
}

Semantic roles & 50–950 ramp

primary
#166917
secondary
#9F3B9E
accent
#3FE6E8
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166917

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

Preview Lab → · Contrast checker → · Palette generator →

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