#166D34#166D34

#166D34 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.1% C 0.120 H 149.9°. Best body text is #FFFFFF at 6.42:1 contrast (WCAG AA passes).

Color values

HEX#166D34
RGBrgb(22, 109, 52)
HSLhsl(141, 66%, 26%)
HSVhsv(141, 80%, 43%)
CMYKcmyk(79.8%, 0%, 52.3%, 57.3%)
CIE-LABlab(40.17, -38.51, 24.75)
CIE-LCHlch(40.17, 45.77, 147.27°)
OKLaboklab(47.13% -0.1035 0.0601)
OKLCHoklch(47.13% 0.12 149.9)
XYZxyz(6.4188, 11.3550, 5.1016)
Luminance0.1136 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166D34 #6D164F
analogous
#236D16 #166D34 #166D5F
triadic
#166D34 #34166D #6D3416
tetradic
#166D34 #16236D #6D164F #6D5F16
square
#166D34 #16236D #6D164F #6D5F16
split-complementary
#166D34 #5F166D #6D1623
monochromatic
#05190C #0C3A1C #166D34 #20A04C #2BD365

Accessibility & contrast

On white

6.42
#166D34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.27
#166D34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166D34
6.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166D34#FFFFFF#000000##FFFFFF
##166D341.006.423.276.42
#FFFFFF6.421.0021.001.00
#0000003.2721.001.0021.00
##FFFFFF6.421.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6E632F
Deuteranopia (green-blind)
#645C38
Tritanopia (blue-blind)
#006B60
Achromatopsia (no color)
#5F5F5F

Design tokens & code

CSS
--color: #166d34;
/* rgb */ color: rgb(22, 109, 52);
/* oklch */ color: oklch(47.1% 0.120 149.9);
Tailwind
colors: {
  custom: {
    50: '#63986c',
    500: '#166d34',
    950: '#000000',
  },
}
SCSS
$custom: #166d34;
$custom-light: #63986c;
$custom-dark: #000000;
JSON
{
  "hex": "#166d34",
  "rgb": {
    "r": 22,
    "g": 109,
    "b": 52
  },
  "hsl": {
    "h": 140.69,
    "s": 66.412,
    "l": 25.686
  },
  "oklch": {
    "l": 0.47131,
    "c": 0.11967,
    "h": 149.9
  },
  "luminance": 0.11356
}

Semantic roles & 50–950 ramp

primary
#166D34
secondary
#A33C7F
accent
#3EAEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060E07
muted
#7A7E7A

Preview Lab

Preview with #166D34

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

Preview Lab → · Contrast checker → · Palette generator →

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