#166A22#166A22

#166A22 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.132 H 145.0°. Best body text is #FFFFFF at 6.73:1 contrast (WCAG AA passes).

Color values

HEX#166A22
RGBrgb(22, 106, 34)
HSLhsl(129, 66%, 25%)
HSVhsv(129, 79%, 42%)
CMYKcmyk(79.2%, 0%, 67.9%, 58.4%)
CIE-LABlab(38.89, -40.04, 32.57)
CIE-LCHlch(38.89, 51.61, 140.87°)
OKLaboklab(45.99% -0.1081 0.0757)
OKLCHoklch(45.99% 0.132 145)
XYZxyz(5.7732, 10.5935, 3.2535)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A22 #6A165E
analogous
#346A16 #166A22 #166A4C
triadic
#166A22 #22166A #6A2216
tetradic
#166A22 #16346A #6A165E #6A4C16
square
#166A22 #16346A #6A165E #6A4C16
split-complementary
#166A22 #4C166A #6A1634
monochromatic
#051908 #0B3712 #166A22 #219D32 #2BCF43

Accessibility & contrast

On white

6.73
#166A22 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A22 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A22
6.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A22#FFFFFF#000000##FFFFFF
##166A221.006.733.126.73
#FFFFFF6.731.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.731.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C6019
Deuteranopia (green-blind)
#625928
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a22;
/* rgb */ color: rgb(22, 106, 34);
/* oklch */ color: oklch(46.0% 0.132 145.0);
Tailwind
colors: {
  custom: {
    50: '#639660',
    500: '#166a22',
    950: '#000000',
  },
}
SCSS
$custom: #166a22;
$custom-light: #639660;
$custom-dark: #000000;
JSON
{
  "hex": "#166a22",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 34
  },
  "hsl": {
    "h": 128.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45993,
    "c": 0.13198,
    "h": 145
  },
  "luminance": 0.10594
}

Semantic roles & 50–950 ramp

primary
#166A22
secondary
#A03B92
accent
#3FD0E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A22

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

Preview Lab → · Contrast checker → · Palette generator →

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