#0C572C

Closest named color: Spruce (#0A5F38). oklch(40.3% 0.099 152.1), rgb(12, 87, 44).

Aa

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

About this color

#0C572C is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.099 and its hue 152°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.027 away. White text reads best on it, at 8.69:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.099)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.41:1
White text8.69:1

Values

HEX#0C572C
RGBrgb(12, 87, 44)
HSLhsl(146, 76%, 19%)
OKLCHoklch(40.3% 0.099 152.1)

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 #0C572C 8.69:1 AAA Lc -93.9 Preferred for body text
Black text on #0C572C 2.41:1 Fails Lc 14.6 Not readable
#0C572C text on white 8.69:1 AAA Lc 89.4 Fine for body text
#0C572C text on black 2.41:1 Fails Lc -12.8 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 800.

  1. Step 50

    50

    #F2F7F3

    oklch(97.1% 0.007 151.9)

  2. Step 100

    100

    #E2EDE4

    oklch(93.5% 0.017 151.1)

  3. Step 200

    200

    #CAE0CF

    oklch(88.6% 0.033 152.4)

  4. Step 300

    300

    #A5CCAF

    oklch(80.9% 0.058 152.8)

  5. Step 400

    400

    #73B284

    oklch(70.8% 0.094 152)

  6. Step 500

    500

    #4A9E65

    oklch(63.2% 0.119 152)

  7. Step 600

    600

    #25884C

    oklch(55.6% 0.129 152.3)

  8. Step 700

    700

    #15733D

    oklch(49% 0.119 152.3)

  9. Step 800

    800 (this color)

    #0C572C

    oklch(40.3% 0.099 152.1)

  10. Step 900

    900

    #1B4D2C

    oklch(37.7% 0.078 151.9)

  11. Step 950

    950

    #112D1A

    oklch(26.9% 0.049 152.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C572C 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)#574F290.084
Deuteranopia (no green cones)#4F492F0.083
Tritanopia (no blue cones)#00564D0.052
Achromatopsia (no color)#4B4B4B0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C572C

    #0C572C

    oklch(40.3% 0.099 152.1)

  • #663260

    #663260

    oklch(40.3% 0.098 331.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C572C

    #0C572C

    oklch(40.3% 0.099 152.1)

  • #405000

    #405000

    oklch(40.3% 0.098 121.9)

  • #00554B

    #00554B

    oklch(40.3% 0.072 181.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C572C

    #0C572C

    oklch(40.3% 0.099 152.1)

  • #533974

    #533974

    oklch(40.2% 0.099 302.5)

  • #722E44

    #722E44

    oklch(40.3% 0.099 2.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C572C

    #0C572C

    oklch(40.3% 0.099 152.1)

  • #36437D

    #36437D

    oklch(40.2% 0.099 271.8)

  • #743024

    #743024

    oklch(40.2% 0.099 31.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C572C

    #0C572C

    oklch(40.3% 0.099 152.1)

  • #004D77

    #004D77

    oklch(40.3% 0.096 242)

  • #663260

    #663260

    oklch(40.3% 0.098 331.7)

  • #6B3B00

    #6B3B00

    oklch(40.3% 0.093 62.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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