#0C1F02

Closest named color: Dark Forest Green (#002D04). oklch(21.5% 0.058 135.6), rgb(12, 31, 2).

Aa

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

About this color

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

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

Values

HEX#0C1F02
RGBrgb(12, 31, 2)
HSLhsl(99, 88%, 6%)
OKLCHoklch(21.5% 0.058 135.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 #0C1F02 17.31:1 AAA Lc -106.4 Preferred for body text
Black text on #0C1F02 1.21:1 Fails Lc 0.0 Not readable
#0C1F02 text on white 17.31:1 AAA Lc 104.1 Preferred for body text
#0C1F02 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

    #E4EDE0

    oklch(93.6% 0.02 135.8)

  3. Step 200

    200

    #CEDFC6

    oklch(88.4% 0.038 135.5)

  4. Step 300

    300

    #ADCB9F

    oklch(80.8% 0.068 135.8)

  5. Step 400

    400

    #81B069

    oklch(70.6% 0.111 135.6)

  6. Step 500

    500

    #619C3E

    oklch(63.1% 0.141 135.5)

  7. Step 600

    600

    #468617

    oklch(55.6% 0.153 135.7)

  8. Step 700

    700

    #387104

    oklch(49% 0.142 135.4)

  9. Step 800

    800

    #2F5C0C

    oklch(42.6% 0.117 135.3)

  10. Step 900

    900

    #2A4C14

    oklch(37.7% 0.092 135.4)

  11. Step 950

    950 (this color)

    #0C1F02

    oklch(21.5% 0.058 135.6)

Export this scale for Tailwind in the Tailwind colors tool

#0C1F02 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)#211B000.037
Deuteranopia (no green cones)#1E1A040.036
Tritanopia (no blue cones)#0B1D190.043
Achromatopsia (no color)#1A1A1A0.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C1F02

    #0C1F02

    oklch(21.5% 0.058 135.6)

  • #23102B

    #23102B

    oklch(21.5% 0.057 315)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C1F02

    #0C1F02

    oklch(21.5% 0.058 135.6)

  • #1C1A00

    #1C1A00

    oklch(21.3% 0.045 105.8)

  • #002014

    #002014

    oklch(21.6% 0.046 164.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C1F02

    #0C1F02

    oklch(21.5% 0.058 135.6)

  • #181433

    #181433

    oklch(21.5% 0.059 286.2)

  • #2B0C1F

    #2B0C1F

    oklch(21.4% 0.058 345.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C1F02

    #0C1F02

    oklch(21.5% 0.058 135.6)

  • #051933

    #051933

    oklch(21.4% 0.058 255.6)

  • #2F0B10

    #2F0B10

    oklch(21.4% 0.059 15.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C1F02

    #0C1F02

    oklch(21.5% 0.058 135.6)

  • #001D28

    #001D28

    oklch(21.5% 0.041 226.5)

  • #23102B

    #23102B

    oklch(21.5% 0.057 315)

  • #2E0F01

    #2E0F01

    oklch(21.5% 0.057 46.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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