#166B2C#166B2C

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

Color values

HEX#166B2C
RGBrgb(22, 107, 44)
HSLhsl(136, 66%, 25%)
HSVhsv(136, 79%, 42%)
CMYKcmyk(79.4%, 0%, 58.9%, 58%)
CIE-LABlab(39.36, -39.05, 28.07)
CIE-LCHlch(39.36, 48.09, 144.29°)
OKLaboklab(46.42% -0.105 0.067)
OKLCHoklch(46.42% 0.125 147.5)
XYZxyz(6.0427, 10.8671, 4.1615)
Luminance0.1087 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B2C #6B1655
analogous
#2B6B16 #166B2C #166B56
triadic
#166B2C #2C166B #6B2C16
tetradic
#166B2C #162B6B #6B1655 #6B5616
square
#166B2C #162B6B #6B1655 #6B5616
split-complementary
#166B2C #56166B #6B162B
monochromatic
#05190A #0C3817 #166B2C #209E41 #2BD156

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166B2C#FFFFFF#000000##FFFFFF
##166B2C1.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)
#6C6126
Deuteranopia (green-blind)
#635A31
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b2c;
/* rgb */ color: rgb(22, 107, 44);
/* oklch */ color: oklch(46.4% 0.125 147.5);
Tailwind
colors: {
  custom: {
    50: '#639667',
    500: '#166b2c',
    950: '#000000',
  },
}
SCSS
$custom: #166b2c;
$custom-light: #639667;
$custom-dark: #000000;
JSON
{
  "hex": "#166b2c",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 44
  },
  "hsl": {
    "h": 135.529,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46419,
    "c": 0.12459,
    "h": 147.5
  },
  "luminance": 0.10868
}

Semantic roles & 50–950 ramp

primary
#166B2C
secondary
#A13B87
accent
#3FBDE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166B2C

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

Preview Lab → · Contrast checker → · Palette generator →

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