#166031#166031

#166031 is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.3% C 0.104 H 151.0°. Best body text is #FFFFFF at 7.63:1 contrast (WCAG AA passes).

Color values

HEX#166031
RGBrgb(22, 96, 49)
HSLhsl(142, 63%, 23%)
HSVhsv(142, 77%, 38%)
CMYKcmyk(77.1%, 0%, 49%, 62.4%)
CIE-LABlab(35.51, -33.85, 20.56)
CIE-LCHlch(35.51, 39.60, 148.73°)
OKLaboklab(43.26% -0.0911 0.0504)
OKLCHoklch(43.26% 0.104 151)
XYZxyz(5.0677, 8.7575, 4.3284)
Luminance0.0876 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#166031 #601645
analogous
#206016 #166031 #166056
triadic
#166031 #311660 #603116
tetradic
#166031 #162060 #601645 #605616
square
#166031 #162060 #601645 #605616
split-complementary
#166031 #561660 #601620
monochromatic
#06190D #0B2E18 #166031 #21924A #2DC464

Accessibility & contrast

On white

7.63
#166031 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.75
#166031 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #166031
7.63:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##166031#FFFFFF#000000##FFFFFF
##1660311.007.632.757.63
#FFFFFF7.631.0021.001.00
#0000002.7521.001.0021.00
##FFFFFF7.631.0021.001.00

Color blindness preview

Protanopia (red-blind)
#60572D
Deuteranopia (green-blind)
#585134
Tritanopia (blue-blind)
#005E55
Achromatopsia (no color)
#545454

Design tokens & code

CSS
--color: #166031;
/* rgb */ color: rgb(22, 96, 49);
/* oklch */ color: oklch(43.3% 0.104 151.0);
Tailwind
colors: {
  custom: {
    50: '#5f8e6a',
    500: '#166031',
    950: '#000000',
  },
}
SCSS
$custom: #166031;
$custom-light: #5f8e6a;
$custom-dark: #000000;
JSON
{
  "hex": "#166031",
  "rgb": {
    "r": 22,
    "g": 96,
    "b": 49
  },
  "hsl": {
    "h": 141.892,
    "s": 62.712,
    "l": 23.137
  },
  "oklch": {
    "l": 0.43263,
    "c": 0.10413,
    "h": 151
  },
  "luminance": 0.08758
}

Semantic roles & 50–950 ramp

primary
#166031
secondary
#973B75
accent
#42AAE6
background
#F5F8F6
surface
#EAF0EB
border
#C6CBC6
text
#050C06
muted
#797D7A

Preview Lab

Preview with #166031

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

Preview Lab → · Contrast checker → · Palette generator →

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