#166222#166222

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

Color values

HEX#166222
RGBrgb(22, 98, 34)
HSLhsl(129, 63%, 24%)
HSVhsv(129, 78%, 38%)
CMYKcmyk(77.6%, 0%, 65.3%, 61.6%)
CIE-LABlab(36.02, -37.06, 29.35)
CIE-LCHlch(36.02, 47.27, 141.62°)
OKLaboklab(43.62% -0.1 0.0689)
OKLCHoklch(43.62% 0.121 145.4)
XYZxyz(4.9869, 9.0209, 2.9914)
Luminance0.0902 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166222 #621656
analogous
#306216 #166222 #166248
triadic
#166222 #221662 #622216
tetradic
#166222 #163062 #621656 #624816
square
#166222 #163062 #621656 #624816
split-complementary
#166222 #481662 #621630
monochromatic
#061909 #0B3011 #166222 #219433 #2CC645

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166222#FFFFFF#000000##FFFFFF
##1662221.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)
#64581B
Deuteranopia (green-blind)
#5B5227
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166222;
/* rgb */ color: rgb(22, 98, 34);
/* oklch */ color: oklch(43.6% 0.121 145.4);
Tailwind
colors: {
  custom: {
    50: '#618f60',
    500: '#166222',
    950: '#000000',
  },
}
SCSS
$custom: #166222;
$custom-light: #618f60;
$custom-dark: #000000;
JSON
{
  "hex": "#166222",
  "rgb": {
    "r": 22,
    "g": 98,
    "b": 34
  },
  "hsl": {
    "h": 129.474,
    "s": 63.333,
    "l": 23.529
  },
  "oklch": {
    "l": 0.43619,
    "c": 0.12143,
    "h": 145.4
  },
  "luminance": 0.09021
}

Semantic roles & 50–950 ramp

primary
#166222
secondary
#993B8A
accent
#41CCE6
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#050C05
muted
#7A7D79

Preview Lab

Preview with #166222

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

Preview Lab → · Contrast checker → · Palette generator →

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