#0C6935

Closest named color: Spruce (#0A5F38). oklch(45.8% 0.116 152), rgb(12, 105, 53).

Aa

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

About this color

#0C6935 is a medium-dark, moderately saturated green. In OKLCH its lightness is 46%, its chroma 0.116 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.035 away. White text reads best on it, at 6.80:1.

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

Values

HEX#0C6935
RGBrgb(12, 105, 53)
HSLhsl(146, 79%, 23%)
OKLCHoklch(45.8% 0.116 152)

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 #0C6935 6.80:1 AA Lc -88.0 Fine for body text
Black text on #0C6935 3.08:1 AA large text Lc 21.1 Dividers and decoration only
#0C6935 text on white 6.80:1 AA Lc 83.0 Fine for body text
#0C6935 text on black 3.08:1 AA large text Lc -18.9 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

    #E1EEE4

    oklch(93.7% 0.019 152.8)

  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

    #38A15E

    oklch(63.2% 0.139 152)

  7. Step 600

    600

    #008A45

    oklch(55.5% 0.146 152)

  8. Step 700

    700

    #007439

    oklch(49% 0.129 152)

  9. Step 800

    800 (this color)

    #0C6935

    oklch(45.8% 0.116 152)

  10. Step 900

    900

    #0F4F28

    oklch(37.8% 0.091 151.7)

  11. Step 950

    950

    #0C2E18

    oklch(26.9% 0.057 152.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C6935 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)#695F310.098
Deuteranopia (no green cones)#5F58390.097
Tritanopia (no blue cones)#00675D0.063
Achromatopsia (no color)#5B5B5B0.116

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C6935

    #0C6935

    oklch(45.8% 0.116 152)

  • #7B3C74

    #7B3C74

    oklch(45.8% 0.115 331.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C6935

    #0C6935

    oklch(45.8% 0.116 152)

  • #4D6000

    #4D6000

    oklch(45.7% 0.111 122.1)

  • #00665B

    #00665B

    oklch(45.8% 0.082 182.2)

Open the analogous palette in the generator

Split complementary

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

  • #0C6935

    #0C6935

    oklch(45.8% 0.116 152)

  • #64458C

    #64458C

    oklch(45.8% 0.115 302.2)

  • #893752

    #893752

    oklch(45.7% 0.115 2.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C6935

    #0C6935

    oklch(45.8% 0.116 152)

  • #425197

    #425197

    oklch(45.8% 0.115 272.1)

  • #8C3A2B

    #8C3A2B

    oklch(45.7% 0.115 32.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C6935

    #0C6935

    oklch(45.8% 0.116 152)

  • #005D8E

    #005D8E

    oklch(45.8% 0.108 241.8)

  • #7B3C74

    #7B3C74

    oklch(45.8% 0.115 331.6)

  • #804700

    #804700

    oklch(45.7% 0.106 61.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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