#166A2A#166A2A

#166A2A is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.125 H 147.0°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#166A2A
RGBrgb(22, 106, 42)
HSLhsl(134, 66%, 25%)
HSVhsv(134, 79%, 42%)
CMYKcmyk(79.2%, 0%, 60.4%, 58.4%)
CIE-LABlab(38.98, -38.97, 28.67)
CIE-LCHlch(38.98, 48.38, 143.66°)
OKLaboklab(46.1% -0.1049 0.0681)
OKLCHoklch(46.1% 0.125 147)
XYZxyz(5.9024, 10.6451, 3.9337)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A2A #6A1656
analogous
#2C6A16 #166A2A #166A54
triadic
#166A2A #2A166A #6A2A16
tetradic
#166A2A #162C6A #6A1656 #6A5416
square
#166A2A #162C6A #6A1656 #6A5416
split-complementary
#166A2A #54166A #6A162C
monochromatic
#05190A #0B3716 #166A2A #219D3E #2BCF52

Accessibility & contrast

On white

6.71
#166A2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#166A2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A2A
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A2A#FFFFFF#000000##FFFFFF
##166A2A1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6024
Deuteranopia (green-blind)
#62592F
Tritanopia (blue-blind)
#00675C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a2a;
/* rgb */ color: rgb(22, 106, 42);
/* oklch */ color: oklch(46.1% 0.125 147.0);
Tailwind
colors: {
  custom: {
    50: '#629565',
    500: '#166a2a',
    950: '#000000',
  },
}
SCSS
$custom: #166a2a;
$custom-light: #629565;
$custom-dark: #000000;
JSON
{
  "hex": "#166a2a",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 42
  },
  "hsl": {
    "h": 134.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46096,
    "c": 0.12507,
    "h": 147
  },
  "luminance": 0.10646
}

Semantic roles & 50–950 ramp

primary
#166A2A
secondary
#A03B88
accent
#3FC0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A2A

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

Preview Lab → · Contrast checker → · Palette generator →

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