#166D1C#166D1C

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

Color values

HEX#166D1C
RGBrgb(22, 109, 28)
HSLhsl(124, 66%, 26%)
HSVhsv(124, 80%, 43%)
CMYKcmyk(79.8%, 0%, 74.3%, 57.3%)
CIE-LABlab(39.90, -41.77, 36.37)
CIE-LCHlch(39.90, 55.38, 138.95°)
OKLaboklab(46.82% -0.1131 0.083)
OKLCHoklch(46.82% 0.14 143.7)
XYZxyz(6.0087, 11.1910, 2.9418)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1C #6D1667
analogous
#3B6D16 #166D1C #166D47
triadic
#166D1C #1C166D #6D1C16
tetradic
#166D1C #163B6D #6D1667 #6D4716
square
#166D1C #163B6D #6D1667 #6D4716
split-complementary
#166D1C #47166D #6D163B
monochromatic
#051907 #0C3A0F #166D1C #20A029 #2BD336

Accessibility & contrast

On white

6.48
#166D1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#166D1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D1C
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D1C#FFFFFF#000000##FFFFFF
##166D1C1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166d1c;
/* rgb */ color: rgb(22, 109, 28);
/* oklch */ color: oklch(46.8% 0.140 143.7);
Tailwind
colors: {
  custom: {
    50: '#64985d',
    500: '#166d1c',
    950: '#000000',
  },
}
SCSS
$custom: #166d1c;
$custom-light: #64985d;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1c",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 28
  },
  "hsl": {
    "h": 124.138,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46817,
    "c": 0.14026,
    "h": 143.7
  },
  "luminance": 0.11192
}

Semantic roles & 50–950 ramp

primary
#166D1C
secondary
#A33C9C
accent
#3EDEE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D1C

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

Preview Lab → · Contrast checker → · Palette generator →

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