#166534 — Tints, Shades & Color Values
#166534 is a dark, moderately saturated green. In Tailwind CSS this exact color is the utility class green-800 (e.g. bg-green-800, text-green-800). Its nearest CSS named color is darkslategray (#2f4f4f). For readable text on a #166534 background, white text gives the strongest contrast (7.13:1). Because it is dark, #166534 suits text, navigation bars, and footers on light backgrounds, and its tints make natural hover and surface colors.
Color Values
| Hex | #166534 |
|---|---|
| RGB | rgb(22, 101, 52) |
| HSL | hsl(143, 64%, 24%) |
| HSV / HSB | 143°, 78%, 40% |
| Nearest named | darkslategray (#2f4f4f) |
Need these in another format? Use our hex to RGB converter for quick two-way conversion.
#166534 in Tailwind CSS (green-800)
#166534 ships with Tailwind CSS as green-800 — use it as bg-green-800, text-green-800, or border-green-800. It sits at step 800 of the green ramp; every other step links to its own page:
Browse the full Tailwind palette in the color library, or generate in-between steps with the tint & shade generator.
Tints of #166534 (Mixed with White)
Each step blends the base color toward white using new = old + (255 − old) × factor. Click a swatch to open it in the generator.
-
10% tint
#2d7448 -
20% tint
#45845d -
30% tint
#5c9371 -
40% tint
#73a385 -
50% tint
#8bb29a -
60% tint
#a2c1ae -
70% tint
#b9d1c2 -
80% tint
#d0e0d6 -
90% tint
#e8f0eb
Shades of #166534 (Mixed with Black)
Each step blends the base color toward black using new = old × (1 − factor).
-
10% shade
#145b2f -
20% shade
#12512a -
30% shade
#0f4724 -
40% shade
#0d3d1f -
50% shade
#0b331a -
60% shade
#092815 -
70% shade
#071e10 -
80% shade
#04140a -
90% shade
#020a05
WCAG Contrast & Accessibility
Contrast ratios for text placed on a #166534 background. WCAG requires 4.5:1 for normal text (AA), 3:1 for large text (AA), and 7:1 for normal text (AAA).
| Text color | White text 7.13:1 — AA normal: Pass · AA large: Pass · AAA: Pass |
|---|---|
| Black text 2.95:1 — AA normal: Fail · AA large: Fail · AAA: Fail |
If neither pure white nor pure black reaches the level you need, pick a lighter tint of #166534 from the ramps above as the background instead — small lightness moves change contrast quickly. Test any other pair with the free contrast checker.
More green colors in the library: #008000, #3F6212 (lime-800), #4D7C0F (lime-700), #365314 (lime-900), #2D6A4F, #65A30D (lime-600).
Frequently Asked Questions
-
What color is #166534?
#166534 is a dark, moderately saturated green —
rgb(22, 101, 52). Its nearest CSS named color isdarkslategray. In Tailwind CSS it isgreen-800. -
How do I make tints and shades of #166534?
Mix #166534 with white for tints and with black for shades. A 20% tint of #166534 is
#45845dand a 20% shade is#12512a— the full 10%–90% ramps are precomputed on this page, or open #166534 in the generator for finer steps. -
What text color is readable on #166534?
White text gives the strongest contrast on a #166534 background at 7.13:1, which passes WCAG AA and AAA for normal text.
-
What is the Tailwind CSS class for #166534?
green-800— use it asbg-green-800,text-green-800, orborder-green-800. The full green 50–950 ramp is linked above.
Browse more colors in the color library, or start from any hex code on the HexTints homepage.
#166534? Put it on a free link-in-bio page →