#166F1C#166F1C

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

Color values

HEX#166F1C
RGBrgb(22, 111, 28)
HSLhsl(124, 67%, 26%)
HSVhsv(124, 80%, 44%)
CMYKcmyk(80.2%, 0%, 74.8%, 56.5%)
CIE-LABlab(40.61, -42.47, 37.10)
CIE-LCHlch(40.61, 56.40, 138.86°)
OKLaboklab(47.41% -0.115 0.0845)
OKLCHoklch(47.41% 0.143 143.7)
XYZxyz(6.2245, 11.6226, 3.0137)
Luminance0.1162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F1C #6F1669
analogous
#3C6F16 #166F1C #166F48
triadic
#166F1C #1C166F #6F1C16
tetradic
#166F1C #163C6F #6F1669 #6F4816
square
#166F1C #163C6F #6F1669 #6F4816
split-complementary
#166F1C #48166F #6F163C
monochromatic
#051A06 #0C3C0F #166F1C #20A229 #2BD536

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #166f1c;
/* rgb */ color: rgb(22, 111, 28);
/* oklch */ color: oklch(47.4% 0.143 143.7);
Tailwind
colors: {
  custom: {
    50: '#65995e',
    500: '#166f1c',
    950: '#000000',
  },
}
SCSS
$custom: #166f1c;
$custom-light: #65995e;
$custom-dark: #000000;
JSON
{
  "hex": "#166f1c",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 28
  },
  "hsl": {
    "h": 124.045,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47407,
    "c": 0.14271,
    "h": 143.7
  },
  "luminance": 0.11623
}

Semantic roles & 50–950 ramp

primary
#166F1C
secondary
#A53C9E
accent
#3EDEEA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E04
muted
#7A7E79

Preview Lab

Preview with #166F1C

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

Preview Lab → · Contrast checker → · Palette generator →

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