#166538#166538

#166538 is a dark, moderate green. Relative luminance 0.098; OKLCH L 44.9% C 0.104 H 153.2°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).

Color values

HEX#166538
RGBrgb(22, 101, 56)
HSLhsl(146, 64%, 24%)
HSVhsv(146, 78%, 40%)
CMYKcmyk(78.2%, 0%, 44.6%, 60.4%)
CIE-LABlab(37.41, -34.54, 18.95)
CIE-LCHlch(37.41, 39.40, 151.25°)
OKLaboklab(44.87% -0.093 0.047)
OKLCHoklch(44.87% 0.104 153.2)
XYZxyz(5.6979, 9.7628, 5.3247)
Luminance0.0976 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166538 #651643
analogous
#1B6516 #166538 #166560
triadic
#166538 #381665 #653816
tetradic
#166538 #161B65 #651643 #656016
square
#166538 #161B65 #651643 #656016
split-complementary
#166538 #601665 #65161B
monochromatic
#05190E #0B331C #166538 #219754 #2CCA70

Accessibility & contrast

On white

7.11
#166538 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #166538
7.11:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166538#FFFFFF#000000##FFFFFF
##1665381.007.112.957.11
#FFFFFF7.111.0021.001.00
#0000002.9521.001.0021.00
##FFFFFF7.111.0021.001.00

Color blindness preview

Protanopia (red-blind)
#655C35
Deuteranopia (green-blind)
#5C553B
Tritanopia (blue-blind)
#00645A
Achromatopsia (no color)
#585858

Design tokens & code

CSS
--color: #166538;
/* rgb */ color: rgb(22, 101, 56);
/* oklch */ color: oklch(44.9% 0.104 153.2);
Tailwind
colors: {
  custom: {
    50: '#61926f',
    500: '#166538',
    950: '#000000',
  },
}
SCSS
$custom: #166538;
$custom-light: #61926f;
$custom-dark: #000000;
JSON
{
  "hex": "#166538",
  "rgb": {
    "r": 22,
    "g": 101,
    "b": 56
  },
  "hsl": {
    "h": 145.823,
    "s": 64.228,
    "l": 24.118
  },
  "oklch": {
    "l": 0.44872,
    "c": 0.10422,
    "h": 153.2
  },
  "luminance": 0.09763
}

Semantic roles & 50–950 ramp

primary
#166538
secondary
#9C3B72
accent
#41A0E7
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#050D07
muted
#7A7E7A

Preview Lab

Preview with #166538

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

Preview Lab → · Contrast checker → · Palette generator →

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