#166D2C#166D2C

#166D2C is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.0% C 0.127 H 147.3°. Best body text is #FFFFFF at 6.45:1 contrast (WCAG AA passes).

Color values

HEX#166D2C
RGBrgb(22, 109, 44)
HSLhsl(135, 66%, 26%)
HSVhsv(135, 80%, 43%)
CMYKcmyk(79.8%, 0%, 59.6%, 57.3%)
CIE-LABlab(40.06, -39.80, 28.91)
CIE-LCHlch(40.06, 49.19, 144.00°)
OKLaboklab(47.01% -0.1071 0.0688)
OKLCHoklch(47.01% 0.127 147.3)
XYZxyz(6.2537, 11.2890, 4.2318)
Luminance0.1129 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D2C #6D1657
analogous
#2C6D16 #166D2C #166D57
triadic
#166D2C #2C166D #6D2C16
tetradic
#166D2C #162C6D #6D1657 #6D5716
square
#166D2C #162C6D #6D1657 #6D5716
split-complementary
#166D2C #57166D #6D162C
monochromatic
#05190A #0C3A17 #166D2C #20A041 #2BD355

Accessibility & contrast

On white

6.45
#166D2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.26
#166D2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D2C
6.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D2C#FFFFFF#000000##FFFFFF
##166D2C1.006.453.266.45
#FFFFFF6.451.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.451.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6326
Deuteranopia (green-blind)
#655C31
Tritanopia (blue-blind)
#006A5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d2c;
/* rgb */ color: rgb(22, 109, 44);
/* oklch */ color: oklch(47.0% 0.127 147.3);
Tailwind
colors: {
  custom: {
    50: '#639867',
    500: '#166d2c',
    950: '#000000',
  },
}
SCSS
$custom: #166d2c;
$custom-light: #639867;
$custom-dark: #000000;
JSON
{
  "hex": "#166d2c",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 44
  },
  "hsl": {
    "h": 135.172,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47005,
    "c": 0.12729,
    "h": 147.3
  },
  "luminance": 0.1129
}

Semantic roles & 50–950 ramp

primary
#166D2C
secondary
#A33C89
accent
#3EBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166D2C

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

Preview Lab → · Contrast checker → · Palette generator →

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