#166F37#166F37

#166F37 is a mid, moderate green. Relative luminance 0.118; OKLCH L 47.8% C 0.119 H 150.6°. Best body text is #FFFFFF at 6.24:1 contrast (WCAG AA passes).

Color values

HEX#166F37
RGBrgb(22, 111, 55)
HSLhsl(142, 67%, 26%)
HSVhsv(142, 80%, 44%)
CMYKcmyk(80.2%, 0%, 50.5%, 56.5%)
CIE-LABlab(40.92, -38.75, 24.02)
CIE-LCHlch(40.92, 45.60, 148.21°)
OKLaboklab(47.76% -0.1041 0.0586)
OKLCHoklch(47.76% 0.12 150.6)
XYZxyz(6.7043, 11.8145, 5.5408)
Luminance0.1182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166F37 #6F164E
analogous
#216F16 #166F37 #166F63
triadic
#166F37 #37166F #6F3716
tetradic
#166F37 #16216F #6F164E #6F6316
square
#166F37 #16216F #6F164E #6F6316
split-complementary
#166F37 #63166F #6F1621
monochromatic
#051A0D #0C3C1E #166F37 #20A250 #2BD56A

Accessibility & contrast

On white

6.24
#166F37 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.36
#166F37 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166F37
6.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166F37#FFFFFF#000000##FFFFFF
##166F371.006.243.366.24
#FFFFFF6.241.0021.001.00
#0000003.3621.001.0021.00
##FFFFFF6.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#706533
Deuteranopia (green-blind)
#655E3B
Tritanopia (blue-blind)
#006D62
Achromatopsia (no color)
#606060

Design tokens & code

CSS
--color: #166f37;
/* rgb */ color: rgb(22, 111, 55);
/* oklch */ color: oklch(47.8% 0.119 150.6);
Tailwind
colors: {
  custom: {
    50: '#63996f',
    500: '#166f37',
    950: '#000000',
  },
}
SCSS
$custom: #166f37;
$custom-light: #63996f;
$custom-dark: #000000;
JSON
{
  "hex": "#166f37",
  "rgb": {
    "r": 22,
    "g": 111,
    "b": 55
  },
  "hsl": {
    "h": 142.247,
    "s": 66.917,
    "l": 26.078
  },
  "oklch": {
    "l": 0.47764,
    "c": 0.1195,
    "h": 150.6
  },
  "luminance": 0.11815
}

Semantic roles & 50–950 ramp

primary
#166F37
secondary
#A53C7E
accent
#3EAAEA
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #166F37

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

Preview Lab → · Contrast checker → · Palette generator →

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