#0C5D25

Closest named color: Deep Green (#02590F). oklch(42% 0.115 148.1), rgb(12, 93, 37).

Aa

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

About this color

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

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

Values

HEX#0C5D25
RGBrgb(12, 93, 37)
HSLhsl(139, 77%, 21%)
OKLCHoklch(42% 0.115 148.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 #0C5D25 8.05:1 AAA Lc -92.1 Preferred for body text
Black text on #0C5D25 2.60:1 Fails Lc 16.6 Dividers and decoration only
#0C5D25 text on white 8.05:1 AAA Lc 87.4 Fine for body text
#0C5D25 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

    #E2EEE3

    oklch(93.7% 0.019 147.8)

  3. Step 200

    200

    #C9E0CC

    oklch(88.4% 0.037 149.1)

  4. Step 300

    300

    #A4CDA9

    oklch(80.9% 0.066 148.3)

  5. Step 400

    400

    #70B37A

    oklch(70.7% 0.107 148)

  6. Step 500

    500

    #459F58

    oklch(63% 0.136 148.2)

  7. Step 600

    600

    #1C8A3C

    oklch(55.7% 0.149 148)

  8. Step 700

    700

    #08752E

    oklch(49.2% 0.139 148.1)

  9. Step 800

    800 (this color)

    #0C5D25

    oklch(42% 0.115 148.1)

  10. Step 900

    900

    #184E24

    oklch(37.7% 0.09 147.8)

  11. Step 950

    950

    #102E16

    oklch(27.1% 0.057 148.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C5D25 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)#5E54200.091
Deuteranopia (no green cones)#554E290.089
Tritanopia (no blue cones)#005B510.067
Achromatopsia (no color)#5050500.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5D25

    #0C5D25

    oklch(42% 0.115 148.1)

  • #6D326C

    #6D326C

    oklch(41.9% 0.115 328)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5D25

    #0C5D25

    oklch(42% 0.115 148.1)

  • #495300

    #495300

    oklch(41.9% 0.097 117.4)

  • #005A4D

    #005A4D

    oklch(41.9% 0.077 178.5)

Open the analogous palette in the generator

Split complementary

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

  • #0C5D25

    #0C5D25

    oklch(42% 0.115 148.1)

  • #563C82

    #563C82

    oklch(42% 0.114 298.5)

  • #7C2C4D

    #7C2C4D

    oklch(42% 0.116 357.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5D25

    #0C5D25

    oklch(42% 0.115 148.1)

  • #32478B

    #32478B

    oklch(41.8% 0.116 268.2)

  • #802E27

    #802E27

    oklch(41.9% 0.115 27.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5D25

    #0C5D25

    oklch(42% 0.115 148.1)

  • #005379

    #005379

    oklch(42% 0.093 237.7)

  • #6D326C

    #6D326C

    oklch(41.9% 0.115 328)

  • #743C00

    #743C00

    oklch(41.9% 0.1 57.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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