#166F20#166F20

#166F20 is a mid, vivid green. Relative luminance 0.116; OKLCH L 47.4% C 0.140 H 144.4°. Best body text is #FFFFFF at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#166F20
RGBrgb(22, 111, 32)
HSLhsl(127, 67%, 26%)
HSVhsv(127, 80%, 44%)
CMYKcmyk(80.2%, 0%, 71.2%, 56.5%)
CIE-LABlab(40.64, -42.06, 35.41)
CIE-LCHlch(40.64, 54.98, 139.91°)
OKLaboklab(47.45% -0.1137 0.0815)
OKLCHoklch(47.45% 0.14 144.4)
XYZxyz(6.2756, 11.6430, 3.2828)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F20 #6F1665
analogous
#386F16 #166F20 #166F4C
triadic
#166F20 #20166F #6F2016
tetradic
#166F20 #16386F #6F1665 #6F4C16
square
#166F20 #16386F #6F1665 #6F4C16
split-complementary
#166F20 #4C166F #6F1638
monochromatic
#051A07 #0C3C11 #166F20 #20A22F #2BD53E

Accessibility & contrast

On white

6.31
#166F20 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#166F20 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F20
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F20#FFFFFF#000000##FFFFFF
##166F201.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716415
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f20;
/* rgb */ color: rgb(22, 111, 32);
/* oklch */ color: oklch(47.4% 0.140 144.4);
Tailwind
colors: {
  custom: {
    50: '#649960',
    500: '#166f20',
    950: '#000000',
  },
}
SCSS
$custom: #166f20;
$custom-light: #649960;
$custom-dark: #000000;
JSON
{
  "hex": "#166f20",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 32
  },
  "hsl": {
    "h": 126.742,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47445,
    "c": 0.13989,
    "h": 144.4
  },
  "luminance": 0.11644
}

Semantic roles & 50–950 ramp

primary
#166F20
secondary
#A53C99
accent
#3ED7EA
background
#F6F9F5
surface
#EBF2EA
border
#C6CCC6
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F20

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

Preview Lab → · Contrast checker → · Palette generator →

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