#166F1D#166F1D

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

Color values

HEX#166F1D
RGBrgb(22, 111, 29)
HSLhsl(125, 67%, 26%)
HSVhsv(125, 80%, 44%)
CMYKcmyk(80.2%, 0%, 73.9%, 56.5%)
CIE-LABlab(40.62, -42.37, 36.69)
CIE-LCHlch(40.62, 56.05, 139.11°)
OKLaboklab(47.42% -0.1147 0.0838)
OKLCHoklch(47.42% 0.142 143.8)
XYZxyz(6.2367, 11.6274, 3.0778)
Luminance0.1163 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F1D #6F1668
analogous
#3B6F16 #166F1D #166F49
triadic
#166F1D #1D166F #6F1D16
tetradic
#166F1D #163B6F #6F1668 #6F4916
square
#166F1D #163B6F #6F1668 #6F4916
split-complementary
#166F1D #49166F #6F163B
monochromatic
#051A07 #0C3C10 #166F1D #20A22A #2BD538

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166F1D#FFFFFF#000000##FFFFFF
##166F1D1.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)
#716410
Deuteranopia (green-blind)
#675D25
Tritanopia (blue-blind)
#006C5F
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f1d;
/* rgb */ color: rgb(22, 111, 29);
/* oklch */ color: oklch(47.4% 0.142 143.8);
Tailwind
colors: {
  custom: {
    50: '#64995e',
    500: '#166f1d',
    950: '#000000',
  },
}
SCSS
$custom: #166f1d;
$custom-light: #64995e;
$custom-dark: #000000;
JSON
{
  "hex": "#166f1d",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 29
  },
  "hsl": {
    "h": 124.719,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47416,
    "c": 0.14204,
    "h": 143.8
  },
  "luminance": 0.11628
}

Semantic roles & 50–950 ramp

primary
#166F1D
secondary
#A53C9D
accent
#3EDCEA
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060E05
muted
#7A7E79

Preview Lab

Preview with #166F1D

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

Preview Lab → · Contrast checker → · Palette generator →

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