#0C6834

Closest named color: Spruce (#0A5F38). oklch(45.5% 0.115 151.8), rgb(12, 104, 52).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text3.04:1
White text6.89:1

Values

HEX#0C6834
RGBrgb(12, 104, 52)
HSLhsl(146, 79%, 23%)
OKLCHoklch(45.5% 0.115 151.8)

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 #0C6834 6.89:1 AA Lc -88.4 Fine for body text
Black text on #0C6834 3.04:1 AA large text Lc 20.7 Dividers and decoration only
#0C6834 text on white 6.89:1 AA Lc 83.4 Fine for body text
#0C6834 text on black 3.04: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

    #F1F7F2

    oklch(97% 0.009 150.7)

  2. Step 100

    100

    #E1EEE3

    oklch(93.6% 0.02 150.1)

  3. Step 200

    200

    #C8E1CD

    oklch(88.6% 0.038 151.3)

  4. Step 300

    300

    #A1CEAB

    oklch(81% 0.068 151.4)

  5. Step 400

    400

    #6AB47F

    oklch(70.7% 0.108 151.9)

  6. Step 500

    500

    #3AA15E

    oklch(63.3% 0.138 151.7)

  7. Step 600

    600

    #008A44

    oklch(55.5% 0.147 151.7)

  8. Step 700

    700

    #007539

    oklch(49.2% 0.13 151.8)

  9. Step 800

    800 (this color)

    #0C6834

    oklch(45.5% 0.115 151.8)

  10. Step 900

    900

    #104F28

    oklch(37.8% 0.09 151.5)

  11. Step 950

    950

    #0C2E18

    oklch(26.9% 0.057 152.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C6834 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)#685E300.097
Deuteranopia (no green cones)#5E57380.096
Tritanopia (no blue cones)#00665C0.063
Achromatopsia (no color)#5A5A5A0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6834

    #0C6834

    oklch(45.5% 0.115 151.8)

  • #7A3B73

    #7A3B73

    oklch(45.4% 0.115 331.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6834

    #0C6834

    oklch(45.5% 0.115 151.8)

  • #4D5F00

    #4D5F00

    oklch(45.4% 0.11 121.6)

  • #00655A

    #00655A

    oklch(45.5% 0.081 182.1)

Open the analogous palette in the generator

Split complementary

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

  • #0C6834

    #0C6834

    oklch(45.5% 0.115 151.8)

  • #63448B

    #63448B

    oklch(45.4% 0.115 302.2)

  • #883652

    #883652

    oklch(45.4% 0.116 1.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6834

    #0C6834

    oklch(45.5% 0.115 151.8)

  • #415096

    #415096

    oklch(45.5% 0.115 272)

  • #8B392B

    #8B392B

    oklch(45.4% 0.115 31.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6834

    #0C6834

    oklch(45.5% 0.115 151.8)

  • #005C8D

    #005C8D

    oklch(45.5% 0.108 242.1)

  • #7A3B73

    #7A3B73

    oklch(45.4% 0.115 331.6)

  • #7F4700

    #7F4700

    oklch(45.6% 0.105 62.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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