#166B16#166B16

#166B16 is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.142 H 142.8°. Best body text is #FFFFFF at 6.67:1 contrast (WCAG AA passes).

Color values

HEX#166B16
RGBrgb(22, 107, 22)
HSLhsl(120, 66%, 25%)
HSVhsv(120, 79%, 42%)
CMYKcmyk(79.4%, 0%, 79.4%, 58%)
CIE-LABlab(39.14, -41.60, 38.00)
CIE-LCHlch(39.14, 56.35, 137.59°)
OKLaboklab(46.18% -0.1129 0.0856)
OKLCHoklch(46.18% 0.142 142.8)
XYZxyz(5.7330, 10.7432, 2.5304)
Luminance0.1074 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B16 #6B166B
analogous
#406B16 #166B16 #166B40
triadic
#166B16 #16166B #6B1616
tetradic
#166B16 #16406B #6B166B #6B4016
square
#166B16 #16406B #6B166B #6B4016
split-complementary
#166B16 #40166B #6B1640
monochromatic
#051905 #0C380C #166B16 #209E20 #2BD12B

Accessibility & contrast

On white

6.67
#166B16 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#166B16 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166B16
6.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B16#FFFFFF#000000##FFFFFF
##166B161.006.673.156.67
#FFFFFF6.671.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.671.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6004
Deuteranopia (green-blind)
#645A1F
Tritanopia (blue-blind)
#00685B
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166b16;
/* rgb */ color: rgb(22, 107, 22);
/* oklch */ color: oklch(46.2% 0.142 142.8);
Tailwind
colors: {
  custom: {
    50: '#64965a',
    500: '#166b16',
    950: '#000000',
  },
}
SCSS
$custom: #166b16;
$custom-light: #64965a;
$custom-dark: #000000;
JSON
{
  "hex": "#166b16",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 22
  },
  "hsl": {
    "h": 120,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46176,
    "c": 0.14169,
    "h": 142.8
  },
  "luminance": 0.10744
}

Semantic roles & 50–950 ramp

primary
#166B16
secondary
#A13BA1
accent
#3FE9E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166B16

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

Preview Lab → · Contrast checker → · Palette generator →

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