#166D1B#166D1B

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

Color values

HEX#166D1B
RGBrgb(22, 109, 27)
HSLhsl(123, 66%, 26%)
HSVhsv(123, 80%, 43%)
CMYKcmyk(79.8%, 0%, 75.2%, 57.3%)
CIE-LABlab(39.89, -41.86, 36.78)
CIE-LCHlch(39.89, 55.72, 138.70°)
OKLaboklab(46.81% -0.1134 0.0837)
OKLCHoklch(46.81% 0.141 143.6)
XYZxyz(5.9970, 11.1863, 2.8798)
Luminance0.1119 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1B #6D1668
analogous
#3C6D16 #166D1B #166D46
triadic
#166D1B #1B166D #6D1B16
tetradic
#166D1B #163C6D #6D1668 #6D4616
square
#166D1B #163C6D #6D1668 #6D4616
split-complementary
#166D1B #46166D #6D163C
monochromatic
#051906 #0C3A0E #166D1B #20A028 #2BD334

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166D1B#FFFFFF#000000##FFFFFF
##166D1B1.006.493.246.49
#FFFFFF6.491.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.491.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166d1b;
/* rgb */ color: rgb(22, 109, 27);
/* oklch */ color: oklch(46.8% 0.141 143.6);
Tailwind
colors: {
  custom: {
    50: '#64985d',
    500: '#166d1b',
    950: '#000000',
  },
}
SCSS
$custom: #166d1b;
$custom-light: #64985d;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1b",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 27
  },
  "hsl": {
    "h": 123.448,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46808,
    "c": 0.14095,
    "h": 143.6
  },
  "luminance": 0.11187
}

Semantic roles & 50–950 ramp

primary
#166D1B
secondary
#A33C9D
accent
#3EE0E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D1B

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

Preview Lab → · Contrast checker → · Palette generator →

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