#0C512C

Closest named color: Pine Green (#0A481E). oklch(38.4% 0.09 153.9), rgb(12, 81, 44).

Aa

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

About this color

#0C512C is a dark, moderately saturated green. In OKLCH its lightness is 38%, its chroma 0.090 and its hue 154°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pine Green (#0A481E), ΔE 0.032 away. White text reads best on it, at 9.42:1.

Hue familyGreens
Lightnessdark (38%)
Chromamoderately saturated (0.090)
Temperaturein between
Nearest namePine Green (#0A481E)
Black text2.22:1
White text9.42:1

Values

HEX#0C512C
RGBrgb(12, 81, 44)
HSLhsl(148, 74%, 18%)
OKLCHoklch(38.4% 0.09 153.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 #0C512C 9.42:1 AAA Lc -95.7 Preferred for body text
Black text on #0C512C 2.22:1 Fails Lc 12.6 Not readable
#0C512C text on white 9.42:1 AAA Lc 91.4 Preferred for body text
#0C512C text on black 2.22:1 Fails Lc -11.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 900.

  1. Step 50

    50

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E0EEE4

    oklch(93.6% 0.02 154.9)

  3. Step 200

    200

    #C7E1CE

    oklch(88.5% 0.038 153.8)

  4. Step 300

    300

    #9FCEAD

    oklch(80.9% 0.068 154.1)

  5. Step 400

    400

    #66B481

    oklch(70.6% 0.108 154)

  6. Step 500

    500

    #31A161

    oklch(63.1% 0.139 153.9)

  7. Step 600

    600

    #008A4B

    oklch(55.6% 0.14 154)

  8. Step 700

    700

    #00743E

    oklch(49% 0.124 153.9)

  9. Step 800

    800

    #005F32

    oklch(42.6% 0.107 154.1)

  10. Step 900

    900 (this color)

    #0C512C

    oklch(38.4% 0.09 153.9)

  11. Step 950

    950

    #0A2E19

    oklch(26.9% 0.057 154.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C512C 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)#514A290.079
Deuteranopia (no green cones)#49442F0.078
Tritanopia (no blue cones)#0050480.046
Achromatopsia (no color)#4646460.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C512C

    #0C512C

    oklch(38.4% 0.09 153.9)

  • #602F57

    #602F57

    oklch(38.5% 0.09 334.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C512C

    #0C512C

    oklch(38.4% 0.09 153.9)

  • #3A4B07

    #3A4B07

    oklch(38.5% 0.09 123.7)

  • #004F47

    #004F47

    oklch(38.4% 0.068 183.3)

Open the analogous palette in the generator

Split complementary

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

  • #0C512C

    #0C512C

    oklch(38.4% 0.09 153.9)

  • #4E366A

    #4E366A

    oklch(38.5% 0.089 303.8)

  • #6A2C3E

    #6A2C3E

    oklch(38.5% 0.091 4.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C512C

    #0C512C

    oklch(38.4% 0.09 153.9)

  • #353E73

    #353E73

    oklch(38.4% 0.09 274.1)

  • #6B2E21

    #6B2E21

    oklch(38.3% 0.091 33.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C512C

    #0C512C

    oklch(38.4% 0.09 153.9)

  • #074770

    #074770

    oklch(38.4% 0.091 244.4)

  • #602F57

    #602F57

    oklch(38.5% 0.09 334.5)

  • #633800

    #633800

    oklch(38.5% 0.087 64.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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