#166A1C#166A1C

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

Color values

HEX#166A1C
RGBrgb(22, 106, 28)
HSLhsl(124, 66%, 25%)
HSVhsv(124, 79%, 42%)
CMYKcmyk(79.2%, 0%, 73.6%, 58.4%)
CIE-LABlab(38.83, -40.70, 35.25)
CIE-LCHlch(38.83, 53.84, 139.11°)
OKLaboklab(45.93% -0.1102 0.0807)
OKLCHoklch(45.93% 0.137 143.8)
XYZxyz(5.6941, 10.5618, 2.8369)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A1C #6A1664
analogous
#3A6A16 #166A1C #166A46
triadic
#166A1C #1C166A #6A1C16
tetradic
#166A1C #163A6A #6A1664 #6A4616
square
#166A1C #163A6A #6A1664 #6A4616
split-complementary
#166A1C #46166A #6A163A
monochromatic
#051907 #0B370F #166A1C #219D29 #2BCF37

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166A1C#FFFFFF#000000##FFFFFF
##166A1C1.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)
#6C5F10
Deuteranopia (green-blind)
#635924
Tritanopia (blue-blind)
#00675A
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a1c;
/* rgb */ color: rgb(22, 106, 28);
/* oklch */ color: oklch(45.9% 0.137 143.8);
Tailwind
colors: {
  custom: {
    50: '#63965d',
    500: '#166a1c',
    950: '#000000',
  },
}
SCSS
$custom: #166a1c;
$custom-light: #63965d;
$custom-dark: #000000;
JSON
{
  "hex": "#166a1c",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 28
  },
  "hsl": {
    "h": 124.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45931,
    "c": 0.13654,
    "h": 143.8
  },
  "luminance": 0.10562
}

Semantic roles & 50–950 ramp

primary
#166A1C
secondary
#A03B99
accent
#3FDCE9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A1C

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

Preview Lab → · Contrast checker → · Palette generator →

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