#166A21#166A21

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

Color values

HEX#166A21
RGBrgb(22, 106, 33)
HSLhsl(128, 66%, 25%)
HSVhsv(128, 79%, 42%)
CMYKcmyk(79.2%, 0%, 68.9%, 58.4%)
CIE-LABlab(38.88, -40.16, 33.03)
CIE-LCHlch(38.88, 52.00, 140.56°)
OKLaboklab(45.98% -0.1085 0.0766)
OKLCHoklch(45.98% 0.133 144.8)
XYZxyz(5.7590, 10.5878, 3.1787)
Luminance0.1059 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A21 #6A165F
analogous
#356A16 #166A21 #166A4B
triadic
#166A21 #21166A #6A2116
tetradic
#166A21 #16356A #6A165F #6A4B16
square
#166A21 #16356A #6A165F #6A4B16
split-complementary
#166A21 #4B166A #6A1635
monochromatic
#051908 #0B3711 #166A21 #219D31 #2BCF41

Accessibility & contrast

On white

6.74
#166A21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166A21
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A21#FFFFFF#000000##FFFFFF
##166A211.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a21;
/* rgb */ color: rgb(22, 106, 33);
/* oklch */ color: oklch(46.0% 0.133 144.8);
Tailwind
colors: {
  custom: {
    50: '#639660',
    500: '#166a21',
    950: '#000000',
  },
}
SCSS
$custom: #166a21;
$custom-light: #639660;
$custom-dark: #000000;
JSON
{
  "hex": "#166a21",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 33
  },
  "hsl": {
    "h": 127.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45982,
    "c": 0.13279,
    "h": 144.8
  },
  "luminance": 0.10588
}

Semantic roles & 50–950 ramp

primary
#166A21
secondary
#A03B93
accent
#3FD2E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A21

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

Preview Lab → · Contrast checker → · Palette generator →

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