#166334#166334

#166334 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.105 H 151.8°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#166334
RGBrgb(22, 99, 52)
HSLhsl(143, 64%, 24%)
HSVhsv(143, 78%, 39%)
CMYKcmyk(77.8%, 0%, 47.5%, 61.2%)
CIE-LABlab(36.63, -34.51, 20.26)
CIE-LCHlch(36.63, 40.02, 149.58°)
OKLaboklab(44.21% -0.0929 0.0499)
OKLCHoklch(44.21% 0.105 151.8)
XYZxyz(5.4121, 9.3416, 4.7660)
Luminance0.0934 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166334 #631645
analogous
#1E6316 #166334 #16635A
triadic
#166334 #341663 #633416
tetradic
#166334 #161E63 #631645 #635A16
square
#166334 #161E63 #631645 #635A16
split-complementary
#166334 #5A1663 #63161E
monochromatic
#06190D #0B311A #166334 #21954E #2CC769

Accessibility & contrast

On white

7.32
#166334 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166334
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166334#FFFFFF#000000##FFFFFF
##1663341.007.322.877.32
#FFFFFF7.321.0021.001.00
#0000002.8721.001.0021.00
##FFFFFF7.321.0021.001.00

Color blindness preview

Protanopia (red-blind)
#635A30
Deuteranopia (green-blind)
#5A5437
Tritanopia (blue-blind)
#006158
Achromatopsia (no color)
#565656

Design tokens & code

CSS
--color: #166334;
/* rgb */ color: rgb(22, 99, 52);
/* oklch */ color: oklch(44.2% 0.105 151.8);
Tailwind
colors: {
  custom: {
    50: '#60906c',
    500: '#166334',
    950: '#000000',
  },
}
SCSS
$custom: #166334;
$custom-light: #60906c;
$custom-dark: #000000;
JSON
{
  "hex": "#166334",
  "rgb": {
    "r": 22,
    "g": 99,
    "b": 52
  },
  "hsl": {
    "h": 143.377,
    "s": 63.636,
    "l": 23.725
  },
  "oklch": {
    "l": 0.44205,
    "c": 0.10542,
    "h": 151.8
  },
  "luminance": 0.09342
}

Semantic roles & 50–950 ramp

primary
#166334
secondary
#9A3B75
accent
#41A6E7
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#050D07
muted
#7A7D7A

Preview Lab

Preview with #166334

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

Preview Lab → · Contrast checker → · Palette generator →

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