#0C1F04

Closest named color: Dark Forest Green (#002D04). oklch(21.5% 0.055 137), rgb(12, 31, 4).

Aa

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

About this color

#0C1F04 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.055 and its hue 137°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.052 away. White text reads best on it, at 17.30:1.

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.055)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.21:1
White text17.30:1

Values

HEX#0C1F04
RGBrgb(12, 31, 4)
HSLhsl(102, 77%, 7%)
OKLCHoklch(21.5% 0.055 137)

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 #0C1F04 17.30:1 AAA Lc -106.4 Preferred for body text
Black text on #0C1F04 1.21:1 Fails Lc 0.0 Not readable
#0C1F04 text on white 17.30:1 AAA Lc 104.1 Preferred for body text
#0C1F04 text on black 1.21: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

    #F3F7F1

    oklch(97.1% 0.009 134.9)

  2. Step 100

    100

    #E4EDE1

    oklch(93.6% 0.019 137.8)

  3. Step 200

    200

    #CEDFC8

    oklch(88.5% 0.036 137.5)

  4. Step 300

    300

    #ADCBA2

    oklch(80.9% 0.065 137.3)

  5. Step 400

    400

    #81B06E

    oklch(70.7% 0.105 137)

  6. Step 500

    500

    #619C46

    oklch(63.2% 0.134 136.8)

  7. Step 600

    600

    #468625

    oklch(55.7% 0.145 137)

  8. Step 700

    700

    #377117

    oklch(49.1% 0.135 137)

  9. Step 800

    800

    #2E5C17

    oklch(42.6% 0.111 137.1)

  10. Step 900

    900

    #2A4C1A

    oklch(37.8% 0.087 136.9)

  11. Step 950

    950 (this color)

    #0C1F04

    oklch(21.5% 0.055 137)

Export this scale for Tailwind in the Tailwind colors tool

#0C1F04 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)#201C020.033
Deuteranopia (no green cones)#1E1A060.035
Tritanopia (no blue cones)#0B1E190.037
Achromatopsia (no color)#1B1B1B0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1F04

    #0C1F04

    oklch(21.5% 0.055 137)

  • #23102A

    #23102A

    oklch(21.4% 0.055 316.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1F04

    #0C1F04

    oklch(21.5% 0.055 137)

  • #1C1B00

    #1C1B00

    oklch(21.6% 0.047 107.8)

  • #002015

    #002015

    oklch(21.6% 0.045 166.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C1F04

    #0C1F04

    oklch(21.5% 0.055 137)

  • #181431

    #181431

    oklch(21.4% 0.055 287.1)

  • #2B0D1E

    #2B0D1E

    oklch(21.5% 0.055 347.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1F04

    #0C1F04

    oklch(21.5% 0.055 137)

  • #071932

    #071932

    oklch(21.4% 0.055 257)

  • #2E0D10

    #2E0D10

    oklch(21.5% 0.054 17.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1F04

    #0C1F04

    oklch(21.5% 0.055 137)

  • #001D28

    #001D28

    oklch(21.5% 0.041 226.5)

  • #23102A

    #23102A

    oklch(21.4% 0.055 316.3)

  • #2D1002

    #2D1002

    oklch(21.6% 0.054 47.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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