#166822#166822

#166822 is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.4% C 0.129 H 145.1°. Best body text is #FFFFFF at 6.91:1 contrast (WCAG AA passes).

Color values

HEX#166822
RGBrgb(22, 104, 34)
HSLhsl(129, 65%, 25%)
HSVhsv(129, 79%, 41%)
CMYKcmyk(78.8%, 0%, 67.3%, 59.2%)
CIE-LABlab(38.17, -39.30, 31.78)
CIE-LCHlch(38.17, 50.54, 141.05°)
OKLaboklab(45.4% -0.1061 0.0741)
OKLCHoklch(45.4% 0.129 145.1)
XYZxyz(5.5695, 10.1861, 3.1856)
Luminance0.1019 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166822 #68165C
analogous
#336816 #166822 #16684B
triadic
#166822 #221668 #682216
tetradic
#166822 #163368 #68165C #684B16
square
#166822 #163368 #68165C #684B16
split-complementary
#166822 #4B1668 #681633
monochromatic
#051908 #0B3511 #166822 #219B33 #2BCD43

Accessibility & contrast

On white

6.91
#166822 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.04
#166822 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166822
6.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166822#FFFFFF#000000##FFFFFF
##1668221.006.913.046.91
#FFFFFF6.911.0021.001.00
#0000003.0421.001.0021.00
##FFFFFF6.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A5E1A
Deuteranopia (green-blind)
#615728
Tritanopia (blue-blind)
#006559
Achromatopsia (no color)
#5A5A5A

Design tokens & code

CSS
--color: #166822;
/* rgb */ color: rgb(22, 104, 34);
/* oklch */ color: oklch(45.4% 0.129 145.1);
Tailwind
colors: {
  custom: {
    50: '#629460',
    500: '#166822',
    950: '#000000',
  },
}
SCSS
$custom: #166822;
$custom-light: #629460;
$custom-dark: #000000;
JSON
{
  "hex": "#166822",
  "rgb": {
    "r": 22,
    "g": 104,
    "b": 34
  },
  "hsl": {
    "h": 128.78,
    "s": 65.079,
    "l": 24.706
  },
  "oklch": {
    "l": 0.45402,
    "c": 0.12939,
    "h": 145.1
  },
  "luminance": 0.10187
}

Semantic roles & 50–950 ramp

primary
#166822
secondary
#9F3B90
accent
#40CFE8
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166822

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

Preview Lab → · Contrast checker → · Palette generator →

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