#166A2C#166A2C

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

Color values

HEX#166A2C
RGBrgb(22, 106, 44)
HSLhsl(136, 66%, 25%)
HSVhsv(136, 79%, 42%)
CMYKcmyk(79.2%, 0%, 58.5%, 58.4%)
CIE-LABlab(39.00, -38.67, 27.65)
CIE-LCHlch(39.00, 47.53, 144.43°)
OKLaboklab(46.13% -0.104 0.0661)
OKLCHoklch(46.13% 0.123 147.6)
XYZxyz(5.9391, 10.6598, 4.1269)
Luminance0.1066 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166A2C #6A1654
analogous
#2A6A16 #166A2C #166A56
triadic
#166A2C #2C166A #6A2C16
tetradic
#166A2C #162A6A #6A1654 #6A5616
square
#166A2C #162A6A #6A1654 #6A5616
split-complementary
#166A2C #56166A #6A162A
monochromatic
#05190B #0B3717 #166A2C #219D41 #2BCF56

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##166A2C#FFFFFF#000000##FFFFFF
##166A2C1.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)
#6B6026
Deuteranopia (green-blind)
#625931
Tritanopia (blue-blind)
#00685C
Achromatopsia (no color)
#5C5C5C

Design tokens & code

CSS
--color: #166a2c;
/* rgb */ color: rgb(22, 106, 44);
/* oklch */ color: oklch(46.1% 0.123 147.6);
Tailwind
colors: {
  custom: {
    50: '#629567',
    500: '#166a2c',
    950: '#000000',
  },
}
SCSS
$custom: #166a2c;
$custom-light: #629567;
$custom-dark: #000000;
JSON
{
  "hex": "#166a2c",
  "rgb": {
    "r": 22,
    "g": 106,
    "b": 44
  },
  "hsl": {
    "h": 135.714,
    "s": 65.625,
    "l": 25.098
  },
  "oklch": {
    "l": 0.46125,
    "c": 0.12322,
    "h": 147.6
  },
  "luminance": 0.1066
}

Semantic roles & 50–950 ramp

primary
#166A2C
secondary
#A03B86
accent
#3FBCE9
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#060D06
muted
#7A7E7A

Preview Lab

Preview with #166A2C

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

Preview Lab → · Contrast checker → · Palette generator →

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