#166A1F#166A1F

#166A1F is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.0% C 0.134 H 144.4°. Best body text is #FFFFFF at 6.74:1 contrast (WCAG AA passes).

Color values

HEX#166A1F
RGBrgb(22, 106, 31)
HSLhsl(126, 66%, 25%)
HSVhsv(126, 79%, 42%)
CMYKcmyk(79.2%, 0%, 70.8%, 58.4%)
CIE-LABlab(38.86, -40.38, 33.94)
CIE-LCHlch(38.86, 52.75, 139.96°)
OKLaboklab(45.96% -0.1092 0.0783)
OKLCHoklch(45.96% 0.134 144.4)
XYZxyz(5.7318, 10.5769, 3.0355)
Luminance0.1058 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A1F #6A1661
analogous
#376A16 #166A1F #166A49
triadic
#166A1F #1F166A #6A1F16
tetradic
#166A1F #16376A #6A1661 #6A4916
square
#166A1F #16376A #6A1661 #6A4916
split-complementary
#166A1F #49166A #6A1637
monochromatic
#051907 #0B3710 #166A1F #219D2E #2BCF3D

Accessibility & contrast

On white

6.74
#166A1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.12
#166A1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A1F
6.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A1F#FFFFFF#000000##FFFFFF
##166A1F1.006.743.126.74
#FFFFFF6.741.0021.001.00
#0000003.1221.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#00675B
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166a1f;
/* rgb */ color: rgb(22, 106, 31);
/* oklch */ color: oklch(46.0% 0.134 144.4);
Tailwind
colors: {
  custom: {
    50: '#63965f',
    500: '#166a1f',
    950: '#000000',
  },
}
SCSS
$custom: #166a1f;
$custom-light: #63965f;
$custom-dark: #000000;
JSON
{
  "hex": "#166a1f",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 31
  },
  "hsl": {
    "h": 126.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.45961,
    "c": 0.13434,
    "h": 144.4
  },
  "luminance": 0.10578
}

Semantic roles & 50–950 ramp

primary
#166A1F
secondary
#A03B96
accent
#3FD6E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166A1F

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

Preview Lab → · Contrast checker → · Palette generator →

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