#166D2D#166D2D

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

Color values

HEX#166D2D
RGBrgb(22, 109, 45)
HSLhsl(136, 66%, 26%)
HSVhsv(136, 80%, 43%)
CMYKcmyk(79.8%, 0%, 58.7%, 57.3%)
CIE-LABlab(40.08, -39.65, 28.41)
CIE-LCHlch(40.08, 48.77, 144.38°)
OKLaboklab(47.02% -0.1066 0.0678)
OKLCHoklch(47.02% 0.126 147.6)
XYZxyz(6.2727, 11.2966, 4.3320)
Luminance0.1130 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D2D #6D1656
analogous
#2A6D16 #166D2D #166D58
triadic
#166D2D #2D166D #6D2D16
tetradic
#166D2D #162A6D #6D1656 #6D5816
square
#166D2D #162A6D #6D1656 #6D5816
split-complementary
#166D2D #58166D #6D162A
monochromatic
#05190B #0C3A18 #166D2D #20A042 #2BD357

Accessibility & contrast

On white

6.44
#166D2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166D2D
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D2D#FFFFFF#000000##FFFFFF
##166D2D1.006.443.266.44
#FFFFFF6.441.0021.001.00
#0000003.2621.001.0021.00
##FFFFFF6.441.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6327
Deuteranopia (green-blind)
#645C32
Tritanopia (blue-blind)
#006B5F
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d2d;
/* rgb */ color: rgb(22, 109, 45);
/* oklch */ color: oklch(47.0% 0.126 147.6);
Tailwind
colors: {
  custom: {
    50: '#639868',
    500: '#166d2d',
    950: '#000000',
  },
}
SCSS
$custom: #166d2d;
$custom-light: #639868;
$custom-dark: #000000;
JSON
{
  "hex": "#166d2d",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 45
  },
  "hsl": {
    "h": 135.862,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47019,
    "c": 0.12637,
    "h": 147.6
  },
  "luminance": 0.11297
}

Semantic roles & 50–950 ramp

primary
#166D2D
secondary
#A33C88
accent
#3EBCE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166D2D

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

Preview Lab → · Contrast checker → · Palette generator →

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