#166F1B#166F1B

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

Color values

HEX#166F1B
RGBrgb(22, 111, 27)
HSLhsl(123, 67%, 26%)
HSVhsv(123, 80%, 44%)
CMYKcmyk(80.2%, 0%, 75.7%, 56.5%)
CIE-LABlab(40.60, -42.56, 37.51)
CIE-LCHlch(40.60, 56.73, 138.61°)
OKLaboklab(47.4% -0.1153 0.0853)
OKLCHoklch(47.4% 0.143 143.5)
XYZxyz(6.2127, 11.6179, 2.9517)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F1B #6F166A
analogous
#3D6F16 #166F1B #166F47
triadic
#166F1B #1B166F #6F1B16
tetradic
#166F1B #163D6F #6F166A #6F4716
square
#166F1B #163D6F #6F166A #6F4716
split-complementary
#166F1B #47166F #6F163D
monochromatic
#051A06 #0C3C0F #166F1B #20A227 #2BD534

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F1B#FFFFFF#000000##FFFFFF
##166F1B1.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)
#71640D
Deuteranopia (green-blind)
#685D24
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f1b;
/* rgb */ color: rgb(22, 111, 27);
/* oklch */ color: oklch(47.4% 0.143 143.5);
Tailwind
colors: {
  custom: {
    50: '#65995d',
    500: '#166f1b',
    950: '#000000',
  },
}
SCSS
$custom: #166f1b;
$custom-light: #65995d;
$custom-dark: #000000;
JSON
{
  "hex": "#166f1b",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 27
  },
  "hsl": {
    "h": 123.371,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47398,
    "c": 0.14339,
    "h": 143.5
  },
  "luminance": 0.11619
}

Semantic roles & 50–950 ramp

primary
#166F1B
secondary
#A53C9F
accent
#3EE0EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166F1B

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

Preview Lab → · Contrast checker → · Palette generator →

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