#166F17#166F17

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

Color values

HEX#166F17
RGBrgb(22, 111, 23)
HSLhsl(121, 67%, 26%)
HSVhsv(121, 80%, 44%)
CMYKcmyk(80.2%, 0%, 79.3%, 56.5%)
CIE-LABlab(40.57, -42.91, 39.04)
CIE-LCHlch(40.57, 58.01, 137.70°)
OKLaboklab(47.37% -0.1164 0.0879)
OKLCHoklch(47.37% 0.146 143)
XYZxyz(6.1696, 11.6006, 2.7244)
Luminance0.1160 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F17 #6F166E
analogous
#416F16 #166F17 #166F43
triadic
#166F17 #17166F #6F1716
tetradic
#166F17 #16416F #6F166E #6F4316
square
#166F17 #16416F #6F166E #6F4316
split-complementary
#166F17 #43166F #6F1641
monochromatic
#051A05 #0C3C0C #166F17 #20A222 #2BD52C

Accessibility & contrast

On white

6.32
#166F17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.32
#166F17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F17
6.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F17#FFFFFF#000000##FFFFFF
##166F171.006.323.326.32
#FFFFFF6.321.0021.001.00
#0000003.3221.001.0021.00
##FFFFFF6.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#685D21
Tritanopia (blue-blind)
#006C5E
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f17;
/* rgb */ color: rgb(22, 111, 23);
/* oklch */ color: oklch(47.4% 0.146 143.0);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#166f17',
    950: '#000000',
  },
}
SCSS
$custom: #166f17;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#166f17",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 23
  },
  "hsl": {
    "h": 120.674,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47366,
    "c": 0.14588,
    "h": 143
  },
  "luminance": 0.11601
}

Semantic roles & 50–950 ramp

primary
#166F17
secondary
#A53CA4
accent
#3EE8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166F17

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

Preview Lab → · Contrast checker → · Palette generator →

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