#166638#166638

#166638 is a mid, moderate green. Relative luminance 0.100; OKLCH L 45.2% C 0.106 H 153.0°. Best body text is #FFFFFF at 7.02:1 contrast (WCAG AA passes).

Color values

HEX#166638
RGBrgb(22, 102, 56)
HSLhsl(146, 65%, 24%)
HSVhsv(146, 78%, 40%)
CMYKcmyk(78.4%, 0%, 45.1%, 60%)
CIE-LABlab(37.77, -34.96, 19.42)
CIE-LCHlch(37.77, 39.99, 150.95°)
OKLaboklab(45.16% -0.0941 0.048)
OKLCHoklch(45.16% 0.106 153)
XYZxyz(5.7955, 9.9582, 5.3573)
Luminance0.0996 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166638 #661644
analogous
#1C6616 #166638 #166660
triadic
#166638 #381666 #663816
tetradic
#166638 #161C66 #661644 #666016
square
#166638 #161C66 #661644 #666016
split-complementary
#166638 #601666 #66161C
monochromatic
#05190E #0B341C #166638 #219854 #2CCB6F

Accessibility & contrast

On white

7.02
#166638 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.99
#166638 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166638
7.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166638#FFFFFF#000000##FFFFFF
##1666381.007.022.997.02
#FFFFFF7.021.0021.001.00
#0000002.9921.001.0021.00
##FFFFFF7.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665D35
Deuteranopia (green-blind)
#5D563B
Tritanopia (blue-blind)
#00655B
Achromatopsia (no color)
#595959

Design tokens & code

CSS
--color: #166638;
/* rgb */ color: rgb(22, 102, 56);
/* oklch */ color: oklch(45.2% 0.106 153.0);
Tailwind
colors: {
  custom: {
    50: '#61926f',
    500: '#166638',
    950: '#000000',
  },
}
SCSS
$custom: #166638;
$custom-light: #61926f;
$custom-dark: #000000;
JSON
{
  "hex": "#166638",
  "rgb": {
    "r": 22,
    "g": 102,
    "b": 56
  },
  "hsl": {
    "h": 145.5,
    "s": 64.516,
    "l": 24.314
  },
  "oklch": {
    "l": 0.45164,
    "c": 0.10567,
    "h": 153
  },
  "luminance": 0.09959
}

Semantic roles & 50–950 ramp

primary
#166638
secondary
#9D3B73
accent
#40A0E8
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A

Preview Lab

Preview with #166638

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

Preview Lab → · Contrast checker → · Palette generator →

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