#166D1E#166D1E

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

Color values

HEX#166D1E
RGBrgb(22, 109, 30)
HSLhsl(126, 66%, 26%)
HSVhsv(126, 80%, 43%)
CMYKcmyk(79.8%, 0%, 72.5%, 57.3%)
CIE-LABlab(39.92, -41.56, 35.52)
CIE-LCHlch(39.92, 54.68, 139.48°)
OKLaboklab(46.84% -0.1124 0.0815)
OKLCHoklch(46.84% 0.139 144.1)
XYZxyz(6.0335, 11.2009, 3.0721)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1E #6D1665
analogous
#396D16 #166D1E #166D49
triadic
#166D1E #1E166D #6D1E16
tetradic
#166D1E #16396D #6D1665 #6D4916
square
#166D1E #16396D #6D1665 #6D4916
split-complementary
#166D1E #49166D #6D1639
monochromatic
#051907 #0C3A10 #166D1E #20A02C #2BD33A

Accessibility & contrast

On white

6.48
#166D1E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166D1E
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D1E#FFFFFF#000000##FFFFFF
##166D1E1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166d1e;
/* rgb */ color: rgb(22, 109, 30);
/* oklch */ color: oklch(46.8% 0.139 144.1);
Tailwind
colors: {
  custom: {
    50: '#64985e',
    500: '#166d1e',
    950: '#000000',
  },
}
SCSS
$custom: #166d1e;
$custom-light: #64985e;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1e",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 30
  },
  "hsl": {
    "h": 125.517,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46836,
    "c": 0.13886,
    "h": 144.1
  },
  "luminance": 0.11202
}

Semantic roles & 50–950 ramp

primary
#166D1E
secondary
#A33C9A
accent
#3EDAE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166D1E

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

Preview Lab → · Contrast checker → · Palette generator →

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