#0C5F01

Closest named color: Dark Green (#006400). oklch(42.3% 0.14 141.6), rgb(12, 95, 1).

Aa

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

About this color

#0C5F01 is a dark, vivid green. In OKLCH its lightness is 42%, its chroma 0.140 and its hue 142°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.016 away. White text reads best on it, at 7.91:1.

Hue familyGreens
Lightnessdark (42%)
Chromavivid (0.140)
Temperaturein between
Nearest nameDark Green (#006400)
Black text2.65:1
White text7.91:1

Values

HEX#0C5F01
RGBrgb(12, 95, 1)
HSLhsl(113, 98%, 19%)
OKLCHoklch(42.3% 0.14 141.6)

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 #0C5F01 7.91:1 AAA Lc -91.6 Preferred for body text
Black text on #0C5F01 2.65:1 Fails Lc 17.1 Dividers and decoration only
#0C5F01 text on white 7.91:1 AAA Lc 86.9 Fine for body text
#0C5F01 text on black 2.65:1 Fails Lc -15.2 Dividers and decoration only

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

    #F1F7F1

    oklch(97% 0.01 145.5)

  2. Step 100

    100

    #E1EEE0

    oklch(93.6% 0.023 143.4)

  3. Step 200

    200

    #C9E1C5

    oklch(88.4% 0.046 141.2)

  4. Step 300

    300

    #A3CE9D

    oklch(80.8% 0.082 141.6)

  5. Step 400

    400

    #6FB566

    oklch(70.7% 0.132 141.6)

  6. Step 500

    500

    #44A139

    oklch(63% 0.167 141.6)

  7. Step 600

    600

    #1A8B08

    oklch(55.5% 0.182 141.6)

  8. Step 700

    700

    #107600

    oklch(49.2% 0.164 141.6)

  9. Step 800

    800 (this color)

    #0C5F01

    oklch(42.3% 0.14 141.6)

  10. Step 900

    900

    #174F11

    oklch(37.7% 0.109 141.7)

  11. Step 950

    950

    #0F2E0C

    oklch(26.8% 0.069 141.9)

Export this scale for Tailwind in the Tailwind colors tool

#0C5F01 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)#6255000.099
Deuteranopia (no green cones)#594F100.097
Tritanopia (no blue cones)#005C500.093
Achromatopsia (no color)#5151510.141

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C5F01

    #0C5F01

    oklch(42.3% 0.14 141.6)

  • #6F2C7A

    #6F2C7A

    oklch(42.2% 0.14 321.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C5F01

    #0C5F01

    oklch(42.3% 0.14 141.6)

  • #505200

    #505200

    oklch(42.3% 0.093 111.4)

  • #005C48

    #005C48

    oklch(42.3% 0.082 171.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C5F01

    #0C5F01

    oklch(42.3% 0.14 141.6)

  • #513992

    #513992

    oklch(42.1% 0.14 291.7)

  • #822256

    #822256

    oklch(42.2% 0.14 351.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C5F01

    #0C5F01

    oklch(42.3% 0.14 141.6)

  • #1E4899

    #1E4899

    oklch(42.2% 0.141 261.8)

  • #8A2129

    #8A2129

    oklch(42.2% 0.14 21.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C5F01

    #0C5F01

    oklch(42.3% 0.14 141.6)

  • #005574

    #005574

    oklch(42.2% 0.086 231.7)

  • #6F2C7A

    #6F2C7A

    oklch(42.2% 0.14 321.8)

  • #7A3800

    #7A3800

    oklch(42.1% 0.109 51.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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