#166B21#166B21

#166B21 is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.3% C 0.134 H 144.7°. Best body text is #FFFFFF at 6.65:1 contrast (WCAG AA passes).

Color values

HEX#166B21
RGBrgb(22, 107, 33)
HSLhsl(128, 66%, 25%)
HSVhsv(128, 79%, 42%)
CMYKcmyk(79.4%, 0%, 69.2%, 58%)
CIE-LABlab(39.23, -40.52, 33.42)
CIE-LCHlch(39.23, 52.53, 140.48°)
OKLaboklab(46.28% -0.1094 0.0774)
OKLCHoklch(46.28% 0.134 144.7)
XYZxyz(5.8627, 10.7951, 3.2132)
Luminance0.1080 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B21 #6B1660
analogous
#356B16 #166B21 #166B4B
triadic
#166B21 #21166B #6B2116
tetradic
#166B21 #16356B #6B1660 #6B4B16
square
#166B21 #16356B #6B1660 #6B4B16
split-complementary
#166B21 #4B166B #6B1635
monochromatic
#051908 #0C3811 #166B21 #209E31 #2BD140

Accessibility & contrast

On white

6.65
#166B21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.16
#166B21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B21
6.65:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B21#FFFFFF#000000##FFFFFF
##166B211.006.653.166.65
#FFFFFF6.651.0021.001.00
#0000003.1621.001.0021.00
##FFFFFF6.651.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6018
Deuteranopia (green-blind)
#635A28
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b21;
/* rgb */ color: rgb(22, 107, 33);
/* oklch */ color: oklch(46.3% 0.134 144.7);
Tailwind
colors: {
  custom: {
    50: '#639660',
    500: '#166b21',
    950: '#000000',
  },
}
SCSS
$custom: #166b21;
$custom-light: #639660;
$custom-dark: #000000;
JSON
{
  "hex": "#166b21",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 33
  },
  "hsl": {
    "h": 127.765,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46278,
    "c": 0.13407,
    "h": 144.7
  },
  "luminance": 0.10796
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166B21

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

Preview Lab → · Contrast checker → · Palette generator →

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