#166D2B#166D2B

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

Color values

HEX#166D2B
RGBrgb(22, 109, 43)
HSLhsl(134, 66%, 26%)
HSVhsv(134, 80%, 43%)
CMYKcmyk(79.8%, 0%, 60.6%, 57.3%)
CIE-LABlab(40.05, -39.94, 29.42)
CIE-LCHlch(40.05, 49.61, 143.63°)
OKLaboklab(46.99% -0.1075 0.0699)
OKLCHoklch(46.99% 0.128 147)
XYZxyz(6.2351, 11.2815, 4.1340)
Luminance0.1128 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D2B #6D1658
analogous
#2C6D16 #166D2B #166D56
triadic
#166D2B #2B166D #6D2B16
tetradic
#166D2B #162C6D #6D1658 #6D5616
square
#166D2B #162C6D #6D1658 #6D5616
split-complementary
#166D2B #56166D #6D162C
monochromatic
#05190A #0C3A17 #166D2B #20A03F #2BD353

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166D2B#FFFFFF#000000##FFFFFF
##166D2B1.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)
#6E6324
Deuteranopia (green-blind)
#655C30
Tritanopia (blue-blind)
#006A5E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d2b;
/* rgb */ color: rgb(22, 109, 43);
/* oklch */ color: oklch(47.0% 0.128 147.0);
Tailwind
colors: {
  custom: {
    50: '#639866',
    500: '#166d2b',
    950: '#000000',
  },
}
SCSS
$custom: #166d2b;
$custom-light: #639866;
$custom-dark: #000000;
JSON
{
  "hex": "#166d2b",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 43
  },
  "hsl": {
    "h": 134.483,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46991,
    "c": 0.1282,
    "h": 147
  },
  "luminance": 0.11282
}

Semantic roles & 50–950 ramp

primary
#166D2B
secondary
#A33C8A
accent
#3EC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E06
muted
#7A7E7A

Preview Lab

Preview with #166D2B

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

Preview Lab → · Contrast checker → · Palette generator →

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