#166C1C#166C1C

#166C1C is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.139 H 143.7°. Best body text is #FFFFFF at 6.57:1 contrast (WCAG AA passes).

Color values

HEX#166C1C
RGBrgb(22, 108, 28)
HSLhsl(124, 66%, 25%)
HSVhsv(124, 80%, 42%)
CMYKcmyk(79.6%, 0%, 74.1%, 57.6%)
CIE-LABlab(39.54, -41.41, 36.00)
CIE-LCHlch(39.54, 54.87, 139.00°)
OKLaboklab(46.52% -0.1121 0.0822)
OKLCHoklch(46.52% 0.139 143.7)
XYZxyz(5.9027, 10.9789, 2.9064)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C1C #6C1666
analogous
#3B6C16 #166C1C #166C47
triadic
#166C1C #1C166C #6C1C16
tetradic
#166C1C #163B6C #6C1666 #6C4716
square
#166C1C #163B6C #6C1666 #6C4716
split-complementary
#166C1C #47166C #6C163B
monochromatic
#051907 #0C390F #166C1C #209F29 #2BD236

Accessibility & contrast

On white

6.57
#166C1C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#166C1C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C1C
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C1C#FFFFFF#000000##FFFFFF
##166C1C1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E610F
Deuteranopia (green-blind)
#655B24
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c1c;
/* rgb */ color: rgb(22, 108, 28);
/* oklch */ color: oklch(46.5% 0.139 143.7);
Tailwind
colors: {
  custom: {
    50: '#64975d',
    500: '#166c1c',
    950: '#000000',
  },
}
SCSS
$custom: #166c1c;
$custom-light: #64975d;
$custom-dark: #000000;
JSON
{
  "hex": "#166c1c",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 28
  },
  "hsl": {
    "h": 124.186,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46522,
    "c": 0.13904,
    "h": 143.7
  },
  "luminance": 0.1098
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166C1C

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

Preview Lab → · Contrast checker → · Palette generator →

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