#15170A

Closest named color: Almost Black (#070D0D). oklch(19.8% 0.024 115.8), rgb(21, 23, 10).

Aa

White text reads best on this color (18.12:1).

About this color

#15170A is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.024. It has too little chroma to lean warm or cool. The nearest named color is Almost Black (#070D0D), ΔE 0.052 away. White text reads best on it, at 18.12:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.024)
Temperatureneutral
Nearest nameAlmost Black (#070D0D)
Black text1.15:1
White text18.12:1

Values

HEX#15170A
RGBrgb(21, 23, 10)
HSLhsl(69, 39%, 6%)
OKLCHoklch(19.8% 0.024 115.8)

Contrast

WCAG 2 contrast ratios are the conformance target: AA needs 4.5:1 for body text and 3:1 for large text, AAA needs 7:1. APCA Lc values are supplementary guidance from the WCAG 3 drafts.

PairWCAG 2ResultAPCAAPCA guidance
White text on #15170A 18.12:1 AAA Lc -107.0 Preferred for body text
Black text on #15170A 1.15:1 Fails Lc 0.0 Not readable
#15170A text on white 18.12:1 AAA Lc 104.8 Preferred for body text
#15170A text on black 1.15:1 Fails Lc 0.0 Not readable

Tints and shades

A 50–950 scale built in OKLCH: the hue is held, lightness follows a Tailwind v4-like curve, and every step is kept inside the sRGB gamut. This color sits at step 950.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D8DBCF

    oklch(88.6% 0.016 118.2)

  4. Step 300

    300

    #BFC3AE

    oklch(80.8% 0.029 115.8)

  5. Step 400

    400

    #9FA584

    oklch(70.8% 0.047 116)

  6. Step 500

    500

    #878E65

    oklch(63% 0.059 116)

  7. Step 600

    600

    #71784C

    oklch(55.5% 0.064 115.9)

  8. Step 700

    700

    #5F653D

    oklch(49.1% 0.06 115.6)

  9. Step 800

    800

    #4D5233

    oklch(42.5% 0.048 116)

  10. Step 900

    900

    #40442D

    oklch(37.6% 0.037 116.3)

  11. Step 950

    950 (this color)

    #15170A

    oklch(19.8% 0.024 115.8)

Export this scale for Tailwind in the Tailwind colors tool

#15170A with color blindness

Simulated with the Machado et al. (2009) model. ΔE is how far the color moves: below about 0.02 you would not notice a change.

VisionSeen asShift (ΔE)
Protanopia (no red cones)#1916090.008
Deuteranopia (no green cones)#19160B0.009
Tritanopia (no blue cones)#1616140.020
Achromatopsia (no color)#1616160.024

Harmonies

Hue rotations in OKLCH that keep this color's lightness and chroma.

Complementary

The opposite hue (180°).

  • #15170A

    #15170A

    oklch(19.8% 0.024 115.8)

  • #16131F

    #16131F

    oklch(19.6% 0.024 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #15170A

    #15170A

    oklch(19.8% 0.024 115.8)

  • #1B1508

    #1B1508

    oklch(19.9% 0.025 85.6)

  • #0E190F

    #0E190F

    oklch(19.9% 0.025 146.8)

Open the analogous palette in the generator

Split complementary

The two hues beside the complement (150° and 210°).

  • #15170A

    #15170A

    oklch(19.8% 0.024 115.8)

  • #101521

    #101521

    oklch(19.7% 0.026 266.7)

  • #1B121C

    #1B121C

    oklch(19.8% 0.024 323.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #15170A

    #15170A

    oklch(19.8% 0.024 115.8)

  • #0A171F

    #0A171F

    oklch(19.7% 0.024 236.9)

  • #1F1116

    #1F1116

    oklch(19.9% 0.025 356.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #15170A

    #15170A

    oklch(19.8% 0.024 115.8)

  • #07191B

    #07191B

    oklch(19.9% 0.024 204.9)

  • #16131F

    #16131F

    oklch(19.6% 0.024 295.6)

  • #201110

    #201110

    oklch(19.8% 0.025 23.8)

Open the square palette in the generator

Palettes with this color

Curated palettes that contain a color within ΔE 0.04 (OKLab) of #15170A, closest first.

Similar named colors

The eight closest entries in our named color list, with their ΔE distance.

Use #15170A in your product

Turn it into light and dark UI roles checked for contrast, then export to Tailwind v4, shadcn/ui, CSS or design tokens.