#166A34#166A34

#166A34 is a mid, moderate green. Relative luminance 0.107; OKLCH L 46.3% C 0.115 H 150.4°. Best body text is #FFFFFF at 6.68:1 contrast (WCAG AA passes).

Color values

HEX#166A34
RGBrgb(22, 106, 52)
HSLhsl(141, 66%, 25%)
HSVhsv(141, 79%, 42%)
CMYKcmyk(79.2%, 0%, 50.9%, 58.4%)
CIE-LABlab(39.11, -37.33, 23.42)
CIE-LCHlch(39.11, 44.07, 147.90°)
OKLaboklab(46.26% -0.1003 0.0571)
OKLCHoklch(46.26% 0.115 150.4)
XYZxyz(6.1042, 10.7259, 4.9967)
Luminance0.1073 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A34 #6A164C
analogous
#226A16 #166A34 #166A5E
triadic
#166A34 #34166A #6A3416
tetradic
#166A34 #16226A #6A164C #6A5E16
square
#166A34 #16226A #6A164C #6A5E16
split-complementary
#166A34 #5E166A #6A1622
monochromatic
#05190C #0B371B #166A34 #219D4D #2BCF66

Accessibility & contrast

On white

6.68
#166A34 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.15
#166A34 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A34
6.68:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A34#FFFFFF#000000##FFFFFF
##166A341.006.683.156.68
#FFFFFF6.681.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6030
Deuteranopia (green-blind)
#615938
Tritanopia (blue-blind)
#00685D
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a34;
/* rgb */ color: rgb(22, 106, 52);
/* oklch */ color: oklch(46.3% 0.115 150.4);
Tailwind
colors: {
  custom: {
    50: '#62956c',
    500: '#166a34',
    950: '#000000',
  },
}
SCSS
$custom: #166a34;
$custom-light: #62956c;
$custom-dark: #000000;
JSON
{
  "hex": "#166a34",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 52
  },
  "hsl": {
    "h": 141.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46256,
    "c": 0.11546,
    "h": 150.4
  },
  "luminance": 0.10727
}

Semantic roles & 50–950 ramp

primary
#166A34
secondary
#A03B7C
accent
#3FACE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166A34

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

Preview Lab → · Contrast checker → · Palette generator →

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