#166E17#166E17

#166E17 is a mid, vivid green. Relative luminance 0.114; OKLCH L 47.1% C 0.145 H 143.0°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).

Color values

HEX#166E17
RGBrgb(22, 110, 23)
HSLhsl(121, 67%, 26%)
HSVhsv(121, 80%, 43%)
CMYKcmyk(80%, 0%, 79.1%, 56.9%)
CIE-LABlab(40.22, -42.56, 38.69)
CIE-LCHlch(40.22, 57.52, 137.73°)
OKLaboklab(47.07% -0.1155 0.0872)
OKLCHoklch(47.07% 0.145 143)
XYZxyz(6.0611, 11.3836, 2.6883)
Luminance0.1138 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E17 #6E166D
analogous
#416E16 #166E17 #166E43
triadic
#166E17 #17166E #6E1716
tetradic
#166E17 #16416E #6E166D #6E4316
square
#166E17 #16416E #6E166D #6E4316
split-complementary
#166E17 #43166E #6E1641
monochromatic
#051A05 #0C3B0C #166E17 #20A122 #2AD42C

Accessibility & contrast

On white

6.41
#166E17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.28
#166E17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E17
6.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E17#FFFFFF#000000##FFFFFF
##166E171.006.413.286.41
#FFFFFF6.411.0021.001.00
#0000003.2821.001.0021.00
##FFFFFF6.411.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716305
Deuteranopia (green-blind)
#675C21
Tritanopia (blue-blind)
#006B5D
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166e17;
/* rgb */ color: rgb(22, 110, 23);
/* oklch */ color: oklch(47.1% 0.145 143.0);
Tailwind
colors: {
  custom: {
    50: '#65995b',
    500: '#166e17',
    950: '#000000',
  },
}
SCSS
$custom: #166e17;
$custom-light: #65995b;
$custom-dark: #000000;
JSON
{
  "hex": "#166e17",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 23
  },
  "hsl": {
    "h": 120.682,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.47071,
    "c": 0.14468,
    "h": 143
  },
  "luminance": 0.11384
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166E17

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

Preview Lab → · Contrast checker → · Palette generator →

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