#166A1E#166A1E

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

Color values

HEX#166A1E
RGBrgb(22, 106, 30)
HSLhsl(126, 66%, 25%)
HSVhsv(126, 79%, 42%)
CMYKcmyk(79.2%, 0%, 71.7%, 58.4%)
CIE-LABlab(38.85, -40.49, 34.38)
CIE-LCHlch(38.85, 53.12, 139.67°)
OKLaboklab(45.95% -0.1095 0.0791)
OKLCHoklch(45.95% 0.135 144.2)
XYZxyz(5.7189, 10.5717, 2.9672)
Luminance0.1057 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A1E #6A1662
analogous
#386A16 #166A1E #166A48
triadic
#166A1E #1E166A #6A1E16
tetradic
#166A1E #16386A #6A1662 #6A4816
square
#166A1E #16386A #6A1662 #6A4816
split-complementary
#166A1E #48166A #6A1638
monochromatic
#051907 #0B3710 #166A1E #219D2C #2BCF3B

Accessibility & contrast

On white

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

On black

3.11
#166A1E on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##166A1E#FFFFFF#000000##FFFFFF
##166A1E1.006.743.116.74
#FFFFFF6.741.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.741.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a1e;
/* rgb */ color: rgb(22, 106, 30);
/* oklch */ color: oklch(46.0% 0.135 144.2);
Tailwind
colors: {
  custom: {
    50: '#63965e',
    500: '#166a1e',
    950: '#000000',
  },
}
SCSS
$custom: #166a1e;
$custom-light: #63965e;
$custom-dark: #000000;
JSON
{
  "hex": "#166a1e",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 30
  },
  "hsl": {
    "h": 125.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4595,
    "c": 0.1351,
    "h": 144.2
  },
  "luminance": 0.10572
}

Semantic roles & 50–950 ramp

primary
#166A1E
secondary
#A03B97
accent
#3FD8E9
background
#F6F9F5
surface
#EBF2E9
border
#C6CCC5
text
#060D04
muted
#7A7E79

Preview Lab

Preview with #166A1E

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

Preview Lab → · Contrast checker → · Palette generator →

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