#0C6837

Closest named color: Spruce (#0A5F38). oklch(45.5% 0.112 153.1), rgb(12, 104, 55).

Aa

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

About this color

#0C6837 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.112 and its hue 153°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Spruce (#0A5F38), ΔE 0.030 away. White text reads best on it, at 6.88:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.112)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.05:1
White text6.88:1

Values

HEX#0C6837
RGBrgb(12, 104, 55)
HSLhsl(148, 79%, 23%)
OKLCHoklch(45.5% 0.112 153.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 #0C6837 6.88:1 AA Lc -88.3 Fine for body text
Black text on #0C6837 3.05:1 AA large text Lc 20.7 Dividers and decoration only
#0C6837 text on white 6.88:1 AA Lc 83.3 Fine for body text
#0C6837 text on black 3.05:1 AA large text Lc -18.6 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

    #F1F7F3

    oklch(97.1% 0.008 157.1)

  2. Step 100

    100

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  3. Step 200

    200

    #C8E1CE

    oklch(88.6% 0.037 152.8)

  4. Step 300

    300

    #A1CDAD

    oklch(80.8% 0.065 153.2)

  5. Step 400

    400

    #6AB481

    oklch(70.8% 0.106 152.9)

  6. Step 500

    500

    #39A061

    oklch(63% 0.134 153.1)

  7. Step 600

    600

    #008A48

    oklch(55.5% 0.143 153)

  8. Step 700

    700

    #00743C

    oklch(49% 0.126 153.1)

  9. Step 800

    800 (this color)

    #0C6837

    oklch(45.5% 0.112 153.1)

  10. Step 900

    900

    #0F4E2A

    oklch(37.5% 0.087 153.2)

  11. Step 950

    950

    #0C2E19

    oklch(27% 0.056 153.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C6837 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)#685E330.097
Deuteranopia (no green cones)#5E573A0.095
Tritanopia (no blue cones)#00665C0.059
Achromatopsia (no color)#5A5A5A0.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6837

    #0C6837

    oklch(45.5% 0.112 153.1)

  • #7A3C71

    #7A3C71

    oklch(45.5% 0.112 332.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6837

    #0C6837

    oklch(45.5% 0.112 153.1)

  • #4B6000

    #4B6000

    oklch(45.5% 0.112 123.2)

  • #00655B

    #00655B

    oklch(45.5% 0.081 183.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C6837

    #0C6837

    oklch(45.5% 0.112 153.1)

  • #644589

    #644589

    oklch(45.6% 0.111 303.3)

  • #883851

    #883851

    oklch(45.7% 0.112 3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6837

    #0C6837

    oklch(45.5% 0.112 153.1)

  • #435095

    #435095

    oklch(45.6% 0.113 273.1)

  • #8A3B2B

    #8A3B2B

    oklch(45.6% 0.112 33.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6837

    #0C6837

    oklch(45.5% 0.112 153.1)

  • #005C8F

    #005C8F

    oklch(45.6% 0.11 243.1)

  • #7A3C71

    #7A3C71

    oklch(45.5% 0.112 332.9)

  • #7E4700

    #7E4700

    oklch(45.4% 0.104 62.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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