#166D40#166D40

#166D40 is a mid, moderate green. Relative luminance 0.115; OKLCH L 47.4% C 0.108 H 155.1°. Best body text is #FFFFFF at 6.37:1 contrast (WCAG AA passes).

Color values

HEX#166D40
RGBrgb(22, 109, 64)
HSLhsl(149, 66%, 26%)
HSVhsv(149, 80%, 43%)
CMYKcmyk(79.8%, 0%, 41.3%, 57.3%)
CIE-LABlab(40.37, -36.19, 18.19)
CIE-LCHlch(40.37, 40.51, 153.31°)
OKLaboklab(47.36% -0.0976 0.0454)
OKLCHoklch(47.36% 0.108 155.1)
XYZxyz(6.7243, 11.4772, 6.7104)
Luminance0.1148 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D40 #6D1643
analogous
#176D16 #166D40 #166D6B
triadic
#166D40 #40166D #6D4016
tetradic
#166D40 #16176D #6D1643 #6D6B16
square
#166D40 #16176D #6D1643 #6D6B16
split-complementary
#166D40 #6B166D #6D1617
monochromatic
#05190F #0C3A22 #166D40 #20A05E #2BD37C

Accessibility & contrast

On white

6.37
#166D40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.30
#166D40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D40
6.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D40#FFFFFF#000000##FFFFFF
##166D401.006.373.306.37
#FFFFFF6.371.0021.001.00
#0000003.3021.001.0021.00
##FFFFFF6.371.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6D643D
Deuteranopia (green-blind)
#625C43
Tritanopia (blue-blind)
#006C62
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166d40;
/* rgb */ color: rgb(22, 109, 64);
/* oklch */ color: oklch(47.4% 0.108 155.1);
Tailwind
colors: {
  custom: {
    50: '#639875',
    500: '#166d40',
    950: '#000000',
  },
}
SCSS
$custom: #166d40;
$custom-light: #639875;
$custom-dark: #000000;
JSON
{
  "hex": "#166d40",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 64
  },
  "hsl": {
    "h": 148.966,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47362,
    "c": 0.10763,
    "h": 155.1
  },
  "luminance": 0.11478
}

Semantic roles & 50–950 ramp

primary
#166D40
secondary
#A33C71
accent
#3E97E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #166D40

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

Preview Lab → · Contrast checker → · Palette generator →

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