#0C6A28

Closest named color: Dark Green (#006400). oklch(45.9% 0.129 147.4), rgb(12, 106, 40).

Aa

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

About this color

#0C6A28 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.129 and its hue 147°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Green (#006400), ΔE 0.032 away. White text reads best on it, at 6.75:1.

Hue familyGreens
Lightnessmedium-dark (46%)
Chromamoderately saturated (0.129)
Temperaturein between
Nearest nameDark Green (#006400)
Black text3.10:1
White text6.75:1

Values

HEX#0C6A28
RGBrgb(12, 106, 40)
HSLhsl(138, 80%, 23%)
OKLCHoklch(45.9% 0.129 147.4)

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 #0C6A28 6.75:1 AA Lc -87.8 Fine for body text
Black text on #0C6A28 3.10:1 AA large text Lc 21.3 Dividers and decoration only
#0C6A28 text on white 6.75:1 AA Lc 82.8 Fine for body text
#0C6A28 text on black 3.10:1 AA large text Lc -19.1 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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE2

    oklch(93.6% 0.021 147.6)

  3. Step 200

    200

    #C8E1CA

    oklch(88.5% 0.041 147.5)

  4. Step 300

    300

    #A0CEA5

    oklch(80.8% 0.075 147.7)

  5. Step 400

    400

    #69B574

    oklch(70.7% 0.121 147.5)

  6. Step 500

    500

    #38A24E

    oklch(63.2% 0.155 147.3)

  7. Step 600

    600

    #008B33

    oklch(55.5% 0.163 147.4)

  8. Step 700

    700

    #00752A

    oklch(49% 0.144 147.5)

  9. Step 800

    800 (this color)

    #0C6A28

    oklch(45.9% 0.129 147.4)

  10. Step 900

    900

    #0E4F1F

    oklch(37.6% 0.1 147.6)

  11. Step 950

    950

    #0C2F13

    oklch(27.2% 0.064 147.4)

Export this scale for Tailwind in the Tailwind colors tool

#0C6A28 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)#6B60210.100
Deuteranopia (no green cones)#61592D0.099
Tritanopia (no blue cones)#00675C0.078
Achromatopsia (no color)#5B5B5B0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6A28

    #0C6A28

    oklch(45.9% 0.129 147.4)

  • #7C397C

    #7C397C

    oklch(45.9% 0.129 327.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6A28

    #0C6A28

    oklch(45.9% 0.129 147.4)

  • #545F00

    #545F00

    oklch(46% 0.106 117.3)

  • #006757

    #006757

    oklch(45.9% 0.085 177.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C6A28

    #0C6A28

    oklch(45.9% 0.129 147.4)

  • #614496

    #614496

    oklch(45.9% 0.13 297.3)

  • #8D3258

    #8D3258

    oklch(45.9% 0.129 357.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6A28

    #0C6A28

    oklch(45.9% 0.129 147.4)

  • #38519F

    #38519F

    oklch(45.8% 0.13 267.7)

  • #92342D

    #92342D

    oklch(45.9% 0.129 27.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6A28

    #0C6A28

    oklch(45.9% 0.129 147.4)

  • #005F89

    #005F89

    oklch(46% 0.101 237.3)

  • #7C397C

    #7C397C

    oklch(45.9% 0.129 327.4)

  • #844500

    #844500

    oklch(45.9% 0.11 57.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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