#0C5D20

Closest named color: Deep Green (#02590F). oklch(41.9% 0.119 146.5), rgb(12, 93, 32).

Aa

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

About this color

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

Hue familyGreens
Lightnessdark (42%)
Chromamoderately saturated (0.119)
Temperaturein between
Nearest nameDeep Green (#02590F)
Black text2.60:1
White text8.07:1

Values

HEX#0C5D20
RGBrgb(12, 93, 32)
HSLhsl(135, 77%, 21%)
OKLCHoklch(41.9% 0.119 146.5)

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 #0C5D20 8.07:1 AAA Lc -92.2 Preferred for body text
Black text on #0C5D20 2.60:1 Fails Lc 16.5 Dividers and decoration only
#0C5D20 text on white 8.07:1 AAA Lc 87.5 Fine for body text
#0C5D20 text on black 2.60:1 Fails Lc -14.7 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

    #F2F7F2

    oklch(97.1% 0.008 145.5)

  2. Step 100

    100

    #E2EEE2

    oklch(93.7% 0.02 145.4)

  3. Step 200

    200

    #C9E1CA

    oklch(88.6% 0.04 146.4)

  4. Step 300

    300

    #A4CDA6

    oklch(80.8% 0.07 146.2)

  5. Step 400

    400

    #70B376

    oklch(70.6% 0.111 146.4)

  6. Step 500

    500

    #45A052

    oklch(63.1% 0.143 146.4)

  7. Step 600

    600

    #1C8A36

    oklch(55.6% 0.155 146.7)

  8. Step 700

    700

    #097528

    oklch(49.1% 0.144 146.6)

  9. Step 800

    800 (this color)

    #0C5D20

    oklch(41.9% 0.119 146.5)

  10. Step 900

    900

    #184E21

    oklch(37.6% 0.093 146.5)

  11. Step 950

    950

    #102E14

    oklch(27% 0.059 146.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C5D20 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)#5E54190.091
Deuteranopia (no green cones)#564E250.091
Tritanopia (no blue cones)#005B500.071
Achromatopsia (no color)#5050500.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5D20

    #0C5D20

    oklch(41.9% 0.119 146.5)

  • #6D316E

    #6D316E

    oklch(41.9% 0.119 326.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5D20

    #0C5D20

    oklch(41.9% 0.119 146.5)

  • #4A5300

    #4A5300

    oklch(42% 0.097 116.7)

  • #005A4C

    #005A4C

    oklch(41.8% 0.077 177.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C5D20

    #0C5D20

    oklch(41.9% 0.119 146.5)

  • #543B85

    #543B85

    oklch(41.8% 0.12 296.5)

  • #7C2A4E

    #7C2A4E

    oklch(41.8% 0.12 356.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5D20

    #0C5D20

    oklch(41.9% 0.119 146.5)

  • #2F478D

    #2F478D

    oklch(41.8% 0.12 266.9)

  • #812C27

    #812C27

    oklch(41.8% 0.119 26.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5D20

    #0C5D20

    oklch(41.9% 0.119 146.5)

  • #005377

    #005377

    oklch(41.8% 0.09 236.3)

  • #6D316E

    #6D316E

    oklch(41.9% 0.119 326.8)

  • #753B00

    #753B00

    oklch(41.8% 0.102 56.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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