#166C27#166C27

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

Color values

HEX#166C27
RGBrgb(22, 108, 39)
HSLhsl(132, 66%, 25%)
HSVhsv(132, 80%, 42%)
CMYKcmyk(79.6%, 0%, 63.9%, 57.6%)
CIE-LABlab(39.65, -40.13, 30.99)
CIE-LCHlch(39.65, 50.70, 142.33°)
OKLaboklab(46.64% -0.1081 0.0729)
OKLCHoklch(46.64% 0.13 146)
XYZxyz(6.0592, 11.0415, 3.7309)
Luminance0.1104 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C27 #6C165B
analogous
#306C16 #166C27 #166C52
triadic
#166C27 #27166C #6C2716
tetradic
#166C27 #16306C #6C165B #6C5216
square
#166C27 #16306C #6C165B #6C5216
split-complementary
#166C27 #52166C #6C1630
monochromatic
#051909 #0C3915 #166C27 #209F39 #2BD24C

Accessibility & contrast

On white

6.55
#166C27 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166C27
6.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C27#FFFFFF#000000##FFFFFF
##166C271.006.553.216.55
#FFFFFF6.551.0021.001.00
#0000003.2121.001.0021.00
##FFFFFF6.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E6220
Deuteranopia (green-blind)
#645B2D
Tritanopia (blue-blind)
#00695D
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166c27;
/* rgb */ color: rgb(22, 108, 39);
/* oklch */ color: oklch(46.6% 0.130 146.0);
Tailwind
colors: {
  custom: {
    50: '#639764',
    500: '#166c27',
    950: '#000000',
  },
}
SCSS
$custom: #166c27;
$custom-light: #639764;
$custom-dark: #000000;
JSON
{
  "hex": "#166c27",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 39
  },
  "hsl": {
    "h": 131.86,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.46644,
    "c": 0.13041,
    "h": 146
  },
  "luminance": 0.11042
}

Semantic roles & 50–950 ramp

primary
#166C27
secondary
#A23C8E
accent
#3FC7E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166C27

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

Preview Lab → · Contrast checker → · Palette generator →

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