#0C582C

Closest named color: Spruce (#0A5F38). oklch(40.6% 0.101 151.9), rgb(12, 88, 44).

Aa

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

About this color

#0C582C is a dark, moderately saturated green. In OKLCH its lightness is 41%, its chroma 0.101 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.025 away. White text reads best on it, at 8.57:1.

Hue familyGreens
Lightnessdark (41%)
Chromamoderately saturated (0.101)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.44:1
White text8.57:1

Values

HEX#0C582C
RGBrgb(12, 88, 44)
HSLhsl(145, 76%, 20%)
OKLCHoklch(40.6% 0.101 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 #0C582C 8.57:1 AAA Lc -93.6 Preferred for body text
Black text on #0C582C 2.44:1 Fails Lc 14.9 Not readable
#0C582C text on white 8.57:1 AAA Lc 89.1 Fine for body text
#0C582C text on black 2.44:1 Fails Lc -13.2 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

    #A5CCAE

    oklch(80.9% 0.059 151.9)

  5. Step 400

    400

    #72B283

    oklch(70.7% 0.095 151.8)

  6. Step 500

    500

    #499E64

    oklch(63.1% 0.12 151.8)

  7. Step 600

    600

    #24884B

    oklch(55.5% 0.13 152)

  8. Step 700

    700

    #14733C

    oklch(49% 0.121 152)

  9. Step 800

    800 (this color)

    #0C582C

    oklch(40.6% 0.101 151.9)

  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

#0C582C 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)#5850290.085
Deuteranopia (no green cones)#504A2F0.084
Tritanopia (no blue cones)#00574D0.052
Achromatopsia (no color)#4C4C4C0.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C582C

    #0C582C

    oklch(40.6% 0.101 151.9)

  • #683261

    #683261

    oklch(40.6% 0.101 332.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C582C

    #0C582C

    oklch(40.6% 0.101 151.9)

  • #415100

    #415100

    oklch(40.6% 0.098 121.8)

  • #00564C

    #00564C

    oklch(40.6% 0.073 181.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C582C

    #0C582C

    oklch(40.6% 0.101 151.9)

  • #543A76

    #543A76

    oklch(40.6% 0.1 302.1)

  • #732E45

    #732E45

    oklch(40.5% 0.1 1.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C582C

    #0C582C

    oklch(40.6% 0.101 151.9)

  • #37447F

    #37447F

    oklch(40.7% 0.1 271.9)

  • #763024

    #763024

    oklch(40.5% 0.101 31.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C582C

    #0C582C

    oklch(40.6% 0.101 151.9)

  • #004E78

    #004E78

    oklch(40.6% 0.096 241.7)

  • #683261

    #683261

    oklch(40.6% 0.101 332.3)

  • #6C3B00

    #6C3B00

    oklch(40.5% 0.094 61.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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