#171C19

A color in the Green family

#171c19 is a color in the Green family: RGB(23, 28, 25), HSL(144°, 10%, 10%), CMYK(18%, 0%, 11%, 89%). Closest named color: midnightblue. Contrast is 17.26:1 on white and 1.22:1 on black. See shades, harmonies and color-blindness simulation.

Color Codes

HEX#171c19
RGBrgb(23 28 25)
RGB (legacy)rgb(23, 28, 25)
RGB %rgb(9% 11% 10%)
HSLhsl(144 10% 10%)
HSV / HSBhsv(144, 18%, 11%)
HWBhwb(144 9% 89%)
CMYKcmyk(18%, 0%, 11%, 89%)
CIELAB (D50)lab(9.66 -3.03 1.26)
LCHlch(9.66 3.28 157.48)
OKLaboklab(0.2201 -0.0088 0.0034)
OKLCHoklch(0.2201 0.0095 159.21)
Decimal1514521

Properties

Color ToneGreen
Closest named colormidnightblue ΔE 16.3
Closest web-safe color#003300
Hue144°
Saturation (HSL / HSV)10% / 18%
Lightness (HSL)10%
Brightness or Value (HSV)11%
Luminance (Rec.601 / Rec.709)10% / 10%
Relative luminance (WCAG)0.0108
Red / Green / Blue23 / 28 / 25

WCAG 2.2 Contrast Ratio

On White (#ffffff)
17.26:1
AA Normal (4.5:1) · PassAA Large (3:1) · PassAAA Normal (7:1) · Pass
On Black (#000000)
1.22:1
AA Normal (4.5:1) · FailAA Large (3:1) · FailAAA Normal (7:1) · Fail
Aa Bb 123

APCA Contrast Lc (reference) — As text on white / black: Lc 104.1 / 0 · As background with white / black text: Lc -106.4 / 0

Lightness Scale (OKLCH 50–950)

Eleven steps that change only perceived lightness while keeping hue and chroma — ready to use as design-system color tokens.

Tints (mixed with white)

Shades (mixed with black)

Color Harmonies

Color Vision Deficiency Simulation

Estimated appearance of this color for people with color vision deficiencies (Machado 2009).

Similar Named Colors

Use in CSS

:root {
  --color-brand: #171c19;
  --color-brand-oklch: oklch(22.01% 0.0095 159.21);
}
.text { color: var(--color-brand); }
.background { background-color: var(--color-brand); }
.border { border: 1px solid rgb(23 28 25 / 50%); }
/* Tailwind CSS */
<div class="bg-[#171c19] text-[#171c19] border-[#171c19]">