#201812

Closest named color: Dark Brown (#341C02). oklch(21.7% 0.017 58.6), rgb(32, 24, 18).

Aa

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

About this color

#201812 is a very dark close to neutral grey. In OKLCH its lightness is 22%, its chroma 0.017. It has too little chroma to lean warm or cool. The nearest named color is Dark Brown (#341C02), ΔE 0.052 away. White text reads best on it, at 17.48:1.

Hue familyNeutrals
Lightnessvery dark (22%)
Chromaclose to neutral grey (0.017)
Temperatureneutral
Nearest nameDark Brown (#341C02)
Black text1.20:1
White text17.48:1

Values

HEX#201812
RGBrgb(32, 24, 18)
HSLhsl(26, 28%, 10%)
OKLCHoklch(21.7% 0.017 58.6)

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 #201812 17.48:1 AAA Lc -106.6 Preferred for body text
Black text on #201812 1.20:1 Fails Lc 0.0 Not readable
#201812 text on white 17.48:1 AAA Lc 104.3 Preferred for body text
#201812 text on black 1.20: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

    #F7F5F4

    oklch(97.1% 0.003 48.7)

  2. Step 100

    100

    #EDE9E6

    oklch(93.6% 0.006 59.6)

  3. Step 200

    200

    #DFD7D2

    oklch(88.4% 0.011 54.5)

  4. Step 300

    300

    #CBBEB4

    oklch(80.9% 0.02 60.1)

  5. Step 400

    400

    #B19C8D

    oklch(70.7% 0.033 57.7)

  6. Step 500

    500

    #9D8471

    oklch(63.1% 0.041 59.2)

  7. Step 600

    600

    #886D59

    oklch(55.6% 0.045 58.2)

  8. Step 700

    700

    #735B49

    oklch(49% 0.042 58.4)

  9. Step 800

    800

    #5E4B3C

    oklch(42.8% 0.035 59.9)

  10. Step 900

    900

    #4D3E33

    oklch(37.6% 0.028 58)

  11. Step 950

    950 (this color)

    #201812

    oklch(21.7% 0.017 58.6)

Export this scale for Tailwind in the Tailwind colors tool

#201812 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)#1A19120.012
Deuteranopia (no green cones)#1C1A120.010
Tritanopia (no blue cones)#2216160.013
Achromatopsia (no color)#1A1A1A0.017

Harmonies

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

Complementary

The opposite hue (180°).

  • #201812

    #201812

    oklch(21.7% 0.017 58.6)

  • #121B21

    #121B21

    oklch(21.6% 0.018 237.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #201812

    #201812

    oklch(21.7% 0.017 58.6)

  • #211715

    #211715

    oklch(21.7% 0.017 31.4)

  • #1D1A11

    #1D1A11

    oklch(21.8% 0.017 91.8)

Open the analogous palette in the generator

Split complementary

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

  • #201812

    #201812

    oklch(21.7% 0.017 58.6)

  • #101C1E

    #101C1E

    oklch(21.6% 0.017 209)

  • #161A22

    #161A22

    oklch(21.7% 0.017 264.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #201812

    #201812

    oklch(21.7% 0.017 58.6)

  • #111D1A

    #111D1A

    oklch(21.8% 0.018 177.2)

  • #1B1821

    #1B1821

    oklch(21.7% 0.018 300.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #201812

    #201812

    oklch(21.7% 0.017 58.6)

  • #141C15

    #141C15

    oklch(21.6% 0.018 148.3)

  • #121B21

    #121B21

    oklch(21.6% 0.018 237.8)

  • #1E171E

    #1E171E

    oklch(21.6% 0.017 326.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #201812 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.