#166D16#166D16

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

Color values

HEX#166D16
RGBrgb(22, 109, 22)
HSLhsl(120, 66%, 26%)
HSVhsv(120, 80%, 43%)
CMYKcmyk(79.8%, 0%, 79.8%, 57.3%)
CIE-LABlab(39.86, -42.30, 38.71)
CIE-LCHlch(39.86, 57.34, 137.54°)
OKLaboklab(46.77% -0.1148 0.087)
OKLCHoklch(46.77% 0.144 142.8)
XYZxyz(5.9440, 11.1651, 2.6007)
Luminance0.1117 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D16 #6D166D
analogous
#416D16 #166D16 #166D41
triadic
#166D16 #16166D #6D1616
tetradic
#166D16 #16416D #6D166D #6D4116
square
#166D16 #16416D #6D166D #6D4116
split-complementary
#166D16 #41166D #6D1641
monochromatic
#051905 #0C3A0C #166D16 #20A020 #2BD32B

Accessibility & contrast

On white

6.50
#166D16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166D16
6.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D16#FFFFFF#000000##FFFFFF
##166D161.006.503.236.50
#FFFFFF6.501.0021.001.00
#0000003.2321.001.0021.00
##FFFFFF6.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706203
Deuteranopia (green-blind)
#665B20
Tritanopia (blue-blind)
#006A5C
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d16;
/* rgb */ color: rgb(22, 109, 22);
/* oklch */ color: oklch(46.8% 0.144 142.8);
Tailwind
colors: {
  custom: {
    50: '#64985a',
    500: '#166d16',
    950: '#000000',
  },
}
SCSS
$custom: #166d16;
$custom-light: #64985a;
$custom-dark: #000000;
JSON
{
  "hex": "#166d16",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 22
  },
  "hsl": {
    "h": 120,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46768,
    "c": 0.14408,
    "h": 142.8
  },
  "luminance": 0.11166
}

Semantic roles & 50–950 ramp

primary
#166D16
secondary
#A33CA3
accent
#3EE9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D16

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

Preview Lab → · Contrast checker → · Palette generator →

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