#166C21#166C21

#166C21 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.6% C 0.135 H 144.7°. Best body text is #FFFFFF at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#166C21
RGBrgb(22, 108, 33)
HSLhsl(128, 66%, 25%)
HSVhsv(128, 80%, 42%)
CMYKcmyk(79.6%, 0%, 69.4%, 57.6%)
CIE-LABlab(39.59, -40.88, 33.81)
CIE-LCHlch(39.59, 53.05, 140.40°)
OKLaboklab(46.57% -0.1104 0.0783)
OKLCHoklch(46.57% 0.135 144.7)
XYZxyz(5.9675, 11.0048, 3.2482)
Luminance0.1101 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C21 #6C1661
analogous
#366C16 #166C21 #166C4C
triadic
#166C21 #21166C #6C2116
tetradic
#166C21 #16366C #6C1661 #6C4C16
square
#166C21 #16366C #6C1661 #6C4C16
split-complementary
#166C21 #4C166C #6C1636
monochromatic
#051908 #0C3911 #166C21 #209F31 #2BD240

Accessibility & contrast

On white

6.56
#166C21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#166C21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C21
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C21#FFFFFF#000000##FFFFFF
##166C211.006.563.206.56
#FFFFFF6.561.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.561.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6117
Deuteranopia (green-blind)
#645B28
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c21;
/* rgb */ color: rgb(22, 108, 33);
/* oklch */ color: oklch(46.6% 0.135 144.7);
Tailwind
colors: {
  custom: {
    50: '#639760',
    500: '#166c21',
    950: '#000000',
  },
}
SCSS
$custom: #166c21;
$custom-light: #639760;
$custom-dark: #000000;
JSON
{
  "hex": "#166c21",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 33
  },
  "hsl": {
    "h": 127.674,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46573,
    "c": 0.13534,
    "h": 144.7
  },
  "luminance": 0.11006
}

Semantic roles & 50–950 ramp

primary
#166C21
secondary
#A23C95
accent
#3FD3E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166C21

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

Preview Lab → · Contrast checker → · Palette generator →

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