#166534#166534

#166534 is a dark, moderate green. Relative luminance 0.097; OKLCH L 44.8% C 0.108 H 151.3°. Best body text is #FFFFFF at 7.13:1 contrast (WCAG AA passes).

Color values

HEX#166534
RGBrgb(22, 101, 52)
HSLhsl(143, 64%, 24%)
HSVhsv(143, 78%, 40%)
CMYKcmyk(78.2%, 0%, 48.5%, 60.4%)
CIE-LABlab(37.34, -35.33, 21.17)
CIE-LCHlch(37.34, 41.19, 149.06°)
OKLaboklab(44.79% -0.095 0.052)
OKLCHoklch(44.79% 0.108 151.3)
XYZxyz(5.6039, 9.7252, 4.8300)
Luminance0.0973 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166534 #651647
analogous
#206516 #166534 #16655C
triadic
#166534 #341665 #653416
tetradic
#166534 #162065 #651647 #655C16
square
#166534 #162065 #651647 #655C16
split-complementary
#166534 #5C1665 #651620
monochromatic
#05190D #0B331A #166534 #21974E #2CCA68

Accessibility & contrast

On white

7.13
#166534 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.95
#166534 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166534
7.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166534#FFFFFF#000000##FFFFFF
##1665341.007.132.957.13
#FFFFFF7.131.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.131.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C30
Deuteranopia (green-blind)
#5C5537
Tritanopia (blue-blind)
#006359
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166534;
/* rgb */ color: rgb(22, 101, 52);
/* oklch */ color: oklch(44.8% 0.108 151.3);
Tailwind
colors: {
  custom: {
    50: '#61926c',
    500: '#166534',
    950: '#000000',
  },
}
SCSS
$custom: #166534;
$custom-light: #61926c;
$custom-dark: #000000;
JSON
{
  "hex": "#166534",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 52
  },
  "hsl": {
    "h": 142.785,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44792,
    "c": 0.10832,
    "h": 151.3
  },
  "luminance": 0.09726
}

Semantic roles & 50–950 ramp

primary
#166534
secondary
#9C3B77
accent
#41A8E7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #166534

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

Preview Lab → · Contrast checker → · Palette generator →

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