#166938#166938

#166938 is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.0% C 0.110 H 152.2°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#166938
RGBrgb(22, 105, 56)
HSLhsl(145, 65%, 25%)
HSVhsv(145, 79%, 41%)
CMYKcmyk(79%, 0%, 46.7%, 58.8%)
CIE-LABlab(38.83, -36.18, 20.79)
CIE-LCHlch(38.83, 41.73, 150.12°)
OKLaboklab(46.04% -0.0974 0.0512)
OKLCHoklch(46.04% 0.11 152.2)
XYZxyz(6.0957, 10.5585, 5.4574)
Luminance0.1056 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166938 #691647
analogous
#1E6916 #166938 #166961
triadic
#166938 #381669 #693816
tetradic
#166938 #161E69 #691647 #696116
square
#166938 #161E69 #691647 #696116
split-complementary
#166938 #611669 #69161E
monochromatic
#05190D #0B361D #166938 #219C53 #2BCE6E

Accessibility & contrast

On white

6.75
#166938 on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

3.11
#166938 on #000000
AA ✗AA large ✓AAA ✗

Best text color

#FFFFFF on #166938
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166938#FFFFFF#000000##FFFFFF
##1669381.006.753.116.75
#FFFFFF6.751.0021.001.00
#0000003.1121.001.0021.00
##FFFFFF6.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#696034
Deuteranopia (green-blind)
#5F593B
Tritanopia (blue-blind)
#00675D
Achromatopsia (no color)
#5B5B5B

Design tokens & code

CSS
--color: #166938;
/* rgb */ color: rgb(22, 105, 56);
/* oklch */ color: oklch(46.0% 0.110 152.2);
Tailwind
colors: {
  custom: {
    50: '#62956f',
    500: '#166938',
    950: '#000000',
  },
}
SCSS
$custom: #166938;
$custom-light: #62956f;
$custom-dark: #000000;
JSON
{
  "hex": "#166938",
  "rgb": {
    "r": 22,
    "g": 105,
    "b": 56
  },
  "hsl": {
    "h": 144.578,
    "s": 65.354,
    "l": 24.902
  },
  "oklch": {
    "l": 0.46039,
    "c": 0.11001,
    "h": 152.2
  },
  "luminance": 0.10559
}

Semantic roles & 50–950 ramp

primary
#166938
secondary
#9F3B76
accent
#3FA3E8
background
#F6F9F6
surface
#EBF2EC
border
#C6CCC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166938

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

Preview Lab → · Contrast checker → · Palette generator →

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