#12170C

Closest named color: Almost Black (#070D0D). oklch(19.5% 0.022 128.2), rgb(18, 23, 12).

Aa

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

About this color

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

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

Values

HEX#12170C
RGBrgb(18, 23, 12)
HSLhsl(87, 31%, 7%)
OKLCHoklch(19.5% 0.022 128.2)

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

    #E8EBE5

    oklch(93.6% 0.009 128.6)

  3. Step 200

    200

    #D6DBD1

    oklch(88.5% 0.015 128.6)

  4. Step 300

    300

    #BBC4B2

    oklch(80.8% 0.027 128.8)

  5. Step 400

    400

    #99A68A

    oklch(70.7% 0.042 127.8)

  6. Step 500

    500

    #80906D

    oklch(63.1% 0.054 127.8)

  7. Step 600

    600

    #697A55

    oklch(55.5% 0.058 128.2)

  8. Step 700

    700

    #576745

    oklch(49.1% 0.055 128.8)

  9. Step 800

    800

    #485439

    oklch(42.7% 0.045 127.7)

  10. Step 900

    900

    #3C4531

    oklch(37.6% 0.035 127.7)

  11. Step 950

    950 (this color)

    #12170C

    oklch(19.5% 0.022 128.2)

Export this scale for Tailwind in the Tailwind colors tool

#12170C 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)#18160B0.011
Deuteranopia (no green cones)#17150D0.013
Tritanopia (no blue cones)#1316140.017
Achromatopsia (no color)#1515150.022

Harmonies

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

Complementary

The opposite hue (180°).

  • #12170C

    #12170C

    oklch(19.5% 0.022 128.2)

  • #18121D

    #18121D

    oklch(19.5% 0.023 309.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #12170C

    #12170C

    oklch(19.5% 0.022 128.2)

  • #181509

    #181509

    oklch(19.5% 0.022 95.8)

  • #0C1811

    #0C1811

    oklch(19.5% 0.022 157.9)

Open the analogous palette in the generator

Split complementary

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

  • #12170C

    #12170C

    oklch(19.5% 0.022 128.2)

  • #13141F

    #13141F

    oklch(19.6% 0.022 280.1)

  • #1C1118

    #1C1118

    oklch(19.5% 0.022 340.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #12170C

    #12170C

    oklch(19.5% 0.022 128.2)

  • #0D161F

    #0D161F

    oklch(19.6% 0.023 249)

  • #1E1113

    #1E1113

    oklch(19.6% 0.022 9.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #12170C

    #12170C

    oklch(19.5% 0.022 128.2)

  • #08171C

    #08171C

    oklch(19.4% 0.023 221.6)

  • #18121D

    #18121D

    oklch(19.5% 0.023 309.1)

  • #1E110E

    #1E110E

    oklch(19.4% 0.023 33.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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