#166A16#166A16

#166A16 is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.140 H 142.9°. Best body text is #FFFFFF at 6.76:1 contrast (WCAG AA passes).

Color values

HEX#166A16
RGBrgb(22, 106, 22)
HSLhsl(120, 66%, 25%)
HSVhsv(120, 79%, 42%)
CMYKcmyk(79.2%, 0%, 79.2%, 58.4%)
CIE-LABlab(38.79, -41.25, 37.65)
CIE-LCHlch(38.79, 55.85, 137.62°)
OKLaboklab(45.88% -0.112 0.0848)
OKLCHoklch(45.88% 0.14 142.9)
XYZxyz(5.6294, 10.5359, 2.4959)
Luminance0.1054 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A16 #6A166A
analogous
#406A16 #166A16 #166A40
triadic
#166A16 #16166A #6A1616
tetradic
#166A16 #16406A #6A166A #6A4016
square
#166A16 #16406A #6A166A #6A4016
split-complementary
#166A16 #40166A #6A1640
monochromatic
#051905 #0B370B #166A16 #219D21 #2BCF2B

Accessibility & contrast

On white

6.76
#166A16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166A16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A16
6.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A16#FFFFFF#000000##FFFFFF
##166A161.006.763.116.76
#FFFFFF6.761.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F05
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a16;
/* rgb */ color: rgb(22, 106, 22);
/* oklch */ color: oklch(45.9% 0.140 142.9);
Tailwind
colors: {
  custom: {
    50: '#64965a',
    500: '#166a16',
    950: '#000000',
  },
}
SCSS
$custom: #166a16;
$custom-light: #64965a;
$custom-dark: #000000;
JSON
{
  "hex": "#166a16",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 22
  },
  "hsl": {
    "h": 120,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45879,
    "c": 0.14048,
    "h": 142.9
  },
  "luminance": 0.10537
}

Semantic roles & 50–950 ramp

primary
#166A16
secondary
#A03BA0
accent
#3FE9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A16

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

Preview Lab → · Contrast checker → · Palette generator →

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