#166D21#166D21

#166D21 is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.9% C 0.137 H 144.6°. Best body text is #FFFFFF at 6.47:1 contrast (WCAG AA passes).

Color values

HEX#166D21
RGBrgb(22, 109, 33)
HSLhsl(128, 66%, 26%)
HSVhsv(128, 80%, 43%)
CMYKcmyk(79.8%, 0%, 69.7%, 57.3%)
CIE-LABlab(39.94, -41.24, 34.20)
CIE-LCHlch(39.94, 53.58, 140.33°)
OKLaboklab(46.87% -0.1114 0.0791)
OKLCHoklch(46.87% 0.137 144.6)
XYZxyz(6.0736, 11.2169, 3.2835)
Luminance0.1122 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D21 #6D1662
analogous
#366D16 #166D21 #166D4C
triadic
#166D21 #21166D #6D2116
tetradic
#166D21 #16366D #6D1662 #6D4C16
square
#166D21 #16366D #6D1662 #6D4C16
split-complementary
#166D21 #4C166D #6D1636
monochromatic
#051908 #0C3A12 #166D21 #20A030 #2BD340

Accessibility & contrast

On white

6.47
#166D21 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#166D21 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D21
6.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D21#FFFFFF#000000##FFFFFF
##166D211.006.473.246.47
#FFFFFF6.471.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6217
Deuteranopia (green-blind)
#655B28
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d21;
/* rgb */ color: rgb(22, 109, 33);
/* oklch */ color: oklch(46.9% 0.137 144.6);
Tailwind
colors: {
  custom: {
    50: '#649860',
    500: '#166d21',
    950: '#000000',
  },
}
SCSS
$custom: #166d21;
$custom-light: #649860;
$custom-dark: #000000;
JSON
{
  "hex": "#166d21",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 33
  },
  "hsl": {
    "h": 127.586,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46867,
    "c": 0.13661,
    "h": 144.6
  },
  "luminance": 0.11218
}

Semantic roles & 50–950 ramp

primary
#166D21
secondary
#A33C96
accent
#3ED4E9
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166D21

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

Preview Lab → · Contrast checker → · Palette generator →

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