#166A32#166A32

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

Color values

HEX#166A32
RGBrgb(22, 106, 50)
HSLhsl(140, 66%, 25%)
HSVhsv(140, 79%, 42%)
CMYKcmyk(79.2%, 0%, 52.8%, 58.4%)
CIE-LABlab(39.08, -37.69, 24.50)
CIE-LCHlch(39.08, 44.95, 146.98°)
OKLaboklab(46.22% -0.1013 0.0594)
OKLCHoklch(46.22% 0.117 149.6)
XYZxyz(6.0601, 10.7082, 4.7645)
Luminance0.1071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A32 #6A164E
analogous
#246A16 #166A32 #166A5C
triadic
#166A32 #32166A #6A3216
tetradic
#166A32 #16246A #6A164E #6A5C16
square
#166A32 #16246A #6A164E #6A5C16
split-complementary
#166A32 #5C166A #6A1624
monochromatic
#05190C #0B371A #166A32 #219D4A #2BCF62

Accessibility & contrast

On white

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

On black

3.14
#166A32 on #000000
AA ✗AA large ✓AAA ✗

Best text color

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

Contrast matrix

fg \ bg##166A32#FFFFFF#000000##FFFFFF
##166A321.006.683.146.68
#FFFFFF6.681.0021.001.00
#0000003.1421.001.0021.00
##FFFFFF6.681.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a32;
/* rgb */ color: rgb(22, 106, 50);
/* oklch */ color: oklch(46.2% 0.117 149.6);
Tailwind
colors: {
  custom: {
    50: '#62956b',
    500: '#166a32',
    950: '#000000',
  },
}
SCSS
$custom: #166a32;
$custom-light: #62956b;
$custom-dark: #000000;
JSON
{
  "hex": "#166a32",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 50
  },
  "hsl": {
    "h": 140,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46221,
    "c": 0.11745,
    "h": 149.6
  },
  "luminance": 0.10709
}

Semantic roles & 50–950 ramp

primary
#166A32
secondary
#A03B7F
accent
#3FB0E9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A32

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

Preview Lab → · Contrast checker → · Palette generator →

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