#166C2C#166C2C

#166C2C is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.126 H 147.4°. Best body text is #FFFFFF at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#166C2C
RGBrgb(22, 108, 44)
HSLhsl(135, 66%, 25%)
HSVhsv(135, 80%, 42%)
CMYKcmyk(79.6%, 0%, 59.3%, 57.6%)
CIE-LABlab(39.71, -39.42, 28.49)
CIE-LCHlch(39.71, 48.64, 144.14°)
OKLaboklab(46.71% -0.1061 0.0679)
OKLCHoklch(46.71% 0.126 147.4)
XYZxyz(6.1476, 11.0768, 4.1964)
Luminance0.1108 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C2C #6C1656
analogous
#2B6C16 #166C2C #166C57
triadic
#166C2C #2C166C #6C2C16
tetradic
#166C2C #162B6C #6C1656 #6C5716
square
#166C2C #162B6C #6C1656 #6C5716
split-complementary
#166C2C #57166C #6C162B
monochromatic
#05190A #0C3917 #166C2C #209F41 #2BD255

Accessibility & contrast

On white

6.53
#166C2C on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.22
#166C2C on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C2C
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C2C#FFFFFF#000000##FFFFFF
##166C2C1.006.533.226.53
#FFFFFF6.531.0021.001.00
#0000003.2221.001.0021.00
##FFFFFF6.531.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6226
Deuteranopia (green-blind)
#645B31
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166c2c;
/* rgb */ color: rgb(22, 108, 44);
/* oklch */ color: oklch(46.7% 0.126 147.4);
Tailwind
colors: {
  custom: {
    50: '#639767',
    500: '#166c2c',
    950: '#000000',
  },
}
SCSS
$custom: #166c2c;
$custom-light: #639767;
$custom-dark: #000000;
JSON
{
  "hex": "#166c2c",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 44
  },
  "hsl": {
    "h": 135.349,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46712,
    "c": 0.12594,
    "h": 147.4
  },
  "luminance": 0.11078
}

Semantic roles & 50–950 ramp

primary
#166C2C
secondary
#A23C88
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166C2C

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

Preview Lab → · Contrast checker → · Palette generator →

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