#166C2A#166C2A

#166C2A is a mid, vivid green. Relative luminance 0.111; OKLCH L 46.7% C 0.128 H 146.8°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#166C2A
RGBrgb(22, 108, 42)
HSLhsl(134, 66%, 25%)
HSVhsv(134, 80%, 42%)
CMYKcmyk(79.6%, 0%, 61.1%, 57.6%)
CIE-LABlab(39.68, -39.72, 29.50)
CIE-LCHlch(39.68, 49.48, 143.39°)
OKLaboklab(46.68% -0.1069 0.07)
OKLCHoklch(46.68% 0.128 146.8)
XYZxyz(6.1109, 11.0621, 4.0032)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C2A #6C1658
analogous
#2D6C16 #166C2A #166C55
triadic
#166C2A #2A166C #6C2A16
tetradic
#166C2A #162D6C #6C1658 #6C5516
square
#166C2A #162D6C #6C1658 #6C5516
split-complementary
#166C2A #55166C #6C162D
monochromatic
#05190A #0C3916 #166C2A #209F3E #2BD252

Accessibility & contrast

On white

6.54
#166C2A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.21
#166C2A on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C2A
6.54:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C2A#FFFFFF#000000##FFFFFF
##166C2A1.006.543.216.54
#FFFFFF6.541.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.541.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D6223
Deuteranopia (green-blind)
#645B2F
Tritanopia (blue-blind)
#00695E
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c2a;
/* rgb */ color: rgb(22, 108, 42);
/* oklch */ color: oklch(46.7% 0.128 146.8);
Tailwind
colors: {
  custom: {
    50: '#639766',
    500: '#166c2a',
    950: '#000000',
  },
}
SCSS
$custom: #166c2a;
$custom-light: #639766;
$custom-dark: #000000;
JSON
{
  "hex": "#166c2a",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 42
  },
  "hsl": {
    "h": 133.953,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46684,
    "c": 0.12777,
    "h": 146.8
  },
  "luminance": 0.11063
}

Semantic roles & 50–950 ramp

primary
#166C2A
secondary
#A23C8A
accent
#3FC1E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166C2A

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

Preview Lab → · Contrast checker → · Palette generator →

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