#166221#166221

#166221 is a dark, vivid green. Relative luminance 0.090; OKLCH L 43.6% C 0.122 H 145.2°. Best body text is #FFFFFF at 7.49:1 contrast (WCAG AA passes).

Color values

HEX#166221
RGBrgb(22, 98, 33)
HSLhsl(129, 63%, 24%)
HSVhsv(129, 78%, 38%)
CMYKcmyk(77.6%, 0%, 66.3%, 61.6%)
CIE-LABlab(36.01, -37.19, 29.84)
CIE-LCHlch(36.01, 47.68, 141.26°)
OKLaboklab(43.61% -0.1004 0.0698)
OKLCHoklch(43.61% 0.122 145.2)
XYZxyz(4.9727, 9.0152, 2.9166)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166221 #621657
analogous
#316216 #166221 #166247
triadic
#166221 #211662 #622116
tetradic
#166221 #163162 #621657 #624716
square
#166221 #163162 #621657 #624716
split-complementary
#166221 #471662 #621631
monochromatic
#061908 #0B3010 #166221 #219432 #2CC643

Accessibility & contrast

On white

7.49
#166221 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#166221 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166221
7.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166221#FFFFFF#000000##FFFFFF
##1662211.007.492.807.49
#FFFFFF7.491.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.491.0021.001.00

Color blindness preview

Protanopia (red-blind)
#64581A
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166221;
/* rgb */ color: rgb(22, 98, 33);
/* oklch */ color: oklch(43.6% 0.122 145.2);
Tailwind
colors: {
  custom: {
    50: '#618f5f',
    500: '#166221',
    950: '#000000',
  },
}
SCSS
$custom: #166221;
$custom-light: #618f5f;
$custom-dark: #000000;
JSON
{
  "hex": "#166221",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 33
  },
  "hsl": {
    "h": 128.684,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43607,
    "c": 0.12229,
    "h": 145.2
  },
  "luminance": 0.09016
}

Semantic roles & 50–950 ramp

primary
#166221
secondary
#993B8B
accent
#41CEE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166221

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

Preview Lab → · Contrast checker → · Palette generator →

#166221 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva