#12170F

Closest named color: Rich Navy (#001219). oklch(19.6% 0.017 133.9), rgb(18, 23, 15).

Aa

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

About this color

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

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

Values

HEX#12170F
RGBrgb(18, 23, 15)
HSLhsl(98, 21%, 7%)
OKLCHoklch(19.6% 0.017 133.9)

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

    #E8EBE7

    oklch(93.7% 0.006 137.8)

  3. Step 200

    200

    #D6DBD3

    oklch(88.5% 0.012 133.4)

  4. Step 300

    300

    #BBC4B6

    oklch(80.9% 0.022 134.1)

  5. Step 400

    400

    #98A591

    oklch(70.6% 0.032 134.5)

  6. Step 500

    500

    #7F8F76

    oklch(63% 0.041 134.3)

  7. Step 600

    600

    #687A5E

    oklch(55.7% 0.047 134.5)

  8. Step 700

    700

    #57664E

    oklch(49% 0.042 133.9)

  9. Step 800

    800

    #475340

    oklch(42.6% 0.034 134.1)

  10. Step 900

    900

    #3C4536

    oklch(37.7% 0.028 132.9)

  11. Step 950

    950 (this color)

    #12170F

    oklch(19.6% 0.017 133.9)

Export this scale for Tailwind in the Tailwind colors tool

#12170F 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)#18160F0.012
Deuteranopia (no green cones)#17150F0.012
Tritanopia (no blue cones)#1216150.014
Achromatopsia (no color)#1616160.018

Harmonies

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

Complementary

The opposite hue (180°).

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #16160C

    #16160C

    oklch(19.7% 0.019 108)

  • #0E1813

    #0E1813

    oklch(19.7% 0.018 162.5)

Open the analogous palette in the generator

Split complementary

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

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #14141D

    #14141D

    oklch(19.6% 0.018 284.6)

  • #1B1217

    #1B1217

    oklch(19.6% 0.018 344.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #10161D

    #10161D

    oklch(19.7% 0.017 252.6)

  • #1C1213

    #1C1213

    oklch(19.6% 0.017 12.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12170F

    #12170F

    oklch(19.6% 0.017 133.9)

  • #0C171B

    #0C171B

    oklch(19.6% 0.018 222.8)

  • #18131B

    #18131B

    oklch(19.7% 0.018 312.7)

  • #1C130F

    #1C130F

    oklch(19.7% 0.017 45.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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