#0C1200

Closest named color: Almost Black (#070D0D). oklch(17% 0.042 123), rgb(12, 18, 0).

Aa

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

About this color

#0C1200 is a very dark, muted brown. In OKLCH its lightness is 17%, its chroma 0.042 and its hue 123°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.043 away. White text reads best on it, at 19.05:1.

Hue familyBrowns
Lightnessvery dark (17%)
Chromamuted (0.042)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.10:1
White text19.05:1

Values

HEX#0C1200
RGBrgb(12, 18, 0)
HSLhsl(80, 100%, 4%)
OKLCHoklch(17% 0.042 123)

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 #0C1200 19.05:1 AAA Lc -107.4 Preferred for body text
Black text on #0C1200 1.10:1 Fails Lc 0.0 Not readable
#0C1200 text on white 19.05:1 AAA Lc 105.4 Preferred for body text
#0C1200 text on black 1.10: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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE1

    oklch(93.7% 0.015 123)

  3. Step 200

    200

    #D5DCC9

    oklch(88.4% 0.027 123.5)

  4. Step 300

    300

    #BAC6A4

    oklch(80.8% 0.048 123.3)

  5. Step 400

    400

    #97A972

    oklch(70.7% 0.079 123.1)

  6. Step 500

    500

    #7E934C

    oklch(63% 0.1 122.8)

  7. Step 600

    600

    #677D2D

    oklch(55.5% 0.109 123)

  8. Step 700

    700

    #566A1F

    oklch(49.2% 0.103 123.1)

  9. Step 800

    800

    #46561C

    oklch(42.6% 0.084 123.1)

  10. Step 900

    900

    #3B471D

    oklch(37.7% 0.066 122.8)

  11. Step 950

    950 (this color)

    #0C1200

    oklch(17% 0.042 123)

Export this scale for Tailwind in the Tailwind colors tool

#0C1200 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)#1410000.017
Deuteranopia (no green cones)#1310010.017
Tritanopia (no blue cones)#0D100D0.035
Achromatopsia (no color)#1010100.042

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1200

    #0C1200

    oklch(17% 0.042 123)

  • #130A1E

    #130A1E

    oklch(16.9% 0.042 303)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1200

    #0C1200

    oklch(17% 0.042 123)

  • #150F00

    #150F00

    oklch(17.1% 0.035 92.6)

  • #011407

    #011407

    oklch(16.9% 0.04 153.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C1200

    #0C1200

    oklch(17% 0.042 123)

  • #0A0D21

    #0A0D21

    oklch(16.9% 0.042 274.6)

  • #1A0817

    #1A0817

    oklch(17.1% 0.041 333.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1200

    #0C1200

    oklch(17% 0.042 123)

  • #001120

    #001120

    oklch(17.1% 0.041 243.2)

  • #1D070E

    #1D070E

    oklch(17% 0.04 1.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1200

    #0C1200

    oklch(17% 0.042 123)

  • #001317

    #001317

    oklch(17.1% 0.03 211.1)

  • #130A1E

    #130A1E

    oklch(16.9% 0.042 303)

  • #1E0704

    #1E0704

    oklch(16.8% 0.042 32.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #0C1200 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.