#166C40#166C40

#166C40 is a mid, moderate green. Relative luminance 0.113; OKLCH L 47.1% C 0.106 H 155.4°. Best body text is #FFFFFF at 6.46:1 contrast (WCAG AA passes).

Color values

HEX#166C40
RGBrgb(22, 108, 64)
HSLhsl(149, 66%, 25%)
HSVhsv(149, 80%, 42%)
CMYKcmyk(79.6%, 0%, 40.7%, 57.6%)
CIE-LABlab(40.02, -35.78, 17.73)
CIE-LCHlch(40.02, 39.93, 153.64°)
OKLaboklab(47.07% -0.0965 0.0443)
OKLCHoklch(47.07% 0.106 155.4)
XYZxyz(6.6182, 11.2651, 6.6751)
Luminance0.1127 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166C40 #6C1642
analogous
#176C16 #166C40 #166C6B
triadic
#166C40 #40166C #6C4016
tetradic
#166C40 #16176C #6C1642 #6C6B16
square
#166C40 #16176C #6C1642 #6C6B16
split-complementary
#166C40 #6B166C #6C1617
monochromatic
#05190F #0C3922 #166C40 #209F5E #2BD27C

Accessibility & contrast

On white

6.46
#166C40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.25
#166C40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166C40
6.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166C40#FFFFFF#000000##FFFFFF
##166C401.006.463.256.46
#FFFFFF6.461.0021.001.00
#0000003.2521.001.0021.00
##FFFFFF6.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6C633D
Deuteranopia (green-blind)
#615B43
Tritanopia (blue-blind)
#006B61
Achromatopsia (no color)
#5E5E5E

Design tokens & code

CSS
--color: #166c40;
/* rgb */ color: rgb(22, 108, 64);
/* oklch */ color: oklch(47.1% 0.106 155.4);
Tailwind
colors: {
  custom: {
    50: '#629775',
    500: '#166c40',
    950: '#000000',
  },
}
SCSS
$custom: #166c40;
$custom-light: #629775;
$custom-dark: #000000;
JSON
{
  "hex": "#166c40",
  "rgb": {
    "r": 22,
    "g": 108,
    "b": 64
  },
  "hsl": {
    "h": 149.302,
    "s": 66.154,
    "l": 25.49
  },
  "oklch": {
    "l": 0.47074,
    "c": 0.10619,
    "h": 155.4
  },
  "luminance": 0.11266
}

Semantic roles & 50–950 ramp

primary
#166C40
secondary
#A23C70
accent
#3F96E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166C40

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

Preview Lab → · Contrast checker → · Palette generator →

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