#166F1F#166F1F

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

Color values

HEX#166F1F
RGBrgb(22, 111, 31)
HSLhsl(126, 67%, 26%)
HSVhsv(126, 80%, 44%)
CMYKcmyk(80.2%, 0%, 72.1%, 56.5%)
CIE-LABlab(40.63, -42.17, 35.85)
CIE-LCHlch(40.63, 55.35, 139.63°)
OKLaboklab(47.44% -0.114 0.0823)
OKLCHoklch(47.44% 0.141 144.2)
XYZxyz(6.2622, 11.6376, 3.2123)
Luminance0.1164 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F1F #6F1666
analogous
#396F16 #166F1F #166F4B
triadic
#166F1F #1F166F #6F1F16
tetradic
#166F1F #16396F #6F1666 #6F4B16
square
#166F1F #16396F #6F1666 #6F4B16
split-complementary
#166F1F #4B166F #6F1639
monochromatic
#051A07 #0C3C11 #166F1F #20A22D #2BD53C

Accessibility & contrast

On white

6.31
#166F1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.33
#166F1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F1F
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F1F#FFFFFF#000000##FFFFFF
##166F1F1.006.313.336.31
#FFFFFF6.311.0021.001.00
#0000003.3321.001.0021.00
##FFFFFF6.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#716413
Deuteranopia (green-blind)
#675D27
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f1f;
/* rgb */ color: rgb(22, 111, 31);
/* oklch */ color: oklch(47.4% 0.141 144.2);
Tailwind
colors: {
  custom: {
    50: '#64995f',
    500: '#166f1f',
    950: '#000000',
  },
}
SCSS
$custom: #166f1f;
$custom-light: #64995f;
$custom-dark: #000000;
JSON
{
  "hex": "#166f1f",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 31
  },
  "hsl": {
    "h": 126.067,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47435,
    "c": 0.14062,
    "h": 144.2
  },
  "luminance": 0.11638
}

Semantic roles & 50–950 ramp

primary
#166F1F
secondary
#A53C9A
accent
#3ED8EA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F1F

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

Preview Lab → · Contrast checker → · Palette generator →

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