#166E40#166E40

#166E40 is a mid, moderate green. Relative luminance 0.117; OKLCH L 47.6% C 0.109 H 154.8°. Best body text is #FFFFFF at 6.29:1 contrast (WCAG AA passes).

Color values

HEX#166E40
RGBrgb(22, 110, 64)
HSLhsl(149, 67%, 26%)
HSVhsv(149, 80%, 43%)
CMYKcmyk(80%, 0%, 41.8%, 56.9%)
CIE-LABlab(40.72, -36.60, 18.66)
CIE-LCHlch(40.72, 41.08, 152.99°)
OKLaboklab(47.65% -0.0987 0.0465)
OKLCHoklch(47.65% 0.109 154.8)
XYZxyz(6.8316, 11.6918, 6.7462)
Luminance0.1169 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166E40 #6E1644
analogous
#186E16 #166E40 #166E6C
triadic
#166E40 #40166E #6E4016
tetradic
#166E40 #16186E #6E1644 #6E6C16
square
#166E40 #16186E #6E1644 #6E6C16
split-complementary
#166E40 #6C166E #6E1618
monochromatic
#051A0F #0C3B22 #166E40 #20A15E #2AD47B

Accessibility & contrast

On white

6.29
#166E40 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.34
#166E40 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166E40
6.29:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166E40#FFFFFF#000000##FFFFFF
##166E401.006.293.346.29
#FFFFFF6.291.0021.001.00
#0000003.3421.001.0021.00
##FFFFFF6.291.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E643D
Deuteranopia (green-blind)
#635D43
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166e40;
/* rgb */ color: rgb(22, 110, 64);
/* oklch */ color: oklch(47.6% 0.109 154.8);
Tailwind
colors: {
  custom: {
    50: '#639875',
    500: '#166e40',
    950: '#000000',
  },
}
SCSS
$custom: #166e40;
$custom-light: #639875;
$custom-dark: #000000;
JSON
{
  "hex": "#166e40",
  "rgb": {
    "r": 22,
    "g": 110,
    "b": 64
  },
  "hsl": {
    "h": 148.636,
    "s": 66.667,
    "l": 25.882
  },
  "oklch": {
    "l": 0.4765,
    "c": 0.10906,
    "h": 154.8
  },
  "luminance": 0.11693
}

Semantic roles & 50–950 ramp

primary
#166E40
secondary
#A43C72
accent
#3E98EA
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#060E08
muted
#7A7E7B

Preview Lab

Preview with #166E40

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

Preview Lab → · Contrast checker → · Palette generator →

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