#166A1B#166A1B

#166A1B is a mid, vivid green. Relative luminance 0.106; OKLCH L 45.9% C 0.137 H 143.6°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#166A1B
RGBrgb(22, 106, 27)
HSLhsl(124, 66%, 25%)
HSVhsv(124, 79%, 42%)
CMYKcmyk(79.2%, 0%, 74.5%, 58.4%)
CIE-LABlab(38.82, -40.80, 35.67)
CIE-LCHlch(38.82, 54.19, 138.84°)
OKLaboklab(45.92% -0.1105 0.0814)
OKLCHoklch(45.92% 0.137 143.6)
XYZxyz(5.6824, 10.5571, 2.7750)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A1B #6A1665
analogous
#3B6A16 #166A1B #166A45
triadic
#166A1B #1B166A #6A1B16
tetradic
#166A1B #163B6A #6A1665 #6A4516
square
#166A1B #163B6A #6A1665 #6A4516
split-complementary
#166A1B #45166A #6A163B
monochromatic
#051906 #0B370E #166A1B #219D28 #2BCF35

Accessibility & contrast

On white

6.75
#166A1B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166A1B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A1B
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A1B#FFFFFF#000000##FFFFFF
##166A1B1.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F0E
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a1b;
/* rgb */ color: rgb(22, 106, 27);
/* oklch */ color: oklch(45.9% 0.137 143.6);
Tailwind
colors: {
  custom: {
    50: '#63965c',
    500: '#166a1b',
    950: '#000000',
  },
}
SCSS
$custom: #166a1b;
$custom-light: #63965c;
$custom-dark: #000000;
JSON
{
  "hex": "#166a1b",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 27
  },
  "hsl": {
    "h": 123.571,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45921,
    "c": 0.13725,
    "h": 143.6
  },
  "luminance": 0.10558
}

Semantic roles & 50–950 ramp

primary
#166A1B
secondary
#A03B9A
accent
#3FDEE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A1B

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

Preview Lab → · Contrast checker → · Palette generator →

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