#0C6826

Closest named color: Dark Green (#006400). oklch(45.3% 0.129 147.1), rgb(12, 104, 38).

Aa

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

About this color

#0C6826 is a medium-dark, moderately saturated green. In OKLCH its lightness is 45%, 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.028 away. White text reads best on it, at 6.94:1.

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

Values

HEX#0C6826
RGBrgb(12, 104, 38)
HSLhsl(137, 79%, 23%)
OKLCHoklch(45.3% 0.129 147.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 #0C6826 6.94:1 AA Lc -88.5 Fine for body text
Black text on #0C6826 3.02:1 AA large text Lc 20.5 Dividers and decoration only
#0C6826 text on white 6.94:1 AA Lc 83.5 Fine for body text
#0C6826 text on black 3.02:1 AA large text Lc -18.4 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

    #A1CEA5

    oklch(80.8% 0.074 147.2)

  5. Step 400

    400

    #6AB574

    oklch(70.7% 0.12 147.3)

  6. Step 500

    500

    #3AA14E

    oklch(63% 0.153 147.1)

  7. Step 600

    600

    #008B31

    oklch(55.5% 0.165 147.1)

  8. Step 700

    700

    #007528

    oklch(49% 0.145 147.1)

  9. Step 800

    800 (this color)

    #0C6826

    oklch(45.3% 0.129 147.1)

  10. Step 900

    900

    #104F1F

    oklch(37.7% 0.1 147.3)

  11. Step 950

    950

    #0D2E13

    oklch(26.9% 0.062 147.2)

Export this scale for Tailwind in the Tailwind colors tool

#0C6826 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)#695E1F0.099
Deuteranopia (no green cones)#60572C0.100
Tritanopia (no blue cones)#00655A0.078
Achromatopsia (no color)#5A5A5A0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6826

    #0C6826

    oklch(45.3% 0.129 147.1)

  • #7A377A

    #7A377A

    oklch(45.2% 0.129 327.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6826

    #0C6826

    oklch(45.3% 0.129 147.1)

  • #525D00

    #525D00

    oklch(45.3% 0.105 117.4)

  • #006555

    #006555

    oklch(45.3% 0.084 176.8)

Open the analogous palette in the generator

Split complementary

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

  • #0C6826

    #0C6826

    oklch(45.3% 0.129 147.1)

  • #5F4394

    #5F4394

    oklch(45.4% 0.129 296.9)

  • #8B3057

    #8B3057

    oklch(45.3% 0.13 357)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6826

    #0C6826

    oklch(45.3% 0.129 147.1)

  • #36509D

    #36509D

    oklch(45.3% 0.129 267.1)

  • #90322C

    #90322C

    oklch(45.3% 0.129 27.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6826

    #0C6826

    oklch(45.3% 0.129 147.1)

  • #005D86

    #005D86

    oklch(45.3% 0.099 237.1)

  • #7A377A

    #7A377A

    oklch(45.2% 0.129 327.4)

  • #824300

    #824300

    oklch(45.3% 0.109 57.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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