#0C5808

Closest named color: Deep Green (#02590F). oklch(40.1% 0.129 142.3), rgb(12, 88, 8).

Aa

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

About this color

#0C5808 is a dark, moderately saturated green. In OKLCH its lightness is 40%, its chroma 0.129 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Deep Green (#02590F), ΔE 0.005 away. White text reads best on it, at 8.69:1.

Hue familyGreens
Lightnessdark (40%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.41:1
White text8.69:1

Values

HEX#0C5808
RGBrgb(12, 88, 8)
HSLhsl(117, 83%, 19%)
OKLCHoklch(40.1% 0.129 142.3)

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 #0C5808 8.69:1 AAA Lc -93.8 Preferred for body text
Black text on #0C5808 2.41:1 Fails Lc 14.7 Not readable
#0C5808 text on white 8.69:1 AAA Lc 89.3 Fine for body text
#0C5808 text on black 2.41:1 Fails Lc -12.9 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

    #F1F8F0

    oklch(97.2% 0.013 141.8)

  2. Step 100

    100

    #E0EFDE

    oklch(93.6% 0.028 142)

  3. Step 200

    200

    #C6E3C2

    oklch(88.6% 0.054 141.8)

  4. Step 300

    300

    #9CD197

    oklch(80.9% 0.097 142.5)

  5. Step 400

    400

    #62B85A

    oklch(70.7% 0.155 142.1)

  6. Step 500

    500

    #26A51F

    oklch(63.1% 0.198 142.3)

  7. Step 600

    600

    #068C00

    oklch(55.5% 0.188 142.3)

  8. Step 700

    700

    #047600

    oklch(49.1% 0.166 142.3)

  9. Step 800

    800

    #036100

    oklch(42.7% 0.145 142.3)

  10. Step 900

    900 (this color)

    #0C5808

    oklch(40.1% 0.129 142.3)

  11. Step 950

    950

    #073005

    oklch(27.1% 0.083 142.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C5808 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)#5A4F000.090
Deuteranopia (no green cones)#5249130.090
Tritanopia (no blue cones)#00554A0.084
Achromatopsia (no color)#4B4B4B0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5808

    #0C5808

    oklch(40.1% 0.129 142.3)

  • #672A70

    #672A70

    oklch(40.1% 0.129 322.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5808

    #0C5808

    oklch(40.1% 0.129 142.3)

  • #494C00

    #494C00

    oklch(40% 0.089 112.4)

  • #005543

    #005543

    oklch(40% 0.078 172.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C5808

    #0C5808

    oklch(40.1% 0.129 142.3)

  • #4C3686

    #4C3686

    oklch(40.2% 0.128 292.3)

  • #78214F

    #78214F

    oklch(40.1% 0.129 352)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5808

    #0C5808

    oklch(40.1% 0.129 142.3)

  • #1F438C

    #1F438C

    oklch(40.1% 0.129 262.4)

  • #7F2026

    #7F2026

    oklch(40% 0.129 22)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5808

    #0C5808

    oklch(40.1% 0.129 142.3)

  • #004F6D

    #004F6D

    oklch(40.2% 0.083 232.5)

  • #672A70

    #672A70

    oklch(40.1% 0.129 322.3)

  • #713400

    #713400

    oklch(40% 0.103 52.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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