#166C28#166C28

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

Color values

HEX#166C28
RGBrgb(22, 108, 40)
HSLhsl(133, 66%, 25%)
HSVhsv(133, 80%, 42%)
CMYKcmyk(79.6%, 0%, 63%, 57.6%)
CIE-LABlab(39.66, -40.00, 30.50)
CIE-LCHlch(39.66, 50.30, 142.67°)
OKLaboklab(46.66% -0.1077 0.0719)
OKLCHoklch(46.66% 0.13 146.3)
XYZxyz(6.0760, 11.0482, 3.8194)
Luminance0.1105 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C28 #6C165A
analogous
#2F6C16 #166C28 #166C53
triadic
#166C28 #28166C #6C2816
tetradic
#166C28 #162F6C #6C165A #6C5316
square
#166C28 #162F6C #6C165A #6C5316
split-complementary
#166C28 #53166C #6C162F
monochromatic
#051909 #0C3915 #166C28 #209F3B #2BD24E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166C28#FFFFFF#000000##FFFFFF
##166C281.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)
#6E6221
Deuteranopia (green-blind)
#645B2E
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c28;
/* rgb */ color: rgb(22, 108, 40);
/* oklch */ color: oklch(46.7% 0.130 146.3);
Tailwind
colors: {
  custom: {
    50: '#639764',
    500: '#166c28',
    950: '#000000',
  },
}
SCSS
$custom: #166c28;
$custom-light: #639764;
$custom-dark: #000000;
JSON
{
  "hex": "#166c28",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 40
  },
  "hsl": {
    "h": 132.558,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46657,
    "c": 0.12954,
    "h": 146.3
  },
  "luminance": 0.11049
}

Semantic roles & 50–950 ramp

primary
#166C28
secondary
#A23C8D
accent
#3FC5E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166C28

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

Preview Lab → · Contrast checker → · Palette generator →

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