#166D1D#166D1D

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

Color values

HEX#166D1D
RGBrgb(22, 109, 29)
HSLhsl(125, 66%, 26%)
HSVhsv(125, 80%, 43%)
CMYKcmyk(79.8%, 0%, 73.4%, 57.3%)
CIE-LABlab(39.91, -41.67, 35.95)
CIE-LCHlch(39.91, 55.03, 139.21°)
OKLaboklab(46.83% -0.1128 0.0823)
OKLCHoklch(46.83% 0.14 143.9)
XYZxyz(6.0209, 11.1959, 3.0059)
Luminance0.1120 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1D #6D1666
analogous
#3A6D16 #166D1D #166D48
triadic
#166D1D #1D166D #6D1D16
tetradic
#166D1D #163A6D #6D1666 #6D4816
square
#166D1D #163A6D #6D1666 #6D4816
split-complementary
#166D1D #48166D #6D163A
monochromatic
#051907 #0C3A0F #166D1D #20A02B #2BD338

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #166d1d;
/* rgb */ color: rgb(22, 109, 29);
/* oklch */ color: oklch(46.8% 0.140 143.9);
Tailwind
colors: {
  custom: {
    50: '#64985e',
    500: '#166d1d',
    950: '#000000',
  },
}
SCSS
$custom: #166d1d;
$custom-light: #64985e;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1d",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 29
  },
  "hsl": {
    "h": 124.828,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46827,
    "c": 0.13958,
    "h": 143.9
  },
  "luminance": 0.11197
}

Semantic roles & 50–950 ramp

primary
#166D1D
secondary
#A33C9B
accent
#3EDCE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166D1D

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

Preview Lab → · Contrast checker → · Palette generator →

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