#166C17#166C17

#166C17 is a mid, vivid green. Relative luminance 0.110; OKLCH L 46.5% C 0.142 H 143.0°. Best body text is #FFFFFF at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#166C17
RGBrgb(22, 108, 23)
HSLhsl(121, 66%, 25%)
HSVhsv(121, 80%, 42%)
CMYKcmyk(79.6%, 0%, 78.7%, 57.6%)
CIE-LABlab(39.51, -41.87, 37.98)
CIE-LCHlch(39.51, 56.53, 137.79°)
OKLaboklab(46.48% -0.1136 0.0857)
OKLCHoklch(46.48% 0.142 143)
XYZxyz(5.8477, 10.9569, 2.6171)
Luminance0.1096 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C17 #6C166B
analogous
#406C16 #166C17 #166C42
triadic
#166C17 #17166C #6C1716
tetradic
#166C17 #16406C #6C166B #6C4216
square
#166C17 #16406C #6C166B #6C4216
split-complementary
#166C17 #42166C #6C1640
monochromatic
#051905 #0C390C #166C17 #209F22 #2BD22D

Accessibility & contrast

On white

6.58
#166C17 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.19
#166C17 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C17
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C17#FFFFFF#000000##FFFFFF
##166C171.006.583.196.58
#FFFFFF6.581.0021.001.00
#0000003.1921.001.0021.00
##FFFFFF6.581.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6106
Deuteranopia (green-blind)
#655B20
Tritanopia (blue-blind)
#00695C
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c17;
/* rgb */ color: rgb(22, 108, 23);
/* oklch */ color: oklch(46.5% 0.142 143.0);
Tailwind
colors: {
  custom: {
    50: '#64975b',
    500: '#166c17',
    950: '#000000',
  },
}
SCSS
$custom: #166c17;
$custom-light: #64975b;
$custom-dark: #000000;
JSON
{
  "hex": "#166c17",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 23
  },
  "hsl": {
    "h": 120.698,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46479,
    "c": 0.14229,
    "h": 143
  },
  "luminance": 0.10958
}

Semantic roles & 50–950 ramp

primary
#166C17
secondary
#A23CA1
accent
#3FE7E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166C17

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

Preview Lab → · Contrast checker → · Palette generator →

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