#166526#166526

#166526 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.6% C 0.122 H 146.3°. Best body text is #FFFFFF at 7.18:1 contrast (WCAG AA passes).

Color values

HEX#166526
RGBrgb(22, 101, 38)
HSLhsl(132, 64%, 24%)
HSVhsv(132, 78%, 40%)
CMYKcmyk(78.2%, 0%, 62.4%, 60.4%)
CIE-LABlab(37.15, -37.65, 28.60)
CIE-LCHlch(37.15, 47.28, 142.78°)
OKLaboklab(44.56% -0.1015 0.0676)
OKLCHoklch(44.56% 0.122 146.3)
XYZxyz(5.3340, 9.6173, 3.4085)
Luminance0.0962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166526 #651655
analogous
#2E6516 #166526 #16654E
triadic
#166526 #261665 #652616
tetradic
#166526 #162E65 #651655 #654E16
square
#166526 #162E65 #651655 #654E16
split-complementary
#166526 #4E1665 #65162E
monochromatic
#051909 #0B3313 #166526 #219739 #2CCA4C

Accessibility & contrast

On white

7.18
#166526 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.92
#166526 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166526
7.18:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166526#FFFFFF#000000##FFFFFF
##1665261.007.182.927.18
#FFFFFF7.181.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.181.0021.001.00

Color blindness preview

Protanopia (red-blind)
#665B20
Deuteranopia (green-blind)
#5D552B
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #166526;
/* rgb */ color: rgb(22, 101, 38);
/* oklch */ color: oklch(44.6% 0.122 146.3);
Tailwind
colors: {
  custom: {
    50: '#619262',
    500: '#166526',
    950: '#000000',
  },
}
SCSS
$custom: #166526;
$custom-light: #619262;
$custom-dark: #000000;
JSON
{
  "hex": "#166526",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 38
  },
  "hsl": {
    "h": 132.152,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44564,
    "c": 0.12194,
    "h": 146.3
  },
  "luminance": 0.09618
}

Semantic roles & 50–950 ramp

primary
#166526
secondary
#9C3B88
accent
#41C5E7
background
#F6F9F5
surface
#EBF1EA
border
#C6CBC6
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166526

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

Preview Lab → · Contrast checker → · Palette generator →

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