#166C20#166C20

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

Color values

HEX#166C20
RGBrgb(22, 108, 32)
HSLhsl(127, 66%, 25%)
HSVhsv(127, 80%, 42%)
CMYKcmyk(79.6%, 0%, 70.4%, 57.6%)
CIE-LABlab(39.58, -40.99, 34.26)
CIE-LCHlch(39.58, 53.43, 140.11°)
OKLaboklab(46.56% -0.1108 0.0791)
OKLCHoklch(46.56% 0.136 144.5)
XYZxyz(5.9537, 10.9993, 3.1755)
Luminance0.1100 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C20 #6C1662
analogous
#376C16 #166C20 #166C4B
triadic
#166C20 #20166C #6C2016
tetradic
#166C20 #16376C #6C1662 #6C4B16
square
#166C20 #16376C #6C1662 #6C4B16
split-complementary
#166C20 #4B166C #6C1637
monochromatic
#051908 #0C3911 #166C20 #209F2F #2BD23E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166C20#FFFFFF#000000##FFFFFF
##166C201.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)
#6E6116
Deuteranopia (green-blind)
#645B27
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c20;
/* rgb */ color: rgb(22, 108, 32);
/* oklch */ color: oklch(46.6% 0.136 144.5);
Tailwind
colors: {
  custom: {
    50: '#63975f',
    500: '#166c20',
    950: '#000000',
  },
}
SCSS
$custom: #166c20;
$custom-light: #63975f;
$custom-dark: #000000;
JSON
{
  "hex": "#166c20",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 32
  },
  "hsl": {
    "h": 126.977,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46562,
    "c": 0.13612,
    "h": 144.5
  },
  "luminance": 0.11
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166C20

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

Preview Lab → · Contrast checker → · Palette generator →

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