#166336#166336

#166336 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.2% C 0.103 H 152.7°. Best body text is #FFFFFF at 7.31:1 contrast (WCAG AA passes).

Color values

HEX#166336
RGBrgb(22, 99, 54)
HSLhsl(145, 64%, 24%)
HSVhsv(145, 78%, 39%)
CMYKcmyk(77.8%, 0%, 45.5%, 61.2%)
CIE-LABlab(36.67, -34.12, 19.15)
CIE-LCHlch(36.67, 39.12, 150.70°)
OKLaboklab(44.25% -0.0919 0.0474)
OKLCHoklch(44.25% 0.103 152.7)
XYZxyz(5.4581, 9.3600, 5.0083)
Luminance0.0936 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166336 #631643
analogous
#1C6316 #166336 #16635C
triadic
#166336 #361663 #633616
tetradic
#166336 #161C63 #631643 #635C16
square
#166336 #161C63 #631643 #635C16
split-complementary
#166336 #5C1663 #63161C
monochromatic
#06190E #0B311B #166336 #219551 #2CC76D

Accessibility & contrast

On white

7.31
#166336 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.87
#166336 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166336
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166336#FFFFFF#000000##FFFFFF
##1663361.007.312.877.31
#FFFFFF7.311.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A33
Deuteranopia (green-blind)
#5A5439
Tritanopia (blue-blind)
#006258
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166336;
/* rgb */ color: rgb(22, 99, 54);
/* oklch */ color: oklch(44.2% 0.103 152.7);
Tailwind
colors: {
  custom: {
    50: '#60906d',
    500: '#166336',
    950: '#000000',
  },
}
SCSS
$custom: #166336;
$custom-light: #60906d;
$custom-dark: #000000;
JSON
{
  "hex": "#166336",
  "rgb": {
    "r": 22,
    "g": 99,
    "b": 54
  },
  "hsl": {
    "h": 144.935,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44245,
    "c": 0.10335,
    "h": 152.7
  },
  "luminance": 0.09361
}

Semantic roles & 50–950 ramp

primary
#166336
secondary
#9A3B72
accent
#41A2E7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050D07
muted
#7A7D7A

Preview Lab

Preview with #166336

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

Preview Lab → · Contrast checker → · Palette generator →

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