#166138#166138

#166138 is a dark, moderate green. Relative luminance 0.090; OKLCH L 43.7% C 0.098 H 154.3°. Best body text is #FFFFFF at 7.50:1 contrast (WCAG AA passes).

Color values

HEX#166138
RGBrgb(22, 97, 56)
HSLhsl(147, 63%, 23%)
HSVhsv(147, 77%, 38%)
CMYKcmyk(77.3%, 0%, 42.3%, 62%)
CIE-LABlab(35.99, -32.86, 17.09)
CIE-LCHlch(35.99, 37.04, 152.52°)
OKLaboklab(43.7% -0.0887 0.0426)
OKLCHoklch(43.7% 0.098 154.3)
XYZxyz(5.3189, 9.0049, 5.1984)
Luminance0.0901 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166138 #61163F
analogous
#196116 #166138 #16615D
triadic
#166138 #381661 #613816
tetradic
#166138 #161961 #61163F #615D16
square
#166138 #161961 #61163F #615D16
split-complementary
#166138 #5D1661 #611619
monochromatic
#06190E #0B2F1B #166138 #219355 #2DC572

Accessibility & contrast

On white

7.50
#166138 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.80
#166138 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166138
7.50:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166138#FFFFFF#000000##FFFFFF
##1661381.007.502.807.50
#FFFFFF7.501.0021.001.00
#0000002.8021.001.0021.00
##FFFFFF7.501.0021.001.00

Color blindness preview

Protanopia (red-blind)
#615935
Deuteranopia (green-blind)
#58523B
Tritanopia (blue-blind)
#006057
Achromatopsia (no color)
#555555

Design tokens & code

CSS
--color: #166138;
/* rgb */ color: rgb(22, 97, 56);
/* oklch */ color: oklch(43.7% 0.098 154.3);
Tailwind
colors: {
  custom: {
    50: '#608f6f',
    500: '#166138',
    950: '#000000',
  },
}
SCSS
$custom: #166138;
$custom-light: #608f6f;
$custom-dark: #000000;
JSON
{
  "hex": "#166138",
  "rgb": {
    "r": 22,
    "g": 97,
    "b": 56
  },
  "hsl": {
    "h": 147.2,
    "s": 63.025,
    "l": 23.333
  },
  "oklch": {
    "l": 0.437,
    "c": 0.09834,
    "h": 154.3
  },
  "luminance": 0.09005
}

Semantic roles & 50–950 ramp

primary
#166138
secondary
#983B6E
accent
#429CE6
background
#F6F8F6
surface
#EBF0EC
border
#C6CBC7
text
#050C07
muted
#7A7D7A

Preview Lab

Preview with #166138

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

Preview Lab → · Contrast checker → · Palette generator →

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