#166C1F#166C1F

#166C1F is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.137 H 144.3°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#166C1F
RGBrgb(22, 108, 31)
HSLhsl(126, 66%, 25%)
HSVhsv(126, 80%, 42%)
CMYKcmyk(79.6%, 0%, 71.3%, 57.6%)
CIE-LABlab(39.57, -41.10, 34.71)
CIE-LCHlch(39.57, 53.80, 139.82°)
OKLaboklab(46.55% -0.1111 0.0799)
OKLCHoklch(46.55% 0.137 144.3)
XYZxyz(5.9404, 10.9939, 3.1050)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C1F #6C1663
analogous
#386C16 #166C1F #166C4A
triadic
#166C1F #1F166C #6C1F16
tetradic
#166C1F #16386C #6C1663 #6C4A16
square
#166C1F #16386C #6C1663 #6C4A16
split-complementary
#166C1F #4A166C #6C1638
monochromatic
#051907 #0C3910 #166C1F #209F2E #2BD23C

Accessibility & contrast

On white

6.56
#166C1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166C1F
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C1F#FFFFFF#000000##FFFFFF
##166C1F1.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166c1f;
/* rgb */ color: rgb(22, 108, 31);
/* oklch */ color: oklch(46.6% 0.137 144.3);
Tailwind
colors: {
  custom: {
    50: '#64975f',
    500: '#166c1f',
    950: '#000000',
  },
}
SCSS
$custom: #166c1f;
$custom-light: #64975f;
$custom-dark: #000000;
JSON
{
  "hex": "#166c1f",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 31
  },
  "hsl": {
    "h": 126.279,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46551,
    "c": 0.13687,
    "h": 144.3
  },
  "luminance": 0.10995
}

Semantic roles & 50–950 ramp

primary
#166C1F
secondary
#A23C98
accent
#3FD7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166C1F

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

Preview Lab → · Contrast checker → · Palette generator →

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