#166128#166128

#166128 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.4% C 0.115 H 147.3°. Best body text is #FFFFFF at 7.57:1 contrast (WCAG AA passes).

Color values

HEX#166128
RGBrgb(22, 97, 40)
HSLhsl(134, 63%, 23%)
HSVhsv(134, 77%, 38%)
CMYKcmyk(77.3%, 0%, 58.8%, 62%)
CIE-LABlab(35.74, -35.81, 25.87)
CIE-LCHlch(35.74, 44.18, 144.15°)
OKLaboklab(43.41% -0.0964 0.0619)
OKLCHoklch(43.41% 0.115 147.3)
XYZxyz(4.9882, 8.8726, 3.4568)
Luminance0.0887 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166128 #61164F
analogous
#296116 #166128 #16614D
triadic
#166128 #281661 #612816
tetradic
#166128 #162961 #61164F #614D16
square
#166128 #162961 #61164F #614D16
split-complementary
#166128 #4D1661 #611629
monochromatic
#06190A #0B2F13 #166128 #21933D #2DC551

Accessibility & contrast

On white

7.57
#166128 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.77
#166128 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166128
7.57:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166128#FFFFFF#000000##FFFFFF
##1661281.007.572.777.57
#FFFFFF7.571.0021.001.00
#0000002.7721.001.0021.00
##FFFFFF7.571.0021.001.00

Color blindness preview

Protanopia (red-blind)
#625823
Deuteranopia (green-blind)
#59522C
Tritanopia (blue-blind)
#005F54
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166128;
/* rgb */ color: rgb(22, 97, 40);
/* oklch */ color: oklch(43.4% 0.115 147.3);
Tailwind
colors: {
  custom: {
    50: '#608f63',
    500: '#166128',
    950: '#000000',
  },
}
SCSS
$custom: #166128;
$custom-light: #608f63;
$custom-dark: #000000;
JSON
{
  "hex": "#166128",
  "rgb": {
    "r": 22,
    "g": 97,
    "b": 40
  },
  "hsl": {
    "h": 134.4,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.43405,
    "c": 0.11457,
    "h": 147.3
  },
  "luminance": 0.08873
}

Semantic roles & 50–950 ramp

primary
#166128
secondary
#983B82
accent
#42BFE6
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050C05
muted
#7A7D7A

Preview Lab

Preview with #166128

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

Preview Lab → · Contrast checker → · Palette generator →

#166128 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva