#0C2012

Closest named color: Rich Black (#0D1B2A). oklch(22.2% 0.038 151.9), rgb(12, 32, 18).

Aa

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

About this color

#0C2012 is a very dark, muted green. In OKLCH its lightness is 22%, its chroma 0.038 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Rich Black (#0D1B2A), ΔE 0.056 away. White text reads best on it, at 17.05:1.

Hue familyGreens
Lightnessvery dark (22%)
Chromamuted (0.038)
Temperaturein between
Nearest nameRich Black (#0D1B2A)
Black text1.23:1
White text17.05:1

Values

HEX#0C2012
RGBrgb(12, 32, 18)
HSLhsl(138, 45%, 9%)
OKLCHoklch(22.2% 0.038 151.9)

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 #0C2012 17.05:1 AAA Lc -106.2 Preferred for body text
Black text on #0C2012 1.23:1 Fails Lc 0.0 Not readable
#0C2012 text on white 17.05:1 AAA Lc 103.9 Preferred for body text
#0C2012 text on black 1.23: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

    #F3F7F3

    oklch(97.2% 0.007 145.5)

  2. Step 100

    100

    #E4ECE6

    oklch(93.5% 0.012 153.7)

  3. Step 200

    200

    #CEDED1

    oklch(88.5% 0.025 151.1)

  4. Step 300

    300

    #ACC9B3

    oklch(80.8% 0.044 152.6)

  5. Step 400

    400

    #7FAE8B

    oklch(70.7% 0.072 152.2)

  6. Step 500

    500

    #5D9A6E

    oklch(63.2% 0.092 151.9)

  7. Step 600

    600

    #418455

    oklch(55.6% 0.1 151.6)

  8. Step 700

    700

    #327046

    oklch(49.2% 0.093 152)

  9. Step 800

    800

    #2B5B39

    oklch(42.7% 0.077 151.4)

  10. Step 900

    900

    #274B31

    oklch(37.8% 0.061 151.5)

  11. Step 950

    950 (this color)

    #0C2012

    oklch(22.2% 0.038 151.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C2012 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)#201D110.033
Deuteranopia (no green cones)#1D1B130.032
Tritanopia (no blue cones)#081F1C0.020
Achromatopsia (no color)#1C1C1C0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2012

    #0C2012

    oklch(22.2% 0.038 151.9)

  • #251423

    #251423

    oklch(22.1% 0.038 331)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2012

    #0C2012

    oklch(22.2% 0.038 151.9)

  • #181E08

    #181E08

    oklch(22.3% 0.039 122.2)

  • #02211C

    #02211C

    oklch(22.3% 0.038 180.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C2012

    #0C2012

    oklch(22.2% 0.038 151.9)

  • #1E172A

    #1E172A

    oklch(22.3% 0.037 300.3)

  • #29131A

    #29131A

    oklch(22.1% 0.038 0.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2012

    #0C2012

    oklch(22.2% 0.038 151.9)

  • #151A2D

    #151A2D

    oklch(22.3% 0.038 271.8)

  • #2A1410

    #2A1410

    oklch(22.2% 0.037 31.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2012

    #0C2012

    oklch(22.2% 0.038 151.9)

  • #091D2B

    #091D2B

    oklch(22.2% 0.038 241.7)

  • #251423

    #251423

    oklch(22.1% 0.038 331)

  • #281707

    #281707

    oklch(22.3% 0.038 62.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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