#166B1C#166B1C

#166B1C is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.138 H 143.8°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#166B1C
RGBrgb(22, 107, 28)
HSLhsl(124, 66%, 25%)
HSVhsv(124, 79%, 42%)
CMYKcmyk(79.4%, 0%, 73.8%, 58%)
CIE-LABlab(39.19, -41.06, 35.62)
CIE-LCHlch(39.19, 54.36, 139.06°)
OKLaboklab(46.23% -0.1111 0.0814)
OKLCHoklch(46.23% 0.138 143.8)
XYZxyz(5.7978, 10.7691, 2.8715)
Luminance0.1077 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B1C #6B1665
analogous
#3B6B16 #166B1C #166B46
triadic
#166B1C #1C166B #6B1C16
tetradic
#166B1C #163B6B #6B1665 #6B4616
square
#166B1C #163B6B #6B1665 #6B4616
split-complementary
#166B1C #46166B #6B163B
monochromatic
#051907 #0C380F #166B1C #209E29 #2BD137

Accessibility & contrast

On white

6.66
#166B1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#166B1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B1C
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B1C#FFFFFF#000000##FFFFFF
##166B1C1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6010
Deuteranopia (green-blind)
#645A24
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b1c;
/* rgb */ color: rgb(22, 107, 28);
/* oklch */ color: oklch(46.2% 0.138 143.8);
Tailwind
colors: {
  custom: {
    50: '#63965d',
    500: '#166b1c',
    950: '#000000',
  },
}
SCSS
$custom: #166b1c;
$custom-light: #63965d;
$custom-dark: #000000;
JSON
{
  "hex": "#166b1c",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 28
  },
  "hsl": {
    "h": 124.235,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46227,
    "c": 0.13779,
    "h": 143.8
  },
  "luminance": 0.1077
}

Semantic roles & 50–950 ramp

primary
#166B1C
secondary
#A13B9A
accent
#3FDDE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166B1C

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

Preview Lab → · Contrast checker → · Palette generator →

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