#166A28#166A28

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

Color values

HEX#166A28
RGBrgb(22, 106, 40)
HSLhsl(133, 66%, 25%)
HSVhsv(133, 79%, 42%)
CMYKcmyk(79.2%, 0%, 62.3%, 58.4%)
CIE-LABlab(38.95, -39.25, 29.67)
CIE-LCHlch(38.95, 49.21, 142.91°)
OKLaboklab(46.07% -0.1057 0.0701)
OKLCHoklch(46.07% 0.127 146.4)
XYZxyz(5.8675, 10.6312, 3.7499)
Luminance0.1063 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A28 #6A1658
analogous
#2E6A16 #166A28 #166A52
triadic
#166A28 #28166A #6A2816
tetradic
#166A28 #162E6A #6A1658 #6A5216
square
#166A28 #162E6A #6A1658 #6A5216
split-complementary
#166A28 #52166A #6A162E
monochromatic
#05190A #0B3715 #166A28 #219D3B #2BCF4E

Accessibility & contrast

On white

6.72
#166A28 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166A28
6.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A28#FFFFFF#000000##FFFFFF
##166A281.006.723.136.72
#FFFFFF6.721.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.721.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a28;
/* rgb */ color: rgb(22, 106, 40);
/* oklch */ color: oklch(46.1% 0.127 146.4);
Tailwind
colors: {
  custom: {
    50: '#639564',
    500: '#166a28',
    950: '#000000',
  },
}
SCSS
$custom: #166a28;
$custom-light: #639564;
$custom-dark: #000000;
JSON
{
  "hex": "#166a28",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 40
  },
  "hsl": {
    "h": 132.857,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46068,
    "c": 0.12688,
    "h": 146.4
  },
  "luminance": 0.10632
}

Semantic roles & 50–950 ramp

primary
#166A28
secondary
#A03B8B
accent
#3FC4E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166A28

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

Preview Lab → · Contrast checker → · Palette generator →

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