#0C2A1B

Closest named color: Dark Forest Green (#002D04). oklch(25.7% 0.046 158.8), rgb(12, 42, 27).

Aa

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

About this color

#0C2A1B is a dark, muted green. In OKLCH its lightness is 26%, its chroma 0.046 and its hue 159°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Forest Green (#002D04), ΔE 0.040 away. White text reads best on it, at 15.41:1.

Hue familyGreens
Lightnessdark (26%)
Chromamuted (0.046)
Temperaturein between
Nearest nameDark Forest Green (#002D04)
Black text1.36:1
White text15.41:1

Values

HEX#0C2A1B
RGBrgb(12, 42, 27)
HSLhsl(150, 56%, 11%)
OKLCHoklch(25.7% 0.046 158.8)

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 #0C2A1B 15.41:1 AAA Lc -104.9 Preferred for body text
Black text on #0C2A1B 1.36:1 Fails Lc 0.0 Not readable
#0C2A1B text on white 15.41:1 AAA Lc 102.2 Preferred for body text
#0C2A1B text on black 1.36: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

    #F2F7F4

    oklch(97.2% 0.007 160.1)

  2. Step 100

    100

    #E2EDE6

    oklch(93.6% 0.015 158.2)

  3. Step 200

    200

    #C9E0D2

    oklch(88.6% 0.031 159)

  4. Step 300

    300

    #A4CCB4

    oklch(81% 0.054 158.6)

  5. Step 400

    400

    #6FB18D

    oklch(70.6% 0.086 159.3)

  6. Step 500

    500

    #439E70

    oklch(63.1% 0.112 158.6)

  7. Step 600

    600

    #188858

    oklch(55.6% 0.121 158.7)

  8. Step 700

    700

    #037348

    oklch(49% 0.112 158.7)

  9. Step 800

    800

    #0D5E3C

    oklch(42.7% 0.093 159.1)

  10. Step 900

    900

    #174D33

    oklch(37.7% 0.072 158.8)

  11. Step 950

    950 (this color)

    #0C2A1B

    oklch(25.7% 0.046 158.8)

Export this scale for Tailwind in the Tailwind colors tool

#0C2A1B 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)#2A261A0.044
Deuteranopia (no green cones)#25231C0.042
Tritanopia (no blue cones)#032A260.020
Achromatopsia (no color)#2525250.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C2A1B

    #0C2A1B

    oklch(25.7% 0.046 158.8)

  • #321A2B

    #321A2B

    oklch(25.8% 0.047 338.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C2A1B

    #0C2A1B

    oklch(25.7% 0.046 158.8)

  • #1C280E

    #1C280E

    oklch(25.8% 0.047 129.7)

  • #002A28

    #002A28

    oklch(25.7% 0.044 189.9)

Open the analogous palette in the generator

Split complementary

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

  • #0C2A1B

    #0C2A1B

    oklch(25.7% 0.046 158.8)

  • #2A1D34

    #2A1D34

    oklch(25.8% 0.045 309.4)

  • #36191F

    #36191F

    oklch(25.7% 0.047 7.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C2A1B

    #0C2A1B

    oklch(25.7% 0.046 158.8)

  • #1F2139

    #1F2139

    oklch(25.8% 0.045 279.1)

  • #361B12

    #361B12

    oklch(25.7% 0.046 39.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C2A1B

    #0C2A1B

    oklch(25.7% 0.046 158.8)

  • #102539

    #102539

    oklch(25.8% 0.047 249)

  • #321A2B

    #321A2B

    oklch(25.8% 0.047 338.6)

  • #321F08

    #321F08

    oklch(25.8% 0.046 68.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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