#0C663B

Closest named color: Spruce (#0A5F38). oklch(45% 0.105 155.6), rgb(12, 102, 59).

Aa

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

About this color

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

Hue familyGreens
Lightnessmedium-dark (45%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameSpruce (#0A5F38)
Black text2.97:1
White text7.04:1

Values

HEX#0C663B
RGBrgb(12, 102, 59)
HSLhsl(151, 79%, 22%)
OKLCHoklch(45% 0.105 155.6)

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 #0C663B 7.04:1 AAA Lc -88.9 Fine for body text
Black text on #0C663B 2.97:1 Fails Lc 20.1 Dividers and decoration only
#0C663B text on white 7.04:1 AAA Lc 84.0 Fine for body text
#0C663B text on black 2.97:1 Fails Lc -18.0 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

    #E1EEE5

    oklch(93.7% 0.018 155.8)

  3. Step 200

    200

    #C8E0D0

    oklch(88.4% 0.034 156.5)

  4. Step 300

    300

    #A1CDB0

    oklch(80.9% 0.062 155.9)

  5. Step 400

    400

    #6BB386

    oklch(70.7% 0.099 155.5)

  6. Step 500

    500

    #3BA068

    oklch(63.2% 0.126 155.6)

  7. Step 600

    600

    #008A4F

    oklch(55.7% 0.136 155.4)

  8. Step 700

    700

    #007442

    oklch(49.1% 0.12 155.6)

  9. Step 800

    800 (this color)

    #0C663B

    oklch(45% 0.105 155.6)

  10. Step 900

    900

    #114E2E

    oklch(37.7% 0.082 155.5)

  11. Step 950

    950

    #0D2E1B

    oklch(27.1% 0.053 155.1)

Export this scale for Tailwind in the Tailwind colors tool

#0C663B 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)#655D380.093
Deuteranopia (no green cones)#5B563E0.091
Tritanopia (no blue cones)#00655B0.051
Achromatopsia (no color)#5959590.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #0C663B

    #0C663B

    oklch(45% 0.105 155.6)

  • #783C6C

    #783C6C

    oklch(45% 0.105 335.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #0C663B

    #0C663B

    oklch(45% 0.105 155.6)

  • #475F10

    #475F10

    oklch(45% 0.105 125.7)

  • #00635C

    #00635C

    oklch(45% 0.079 186.4)

Open the analogous palette in the generator

Split complementary

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

  • #0C663B

    #0C663B

    oklch(45% 0.105 155.6)

  • #644483

    #644483

    oklch(45% 0.105 306.1)

  • #84394D

    #84394D

    oklch(45.1% 0.105 5.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #0C663B

    #0C663B

    oklch(45% 0.105 155.6)

  • #464E8F

    #464E8F

    oklch(45% 0.106 276)

  • #863C29

    #863C29

    oklch(45% 0.107 35.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #0C663B

    #0C663B

    oklch(45% 0.105 155.6)

  • #13598C

    #13598C

    oklch(45% 0.106 246.2)

  • #783C6C

    #783C6C

    oklch(45% 0.105 335.2)

  • #7A4800

    #7A4800

    oklch(45% 0.1 66.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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