#166B40#166B40

#166B40 is a mid, moderate green. Relative luminance 0.111; OKLCH L 46.8% C 0.105 H 155.7°. Best body text is #FFFFFF at 6.54:1 contrast (WCAG AA passes).

Color values

HEX#166B40
RGBrgb(22, 107, 64)
HSLhsl(150, 66%, 25%)
HSVhsv(150, 79%, 42%)
CMYKcmyk(79.4%, 0%, 40.2%, 58%)
CIE-LABlab(39.67, -35.36, 17.27)
CIE-LCHlch(39.67, 39.35, 153.98°)
OKLaboklab(46.79% -0.0954 0.0432)
OKLCHoklch(46.79% 0.105 155.7)
XYZxyz(6.5134, 11.0554, 6.6401)
Luminance0.1106 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166B40 #6B1641
analogous
#176B16 #166B40 #166B6A
triadic
#166B40 #40166B #6B4016
tetradic
#166B40 #16176B #6B1641 #6B6A16
square
#166B40 #16176B #6B1641 #6B6A16
split-complementary
#166B40 #6A166B #6B1617
monochromatic
#05190F #0C3822 #166B40 #209E5E #2BD17D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166B40#FFFFFF#000000##FFFFFF
##166B401.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)
#6A623D
Deuteranopia (green-blind)
#605B43
Tritanopia (blue-blind)
#006A60
Achromatopsia (no color)
#5D5D5D

Design tokens & code

CSS
--color: #166b40;
/* rgb */ color: rgb(22, 107, 64);
/* oklch */ color: oklch(46.8% 0.105 155.7);
Tailwind
colors: {
  custom: {
    50: '#629675',
    500: '#166b40',
    950: '#000000',
  },
}
SCSS
$custom: #166b40;
$custom-light: #629675;
$custom-dark: #000000;
JSON
{
  "hex": "#166b40",
  "rgb": {
    "r": 22,
    "g": 107,
    "b": 64
  },
  "hsl": {
    "h": 149.647,
    "s": 65.891,
    "l": 25.294
  },
  "oklch": {
    "l": 0.46785,
    "c": 0.10476,
    "h": 155.7
  },
  "luminance": 0.11056
}

Semantic roles & 50–950 ramp

primary
#166B40
secondary
#A13B6F
accent
#3F95E9
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060D08
muted
#7A7E7B

Preview Lab

Preview with #166B40

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

Preview Lab → · Contrast checker → · Palette generator →

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