#166D17#166D17

#166D17 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.143 H 143.0°. Best body text is #FFFFFF at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#166D17
RGBrgb(22, 109, 23)
HSLhsl(121, 66%, 26%)
HSVhsv(121, 80%, 43%)
CMYKcmyk(79.8%, 0%, 78.9%, 57.3%)
CIE-LABlab(39.86, -42.22, 38.34)
CIE-LCHlch(39.86, 57.03, 137.76°)
OKLaboklab(46.78% -0.1145 0.0864)
OKLCHoklch(46.78% 0.143 143)
XYZxyz(5.9538, 11.1690, 2.6525)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D17 #6D166C
analogous
#406D16 #166D17 #166D42
triadic
#166D17 #17166D #6D1716
tetradic
#166D17 #16406D #6D166C #6D4216
square
#166D17 #16406D #6D166C #6D4216
split-complementary
#166D17 #42166D #6D1640
monochromatic
#051905 #0C3A0C #166D17 #20A022 #2BD32C

Accessibility & contrast

On white

6.49
#166D17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.23
#166D17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D17
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D17#FFFFFF#000000##FFFFFF
##166D171.006.493.236.49
#FFFFFF6.491.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6205
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d17;
/* rgb */ color: rgb(22, 109, 23);
/* oklch */ color: oklch(46.8% 0.143 143.0);
Tailwind
colors: {
  custom: {
    50: '#64985b',
    500: '#166d17',
    950: '#000000',
  },
}
SCSS
$custom: #166d17;
$custom-light: #64985b;
$custom-dark: #000000;
JSON
{
  "hex": "#166d17",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 23
  },
  "hsl": {
    "h": 120.69,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46775,
    "c": 0.14349,
    "h": 143
  },
  "luminance": 0.1117
}

Semantic roles & 50–950 ramp

primary
#166D17
secondary
#A33CA2
accent
#3EE7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D17

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

Preview Lab → · Contrast checker → · Palette generator →

#166D17 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva