#12170D

Closest named color: Rich Navy (#001219). oklch(19.6% 0.021 129.7), rgb(18, 23, 13).

Aa

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

About this color

#12170D is a very dark close to neutral grey. In OKLCH its lightness is 20%, its chroma 0.021. It has too little chroma to lean warm or cool. The nearest named color is Rich Navy (#001219), ΔE 0.047 away. White text reads best on it, at 18.19:1.

Hue familyNeutrals
Lightnessvery dark (20%)
Chromaclose to neutral grey (0.021)
Temperatureneutral
Nearest nameRich Navy (#001219)
Black text1.15:1
White text18.19:1

Values

HEX#12170D
RGBrgb(18, 23, 13)
HSLhsl(90, 28%, 7%)
OKLCHoklch(19.6% 0.021 129.7)

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 #12170D 18.19:1 AAA Lc -107.0 Preferred for body text
Black text on #12170D 1.15:1 Fails Lc 0.0 Not readable
#12170D text on white 18.19:1 AAA Lc 104.9 Preferred for body text
#12170D 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E8EBE6

    oklch(93.6% 0.007 132.4)

  3. Step 200

    200

    #D6DBD2

    oklch(88.5% 0.013 130.8)

  4. Step 300

    300

    #BBC4B4

    oklch(80.9% 0.024 131.2)

  5. Step 400

    400

    #99A68C

    oklch(70.8% 0.04 129.1)

  6. Step 500

    500

    #809070

    oklch(63.2% 0.05 129.4)

  7. Step 600

    600

    #697A58

    oklch(55.6% 0.055 129.6)

  8. Step 700

    700

    #576748

    oklch(49.2% 0.051 130.3)

  9. Step 800

    800

    #47543B

    oklch(42.7% 0.043 130.4)

  10. Step 900

    900

    #3C4533

    oklch(37.7% 0.032 129.5)

  11. Step 950

    950 (this color)

    #12170D

    oklch(19.6% 0.021 129.7)

Export this scale for Tailwind in the Tailwind colors tool

#12170D 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)#18160C0.011
Deuteranopia (no green cones)#17150D0.012
Tritanopia (no blue cones)#1216140.015
Achromatopsia (no color)#1515150.021

Harmonies

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

Complementary

The opposite hue (180°).

  • #12170D

    #12170D

    oklch(19.6% 0.021 129.7)

  • #18131C

    #18131C

    oklch(19.7% 0.019 309.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12170D

    #12170D

    oklch(19.6% 0.021 129.7)

  • #17150A

    #17150A

    oklch(19.4% 0.021 99.2)

  • #0D1812

    #0D1812

    oklch(19.6% 0.02 160)

Open the analogous palette in the generator

Split complementary

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

  • #12170D

    #12170D

    oklch(19.6% 0.021 129.7)

  • #13141E

    #13141E

    oklch(19.5% 0.02 279.9)

  • #1C1118

    #1C1118

    oklch(19.5% 0.022 340.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12170D

    #12170D

    oklch(19.6% 0.021 129.7)

  • #0E161E

    #0E161E

    oklch(19.6% 0.02 248.9)

  • #1D1113

    #1D1113

    oklch(19.5% 0.02 8.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12170D

    #12170D

    oklch(19.6% 0.021 129.7)

  • #0A171C

    #0A171C

    oklch(19.5% 0.021 224.6)

  • #18131C

    #18131C

    oklch(19.7% 0.019 309.8)

  • #1D120E

    #1D120E

    oklch(19.5% 0.02 40.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #12170D 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.