#166C1B#166C1B

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

Color values

HEX#166C1B
RGBrgb(22, 108, 27)
HSLhsl(123, 66%, 25%)
HSVhsv(123, 80%, 42%)
CMYKcmyk(79.6%, 0%, 75%, 57.6%)
CIE-LABlab(39.54, -41.51, 36.41)
CIE-LCHlch(39.54, 55.22, 138.75°)
OKLaboklab(46.51% -0.1124 0.083)
OKLCHoklch(46.51% 0.14 143.6)
XYZxyz(5.8909, 10.9741, 2.8445)
Luminance0.1098 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C1B #6C1667
analogous
#3C6C16 #166C1B #166C46
triadic
#166C1B #1B166C #6C1B16
tetradic
#166C1B #163C6C #6C1667 #6C4616
square
#166C1B #163C6C #6C1667 #6C4616
split-complementary
#166C1B #46166C #6C163C
monochromatic
#051906 #0C390E #166C1B #209F28 #2BD234

Accessibility & contrast

On white

6.57
#166C1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.20
#166C1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C1B
6.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C1B#FFFFFF#000000##FFFFFF
##166C1B1.006.573.206.57
#FFFFFF6.571.0021.001.00
#0000003.2021.001.0021.00
##FFFFFF6.571.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166c1b;
/* rgb */ color: rgb(22, 108, 27);
/* oklch */ color: oklch(46.5% 0.140 143.6);
Tailwind
colors: {
  custom: {
    50: '#64975d',
    500: '#166c1b',
    950: '#000000',
  },
}
SCSS
$custom: #166c1b;
$custom-light: #64975d;
$custom-dark: #000000;
JSON
{
  "hex": "#166c1b",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 27
  },
  "hsl": {
    "h": 123.488,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46513,
    "c": 0.13972,
    "h": 143.6
  },
  "luminance": 0.10975
}

Semantic roles & 50–950 ramp

primary
#166C1B
secondary
#A23C9C
accent
#3FDFE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166C1B

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

Preview Lab → · Contrast checker → · Palette generator →

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