#0C1404

Closest named color: Almost Black (#070D0D). oklch(17.8% 0.035 129.7), rgb(12, 20, 4).

Aa

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

About this color

#0C1404 is a very dark, muted green. In OKLCH its lightness is 18%, its chroma 0.035 and its hue 130°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Almost Black (#070D0D), ΔE 0.041 away. White text reads best on it, at 18.79:1.

Hue familyGreens
Lightnessvery dark (18%)
Chromamuted (0.035)
Temperaturein between
Nearest nameAlmost Black (#070D0D)
Black text1.11:1
White text18.79:1

Values

HEX#0C1404
RGBrgb(12, 20, 4)
HSLhsl(90, 67%, 5%)
OKLCHoklch(17.8% 0.035 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 #0C1404 18.79:1 AAA Lc -107.3 Preferred for body text
Black text on #0C1404 1.11:1 Fails Lc 0.0 Not readable
#0C1404 text on white 18.79:1 AAA Lc 105.3 Preferred for body text
#0C1404 text on black 1.11: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

    #F4F6F2

    oklch(97.1% 0.006 128.5)

  2. Step 100

    100

    #E7ECE3

    oklch(93.7% 0.013 130.8)

  3. Step 200

    200

    #D4DCCD

    oklch(88.4% 0.022 130)

  4. Step 300

    300

    #B8C6AB

    oklch(80.8% 0.04 129.7)

  5. Step 400

    400

    #93A97E

    oklch(70.6% 0.065 130)

  6. Step 500

    500

    #79945D

    oklch(63.2% 0.084 129.8)

  7. Step 600

    600

    #627E42

    oklch(55.6% 0.092 129.5)

  8. Step 700

    700

    #516A34

    oklch(49.1% 0.085 129.5)

  9. Step 800

    800

    #42572C

    oklch(42.8% 0.071 130.2)

  10. Step 900

    900

    #384728

    oklch(37.6% 0.053 129.7)

  11. Step 950

    950 (this color)

    #0C1404

    oklch(17.8% 0.035 129.7)

Export this scale for Tailwind in the Tailwind colors tool

#0C1404 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)#1512030.018
Deuteranopia (no green cones)#1411050.020
Tritanopia (no blue cones)#0D13100.026
Achromatopsia (no color)#1212120.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1404

    #0C1404

    oklch(17.8% 0.035 129.7)

  • #160C1C

    #160C1C

    oklch(17.7% 0.035 311.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1404

    #0C1404

    oklch(17.8% 0.035 129.7)

  • #151101

    #151101

    oklch(17.7% 0.034 98.1)

  • #02160C

    #02160C

    oklch(17.9% 0.035 160.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C1404

    #0C1404

    oklch(17.8% 0.035 129.7)

  • #0E0F20

    #0E0F20

    oklch(17.7% 0.035 279.7)

  • #1B0B16

    #1B0B16

    oklch(17.9% 0.034 339.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1404

    #0C1404

    oklch(17.8% 0.035 129.7)

  • #051220

    #051220

    oklch(17.8% 0.035 250.4)

  • #1E0A0E

    #1E0A0E

    oklch(17.8% 0.035 8.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1404

    #0C1404

    oklch(17.8% 0.035 129.7)

  • #00141B

    #00141B

    oklch(17.7% 0.033 221.3)

  • #160C1C

    #160C1C

    oklch(17.7% 0.035 311.9)

  • #1E0B06

    #1E0B06

    oklch(17.8% 0.035 37.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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