#166A38#166A38

#166A38 is a mid, moderate green. Relative luminance 0.108; OKLCH L 46.3% C 0.111 H 152.0°. Best body text is #FFFFFF at 6.66:1 contrast (WCAG AA passes).

Color values

HEX#166A38
RGBrgb(22, 106, 56)
HSLhsl(144, 66%, 25%)
HSVhsv(144, 79%, 42%)
CMYKcmyk(79.2%, 0%, 47.2%, 58.4%)
CIE-LABlab(39.18, -36.59, 21.24)
CIE-LCHlch(39.18, 42.31, 149.86°)
OKLaboklab(46.33% -0.0984 0.0523)
OKLCHoklch(46.33% 0.111 152)
XYZxyz(6.1982, 10.7634, 5.4915)
Luminance0.1076 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A38 #6A1648
analogous
#1E6A16 #166A38 #166A62
triadic
#166A38 #38166A #6A3816
tetradic
#166A38 #161E6A #6A1648 #6A6216
square
#166A38 #161E6A #6A1648 #6A6216
split-complementary
#166A38 #62166A #6A161E
monochromatic
#05190D #0B371D #166A38 #219D53 #2BCF6E

Accessibility & contrast

On white

6.66
#166A38 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166A38
6.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A38#FFFFFF#000000##FFFFFF
##166A381.006.663.156.66
#FFFFFF6.661.0021.001.00
#0000003.1521.001.0021.00
##FFFFFF6.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6A6034
Deuteranopia (green-blind)
#60593B
Tritanopia (blue-blind)
#00685E
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a38;
/* rgb */ color: rgb(22, 106, 56);
/* oklch */ color: oklch(46.3% 0.111 152.0);
Tailwind
colors: {
  custom: {
    50: '#62956f',
    500: '#166a38',
    950: '#000000',
  },
}
SCSS
$custom: #166a38;
$custom-light: #62956f;
$custom-dark: #000000;
JSON
{
  "hex": "#166a38",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 56
  },
  "hsl": {
    "h": 144.286,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4633,
    "c": 0.11143,
    "h": 152
  },
  "luminance": 0.10764
}

Semantic roles & 50–950 ramp

primary
#166A38
secondary
#A03B78
accent
#3FA4E9
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166A38

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

Preview Lab → · Contrast checker → · Palette generator →

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