#166B20#166B20

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

Color values

HEX#166B20
RGBrgb(22, 107, 32)
HSLhsl(127, 66%, 25%)
HSVhsv(127, 79%, 42%)
CMYKcmyk(79.4%, 0%, 70.1%, 58%)
CIE-LABlab(39.22, -40.63, 33.88)
CIE-LCHlch(39.22, 52.90, 140.18°)
OKLaboklab(46.27% -0.1098 0.0783)
OKLCHoklch(46.27% 0.135 144.5)
XYZxyz(5.8489, 10.7896, 3.1406)
Luminance0.1079 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B20 #6B1661
analogous
#366B16 #166B20 #166B4A
triadic
#166B20 #20166B #6B2016
tetradic
#166B20 #16366B #6B1661 #6B4A16
square
#166B20 #16366B #6B1661 #6B4A16
split-complementary
#166B20 #4A166B #6B1636
monochromatic
#051908 #0C3811 #166B20 #209E2F #2BD13E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166B20#FFFFFF#000000##FFFFFF
##166B201.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)
#6D6016
Deuteranopia (green-blind)
#645A27
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b20;
/* rgb */ color: rgb(22, 107, 32);
/* oklch */ color: oklch(46.3% 0.135 144.5);
Tailwind
colors: {
  custom: {
    50: '#63965f',
    500: '#166b20',
    950: '#000000',
  },
}
SCSS
$custom: #166b20;
$custom-light: #63965f;
$custom-dark: #000000;
JSON
{
  "hex": "#166b20",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 32
  },
  "hsl": {
    "h": 127.059,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46267,
    "c": 0.13485,
    "h": 144.5
  },
  "luminance": 0.1079
}

Semantic roles & 50–950 ramp

primary
#166B20
secondary
#A13B95
accent
#3FD5E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166B20

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

Preview Lab → · Contrast checker → · Palette generator →

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