#166D1F#166D1F

#166D1F is a mid, vivid green. Relative luminance 0.112; OKLCH L 46.8% C 0.138 H 144.2°. Best body text is #FFFFFF at 6.48:1 contrast (WCAG AA passes).

Color values

HEX#166D1F
RGBrgb(22, 109, 31)
HSLhsl(126, 66%, 26%)
HSVhsv(126, 80%, 43%)
CMYKcmyk(79.8%, 0%, 71.6%, 57.3%)
CIE-LABlab(39.93, -41.46, 35.09)
CIE-LCHlch(39.93, 54.32, 139.76°)
OKLaboklab(46.85% -0.1121 0.0807)
OKLCHoklch(46.85% 0.138 144.2)
XYZxyz(6.0464, 11.2061, 3.1404)
Luminance0.1121 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D1F #6D1664
analogous
#386D16 #166D1F #166D4A
triadic
#166D1F #1F166D #6D1F16
tetradic
#166D1F #16386D #6D1664 #6D4A16
square
#166D1F #16386D #6D1664 #6D4A16
split-complementary
#166D1F #4A166D #6D1638
monochromatic
#051907 #0C3A11 #166D1F #20A02D #2BD33C

Accessibility & contrast

On white

6.48
#166D1F on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.24
#166D1F on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D1F
6.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D1F#FFFFFF#000000##FFFFFF
##166D1F1.006.483.246.48
#FFFFFF6.481.0021.001.00
#0000003.2421.001.0021.00
##FFFFFF6.481.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F6214
Deuteranopia (green-blind)
#655B26
Tritanopia (blue-blind)
#006A5D
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166d1f;
/* rgb */ color: rgb(22, 109, 31);
/* oklch */ color: oklch(46.8% 0.138 144.2);
Tailwind
colors: {
  custom: {
    50: '#64985f',
    500: '#166d1f',
    950: '#000000',
  },
}
SCSS
$custom: #166d1f;
$custom-light: #64985f;
$custom-dark: #000000;
JSON
{
  "hex": "#166d1f",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 31
  },
  "hsl": {
    "h": 126.207,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.46846,
    "c": 0.13812,
    "h": 144.2
  },
  "luminance": 0.11207
}

Semantic roles & 50–950 ramp

primary
#166D1F
secondary
#A33C98
accent
#3ED8E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166D1F

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

Preview Lab → · Contrast checker → · Palette generator →

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