#0C1402

Closest named color: Almost Black (#070D0D). oklch(17.7% 0.039 127.5), rgb(12, 20, 2).

Aa

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

About this color

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

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

Values

HEX#0C1402
RGBrgb(12, 20, 2)
HSLhsl(87, 82%, 4%)
OKLCHoklch(17.7% 0.039 127.5)

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 #0C1402 18.80:1 AAA Lc -107.3 Preferred for body text
Black text on #0C1402 1.11:1 Fails Lc 0.0 Not readable
#0C1402 text on white 18.80:1 AAA Lc 105.3 Preferred for body text
#0C1402 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

    #E7ECE2

    oklch(93.7% 0.014 128.6)

  3. Step 200

    200

    #D4DDCB

    oklch(88.6% 0.026 128.8)

  4. Step 300

    300

    #B8C7A7

    oklch(81% 0.047 127.9)

  5. Step 400

    400

    #93AA77

    oklch(70.7% 0.076 127.9)

  6. Step 500

    500

    #799454

    oklch(63% 0.094 127.6)

  7. Step 600

    600

    #627E37

    oklch(55.5% 0.104 127.4)

  8. Step 700

    700

    #516B2A

    oklch(49.2% 0.097 127.8)

  9. Step 800

    800

    #435724

    oklch(42.7% 0.079 127.3)

  10. Step 900

    900

    #384822

    oklch(37.8% 0.063 127.9)

  11. Step 950

    950 (this color)

    #0C1402

    oklch(17.7% 0.039 127.5)

Export this scale for Tailwind in the Tailwind colors tool

#0C1402 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)#1612010.020
Deuteranopia (no green cones)#1411030.020
Tritanopia (no blue cones)#0D13100.031
Achromatopsia (no color)#1212120.040

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1402

    #0C1402

    oklch(17.7% 0.039 127.5)

  • #160C1E

    #160C1E

    oklch(17.8% 0.038 308.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1402

    #0C1402

    oklch(17.7% 0.039 127.5)

  • #151100

    #151100

    oklch(17.7% 0.037 99.2)

  • #01160A

    #01160A

    oklch(17.7% 0.039 157.7)

Open the analogous palette in the generator

Split complementary

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

  • #0C1402

    #0C1402

    oklch(17.7% 0.039 127.5)

  • #0D0F22

    #0D0F22

    oklch(17.8% 0.039 277.1)

  • #1C0917

    #1C0917

    oklch(17.7% 0.041 338.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1402

    #0C1402

    oklch(17.7% 0.039 127.5)

  • #031221

    #031221

    oklch(17.7% 0.039 248)

  • #1F090E

    #1F090E

    oklch(17.8% 0.039 7.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1402

    #0C1402

    oklch(17.7% 0.039 127.5)

  • #00141A

    #00141A

    oklch(17.7% 0.032 217.9)

  • #160C1E

    #160C1E

    oklch(17.8% 0.038 308.6)

  • #1F0A05

    #1F0A05

    oklch(17.7% 0.039 36.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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