#166F40#166F40

#166F40 is a mid, moderate green. Relative luminance 0.119; OKLCH L 47.9% C 0.110 H 154.5°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).

Color values

HEX#166F40
RGBrgb(22, 111, 64)
HSLhsl(148, 67%, 26%)
HSVhsv(148, 80%, 44%)
CMYKcmyk(80.2%, 0%, 42.3%, 56.5%)
CIE-LABlab(41.07, -37.01, 19.12)
CIE-LCHlch(41.07, 41.66, 152.68°)
OKLaboklab(47.94% -0.0997 0.0476)
OKLCHoklch(47.94% 0.11 154.5)
XYZxyz(6.9401, 11.9088, 6.7824)
Luminance0.1191 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F40 #6F1645
analogous
#186F16 #166F40 #166F6C
triadic
#166F40 #40166F #6F4016
tetradic
#166F40 #16186F #6F1645 #6F6C16
square
#166F40 #16186F #6F1645 #6F6C16
split-complementary
#166F40 #6C166F #6F1618
monochromatic
#051A0F #0C3C23 #166F40 #20A25D #2BD57B

Accessibility & contrast

On white

6.21
#166F40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.38
#166F40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F40
6.21:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F40#FFFFFF#000000##FFFFFF
##166F401.006.213.386.21
#FFFFFF6.211.0021.001.00
#0000003.3821.001.0021.00
##FFFFFF6.211.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6F653D
Deuteranopia (green-blind)
#645E43
Tritanopia (blue-blind)
#006E63
Achromatopsia (no color)
#616161

Design tokens & code

CSS
--color: #166f40;
/* rgb */ color: rgb(22, 111, 64);
/* oklch */ color: oklch(47.9% 0.110 154.5);
Tailwind
colors: {
  custom: {
    50: '#639975',
    500: '#166f40',
    950: '#000000',
  },
}
SCSS
$custom: #166f40;
$custom-light: #639975;
$custom-dark: #000000;
JSON
{
  "hex": "#166f40",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 64
  },
  "hsl": {
    "h": 148.315,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47938,
    "c": 0.11048,
    "h": 154.5
  },
  "luminance": 0.1191
}

Semantic roles & 50–950 ramp

primary
#166F40
secondary
#A53C73
accent
#3E99EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #166F40

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

Preview Lab → · Contrast checker → · Palette generator →

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