#166B2A#166B2A

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

Color values

HEX#166B2A
RGBrgb(22, 107, 42)
HSLhsl(134, 66%, 25%)
HSVhsv(134, 79%, 42%)
CMYKcmyk(79.4%, 0%, 60.7%, 58%)
CIE-LABlab(39.33, -39.34, 29.09)
CIE-LCHlch(39.33, 48.93, 143.52°)
OKLaboklab(46.39% -0.1059 0.069)
OKLCHoklch(46.39% 0.126 146.9)
XYZxyz(6.0060, 10.8524, 3.9682)
Luminance0.1085 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B2A #6B1657
analogous
#2C6B16 #166B2A #166B54
triadic
#166B2A #2A166B #6B2A16
tetradic
#166B2A #162C6B #6B1657 #6B5416
square
#166B2A #162C6B #6B1657 #6B5416
split-complementary
#166B2A #54166B #6B162C
monochromatic
#05190A #0C3816 #166B2A #209E3E #2BD152

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166B2A#FFFFFF#000000##FFFFFF
##166B2A1.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)
#6C6124
Deuteranopia (green-blind)
#635A2F
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b2a;
/* rgb */ color: rgb(22, 107, 42);
/* oklch */ color: oklch(46.4% 0.126 146.9);
Tailwind
colors: {
  custom: {
    50: '#639666',
    500: '#166b2a',
    950: '#000000',
  },
}
SCSS
$custom: #166b2a;
$custom-light: #639666;
$custom-dark: #000000;
JSON
{
  "hex": "#166b2a",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 42
  },
  "hsl": {
    "h": 134.118,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.4639,
    "c": 0.12642,
    "h": 146.9
  },
  "luminance": 0.10853
}

Semantic roles & 50–950 ramp

primary
#166B2A
secondary
#A13B89
accent
#3FC1E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166B2A

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

Preview Lab → · Contrast checker → · Palette generator →

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