#166D20#166D20

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

Color values

HEX#166D20
RGBrgb(22, 109, 32)
HSLhsl(127, 66%, 26%)
HSVhsv(127, 80%, 43%)
CMYKcmyk(79.8%, 0%, 70.6%, 57.3%)
CIE-LABlab(39.93, -41.35, 34.65)
CIE-LCHlch(39.93, 53.95, 140.04°)
OKLaboklab(46.86% -0.1117 0.0799)
OKLCHoklch(46.86% 0.137 144.4)
XYZxyz(6.0598, 11.2114, 3.2109)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D20 #6D1663
analogous
#376D16 #166D20 #166D4B
triadic
#166D20 #20166D #6D2016
tetradic
#166D20 #16376D #6D1663 #6D4B16
square
#166D20 #16376D #6D1663 #6D4B16
split-complementary
#166D20 #4B166D #6D1637
monochromatic
#051907 #0C3A11 #166D20 #20A02F #2BD33E

Accessibility & contrast

On white

6.48
#166D20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166D20
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D20#FFFFFF#000000##FFFFFF
##166D201.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166d20;
/* rgb */ color: rgb(22, 109, 32);
/* oklch */ color: oklch(46.9% 0.137 144.4);
Tailwind
colors: {
  custom: {
    50: '#649860',
    500: '#166d20',
    950: '#000000',
  },
}
SCSS
$custom: #166d20;
$custom-light: #649860;
$custom-dark: #000000;
JSON
{
  "hex": "#166d20",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 32
  },
  "hsl": {
    "h": 126.897,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46857,
    "c": 0.13738,
    "h": 144.4
  },
  "luminance": 0.11212
}

Semantic roles & 50–950 ramp

primary
#166D20
secondary
#A33C97
accent
#3ED6E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166D20

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

Preview Lab → · Contrast checker → · Palette generator →

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