#166D1A#166D1A

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

Color values

HEX#166D1A
RGBrgb(22, 109, 26)
HSLhsl(123, 66%, 26%)
HSVhsv(123, 80%, 43%)
CMYKcmyk(79.8%, 0%, 76.1%, 57.3%)
CIE-LABlab(39.88, -41.96, 37.18)
CIE-LCHlch(39.88, 56.06, 138.45°)
OKLaboklab(46.8% -0.1137 0.0844)
OKLCHoklch(46.8% 0.142 143.4)
XYZxyz(5.9856, 11.1817, 2.8199)
Luminance0.1118 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1A #6D1669
analogous
#3D6D16 #166D1A #166D45
triadic
#166D1A #1A166D #6D1A16
tetradic
#166D1A #163D6D #6D1669 #6D4516
square
#166D1A #163D6D #6D1669 #6D4516
split-complementary
#166D1A #45166D #6D163D
monochromatic
#051906 #0C3A0E #166D1A #20A026 #2BD332

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166D1A#FFFFFF#000000##FFFFFF
##166D1A1.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)
#6F620B
Deuteranopia (green-blind)
#665B23
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d1a;
/* rgb */ color: rgb(22, 109, 26);
/* oklch */ color: oklch(46.8% 0.142 143.4);
Tailwind
colors: {
  custom: {
    50: '#64985c',
    500: '#166d1a',
    950: '#000000',
  },
}
SCSS
$custom: #166d1a;
$custom-light: #64985c;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1a",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 26
  },
  "hsl": {
    "h": 122.759,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.468,
    "c": 0.14161,
    "h": 143.4
  },
  "luminance": 0.11182
}

Semantic roles & 50–950 ramp

primary
#166D1A
secondary
#A33C9E
accent
#3EE1E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D1A

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

Preview Lab → · Contrast checker → · Palette generator →

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