#166520#166520

#166520 is a dark, vivid green. Relative luminance 0.096; OKLCH L 44.5% C 0.127 H 144.8°. Best body text is #FFFFFF at 7.20:1 contrast (WCAG AA passes).

Color values

HEX#166520
RGBrgb(22, 101, 32)
HSLhsl(128, 64%, 24%)
HSVhsv(128, 78%, 40%)
CMYKcmyk(78.2%, 0%, 68.3%, 60.4%)
CIE-LABlab(37.08, -38.44, 31.52)
CIE-LCHlch(37.08, 49.71, 140.65°)
OKLaboklab(44.49% -0.1038 0.0733)
OKLCHoklch(44.49% 0.127 144.8)
XYZxyz(5.2449, 9.5816, 2.9392)
Luminance0.0958 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166520 #65165B
analogous
#346516 #166520 #166548
triadic
#166520 #201665 #652016
tetradic
#166520 #163465 #65165B #654816
square
#166520 #163465 #65165B #654816
split-complementary
#166520 #481665 #651634
monochromatic
#051908 #0B3310 #166520 #219730 #2CCA40

Accessibility & contrast

On white

7.20
#166520 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166520
7.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166520#FFFFFF#000000##FFFFFF
##1665201.007.202.927.20
#FFFFFF7.201.0021.001.00
#0000002.9221.001.0021.00
##FFFFFF7.201.0021.001.00

Color blindness preview

Protanopia (red-blind)
#675B18
Deuteranopia (green-blind)
#5E5526
Tritanopia (blue-blind)
#006257
Achromatopsia (no color)
#575757

Design tokens & code

CSS
--color: #166520;
/* rgb */ color: rgb(22, 101, 32);
/* oklch */ color: oklch(44.5% 0.127 144.8);
Tailwind
colors: {
  custom: {
    50: '#62925f',
    500: '#166520',
    950: '#000000',
  },
}
SCSS
$custom: #166520;
$custom-light: #62925f;
$custom-dark: #000000;
JSON
{
  "hex": "#166520",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 32
  },
  "hsl": {
    "h": 127.595,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44488,
    "c": 0.1271,
    "h": 144.8
  },
  "luminance": 0.09582
}

Semantic roles & 50–950 ramp

primary
#166520
secondary
#9C3B8F
accent
#41D2E7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D05
muted
#7A7E79

Preview Lab

Preview with #166520

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

Preview Lab → · Contrast checker → · Palette generator →

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