#166529#166529

#166529 is a dark, moderate green. Relative luminance 0.096; OKLCH L 44.6% C 0.119 H 147.2°. Best body text is #FFFFFF at 7.17:1 contrast (WCAG AA passes).

Color values

HEX#166529
RGBrgb(22, 101, 41)
HSLhsl(134, 64%, 24%)
HSVhsv(134, 78%, 40%)
CMYKcmyk(78.2%, 0%, 59.4%, 60.4%)
CIE-LABlab(37.18, -37.21, 27.07)
CIE-LCHlch(37.18, 46.01, 143.97°)
OKLaboklab(44.61% -0.1002 0.0646)
OKLCHoklch(44.61% 0.119 147.2)
XYZxyz(5.3844, 9.6374, 3.6738)
Luminance0.0964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166529 #651652
analogous
#2B6516 #166529 #166551
triadic
#166529 #291665 #652916
tetradic
#166529 #162B65 #651652 #655116
square
#166529 #162B65 #651652 #655116
split-complementary
#166529 #511665 #65162B
monochromatic
#05190A #0B3315 #166529 #21973D #2CCA52

Accessibility & contrast

On white

7.17
#166529 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.93
#166529 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166529
7.17:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166529#FFFFFF#000000##FFFFFF
##1665291.007.172.937.17
#FFFFFF7.171.0021.001.00
#0000002.9321.001.0021.00
##FFFFFF7.171.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B23
Deuteranopia (green-blind)
#5D552E
Tritanopia (blue-blind)
#006358
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #166529;
/* rgb */ color: rgb(22, 101, 41);
/* oklch */ color: oklch(44.6% 0.119 147.2);
Tailwind
colors: {
  custom: {
    50: '#619264',
    500: '#166529',
    950: '#000000',
  },
}
SCSS
$custom: #166529;
$custom-light: #619264;
$custom-dark: #000000;
JSON
{
  "hex": "#166529",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 41
  },
  "hsl": {
    "h": 134.43,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44607,
    "c": 0.11918,
    "h": 147.2
  },
  "luminance": 0.09638
}

Semantic roles & 50–950 ramp

primary
#166529
secondary
#9C3B84
accent
#41BFE7
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D05
muted
#7A7E7A

Preview Lab

Preview with #166529

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

Preview Lab → · Contrast checker → · Palette generator →

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