#166A2B#166A2B

#166A2B is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.1% C 0.124 H 147.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).

Color values

HEX#166A2B
RGBrgb(22, 106, 43)
HSLhsl(135, 66%, 25%)
HSVhsv(135, 79%, 42%)
CMYKcmyk(79.2%, 0%, 59.4%, 58.4%)
CIE-LABlab(38.99, -38.82, 28.16)
CIE-LCHlch(38.99, 47.96, 144.04°)
OKLaboklab(46.11% -0.1045 0.0671)
OKLCHoklch(46.11% 0.124 147.3)
XYZxyz(5.9205, 10.6524, 4.0291)
Luminance0.1065 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A2B #6A1655
analogous
#2B6A16 #166A2B #166A55
triadic
#166A2B #2B166A #6A2B16
tetradic
#166A2B #162B6A #6A1655 #6A5516
square
#166A2B #162B6A #6A1655 #6A5516
split-complementary
#166A2B #55166A #6A162B
monochromatic
#05190A #0B3716 #166A2B #219D40 #2BCF54

Accessibility & contrast

On white

6.71
#166A2B on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.13
#166A2B on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166A2B
6.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A2B#FFFFFF#000000##FFFFFF
##166A2B1.006.713.136.71
#FFFFFF6.711.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#6B6025
Deuteranopia (green-blind)
#625930
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a2b;
/* rgb */ color: rgb(22, 106, 43);
/* oklch */ color: oklch(46.1% 0.124 147.3);
Tailwind
colors: {
  custom: {
    50: '#629566',
    500: '#166a2b',
    950: '#000000',
  },
}
SCSS
$custom: #166a2b;
$custom-light: #629566;
$custom-dark: #000000;
JSON
{
  "hex": "#166a2b",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 43
  },
  "hsl": {
    "h": 135,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4611,
    "c": 0.12415,
    "h": 147.3
  },
  "luminance": 0.10653
}

Semantic roles & 50–950 ramp

primary
#166A2B
secondary
#A03B87
accent
#3FBEE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A2B

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

Preview Lab → · Contrast checker → · Palette generator →

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