#166A20#166A20

#166A20 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.134 H 144.6°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#166A20
RGBrgb(22, 106, 32)
HSLhsl(127, 66%, 25%)
HSVhsv(127, 79%, 42%)
CMYKcmyk(79.2%, 0%, 69.8%, 58.4%)
CIE-LABlab(38.87, -40.27, 33.49)
CIE-LCHlch(38.87, 52.38, 140.25°)
OKLaboklab(45.97% -0.1088 0.0775)
OKLCHoklch(45.97% 0.134 144.6)
XYZxyz(5.7452, 10.5823, 3.1060)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A20 #6A1660
analogous
#366A16 #166A20 #166A4A
triadic
#166A20 #20166A #6A2016
tetradic
#166A20 #16366A #6A1660 #6A4A16
square
#166A20 #16366A #6A1660 #6A4A16
split-complementary
#166A20 #4A166A #6A1636
monochromatic
#051908 #0B3711 #166A20 #219D2F #2BCF3F

Accessibility & contrast

On white

6.74
#166A20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A20
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A20#FFFFFF#000000##FFFFFF
##166A201.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F16
Deuteranopia (green-blind)
#635927
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a20;
/* rgb */ color: rgb(22, 106, 32);
/* oklch */ color: oklch(46.0% 0.134 144.6);
Tailwind
colors: {
  custom: {
    50: '#63965f',
    500: '#166a20',
    950: '#000000',
  },
}
SCSS
$custom: #166a20;
$custom-light: #63965f;
$custom-dark: #000000;
JSON
{
  "hex": "#166a20",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 32
  },
  "hsl": {
    "h": 127.143,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45971,
    "c": 0.13357,
    "h": 144.6
  },
  "luminance": 0.10583
}

Semantic roles & 50–950 ramp

primary
#166A20
secondary
#A03B94
accent
#3FD4E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A20

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

Preview Lab → · Contrast checker → · Palette generator →

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