#166B2B#166B2B

#166B2B is a mid, vivid green. Relative luminance 0.109; OKLCH L 46.4% C 0.126 H 147.2°. Best body text is #FFFFFF at 6.62:1 contrast (WCAG AA passes).

Color values

HEX#166B2B
RGBrgb(22, 107, 43)
HSLhsl(135, 66%, 25%)
HSVhsv(135, 79%, 42%)
CMYKcmyk(79.4%, 0%, 59.8%, 58%)
CIE-LABlab(39.34, -39.19, 28.58)
CIE-LCHlch(39.34, 48.51, 143.90°)
OKLaboklab(46.4% -0.1055 0.068)
OKLCHoklch(46.4% 0.126 147.2)
XYZxyz(6.0242, 10.8597, 4.0637)
Luminance0.1086 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B2B #6B1656
analogous
#2B6B16 #166B2B #166B56
triadic
#166B2B #2B166B #6B2B16
tetradic
#166B2B #162B6B #6B1656 #6B5616
square
#166B2B #162B6B #6B1656 #6B5616
split-complementary
#166B2B #56166B #6B162B
monochromatic
#05190A #0C3817 #166B2B #209E3F #2BD154

Accessibility & contrast

On white

6.62
#166B2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.17
#166B2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B2B
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B2B#FFFFFF#000000##FFFFFF
##166B2B1.006.623.176.62
#FFFFFF6.621.0021.001.00
#0000003.1721.001.0021.00
##FFFFFF6.621.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6125
Deuteranopia (green-blind)
#635A30
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b2b;
/* rgb */ color: rgb(22, 107, 43);
/* oklch */ color: oklch(46.4% 0.126 147.2);
Tailwind
colors: {
  custom: {
    50: '#639666',
    500: '#166b2b',
    950: '#000000',
  },
}
SCSS
$custom: #166b2b;
$custom-light: #639666;
$custom-dark: #000000;
JSON
{
  "hex": "#166b2b",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 43
  },
  "hsl": {
    "h": 134.824,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46404,
    "c": 0.12551,
    "h": 147.2
  },
  "luminance": 0.1086
}

Semantic roles & 50–950 ramp

primary
#166B2B
secondary
#A13B88
accent
#3FBFE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166B2B

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

Preview Lab → · Contrast checker → · Palette generator →

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