#166B1B#166B1B

#166B1B is a mid, vivid green. Relative luminance 0.108; OKLCH L 46.2% C 0.138 H 143.6°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#166B1B
RGBrgb(22, 107, 27)
HSLhsl(124, 66%, 25%)
HSVhsv(124, 79%, 42%)
CMYKcmyk(79.4%, 0%, 74.8%, 58%)
CIE-LABlab(39.18, -41.16, 36.04)
CIE-LCHlch(39.18, 54.71, 138.79°)
OKLaboklab(46.22% -0.1115 0.0822)
OKLCHoklch(46.22% 0.138 143.6)
XYZxyz(5.7860, 10.7644, 2.8095)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B1B #6B1666
analogous
#3C6B16 #166B1B #166B45
triadic
#166B1B #1B166B #6B1B16
tetradic
#166B1B #163C6B #6B1666 #6B4516
square
#166B1B #163C6B #6B1666 #6B4516
split-complementary
#166B1B #45166B #6B163C
monochromatic
#051906 #0C380E #166B1B #209E28 #2BD135

Accessibility & contrast

On white

6.66
#166B1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166B1B
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166B1B#FFFFFF#000000##FFFFFF
##166B1B1.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166b1b;
/* rgb */ color: rgb(22, 107, 27);
/* oklch */ color: oklch(46.2% 0.138 143.6);
Tailwind
colors: {
  custom: {
    50: '#64965c',
    500: '#166b1b',
    950: '#000000',
  },
}
SCSS
$custom: #166b1b;
$custom-light: #64965c;
$custom-dark: #000000;
JSON
{
  "hex": "#166b1b",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 27
  },
  "hsl": {
    "h": 123.529,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46217,
    "c": 0.13849,
    "h": 143.6
  },
  "luminance": 0.10765
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #166B1B

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

Preview Lab → · Contrast checker → · Palette generator →

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