#166A2D#166A2D

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

Color values

HEX#166A2D
RGBrgb(22, 106, 45)
HSLhsl(136, 66%, 25%)
HSVhsv(136, 79%, 42%)
CMYKcmyk(79.2%, 0%, 57.5%, 58.4%)
CIE-LABlab(39.01, -38.51, 27.13)
CIE-LCHlch(39.01, 47.11, 144.83°)
OKLaboklab(46.14% -0.1036 0.065)
OKLCHoklch(46.14% 0.122 147.9)
XYZxyz(5.9581, 10.6674, 4.2271)
Luminance0.1067 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A2D #6A1653
analogous
#296A16 #166A2D #166A57
triadic
#166A2D #2D166A #6A2D16
tetradic
#166A2D #16296A #6A1653 #6A5716
square
#166A2D #16296A #6A1653 #6A5716
split-complementary
#166A2D #57166A #6A1629
monochromatic
#05190B #0B3717 #166A2D #219D43 #2BCF58

Accessibility & contrast

On white

6.70
#166A2D on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

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

Best text color

#FFFFFF on #166A2D
6.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166A2D#FFFFFF#000000##FFFFFF
##166A2D1.006.703.136.70
#FFFFFF6.701.0021.001.00
#0000003.1321.001.0021.00
##FFFFFF6.701.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #166a2d;
/* rgb */ color: rgb(22, 106, 45);
/* oklch */ color: oklch(46.1% 0.122 147.9);
Tailwind
colors: {
  custom: {
    50: '#629567',
    500: '#166a2d',
    950: '#000000',
  },
}
SCSS
$custom: #166a2d;
$custom-light: #629567;
$custom-dark: #000000;
JSON
{
  "hex": "#166a2d",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 45
  },
  "hsl": {
    "h": 136.429,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.4614,
    "c": 0.12228,
    "h": 147.9
  },
  "luminance": 0.10668
}

Semantic roles & 50–950 ramp

primary
#166A2D
secondary
#A03B85
accent
#3FBAE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A2D

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

Preview Lab → · Contrast checker → · Palette generator →

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