#786C2F

Closest named color: Brown Green (#706C11). oklch(52.9% 0.082 98.3), rgb(120, 108, 47).

Aa

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

About this color

#786C2F is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.082 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Green (#706C11), ΔE 0.028 away. White text reads best on it, at 5.27:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.082)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.98:1
White text5.27:1

Values

HEX#786C2F
RGBrgb(120, 108, 47)
HSLhsl(50, 44%, 33%)
OKLCHoklch(52.9% 0.082 98.3)

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 #786C2F 5.27:1 AA Lc -81.5 Fine for body text
Black text on #786C2F 3.98:1 AA large text Lc 27.9 Dividers and decoration only
#786C2F text on white 5.27:1 AA Lc 76.1 Fine for body text
#786C2F text on black 3.98:1 AA large text Lc -25.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 600.

  1. Step 50

    50

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE2

    oklch(93.6% 0.011 100.8)

  3. Step 200

    200

    #DCDACA

    oklch(88.6% 0.022 101)

  4. Step 300

    300

    #C6C1A6

    oklch(80.8% 0.037 98.5)

  5. Step 400

    400

    #AAA277

    oklch(70.8% 0.06 98.8)

  6. Step 500

    500

    #958A53

    oklch(63% 0.076 98.3)

  7. Step 600

    600 (this color)

    #786C2F

    oklch(52.9% 0.082 98.3)

  8. Step 700

    700

    #6C6129

    oklch(49.1% 0.077 98.3)

  9. Step 800

    800

    #584F23

    oklch(42.6% 0.064 97.9)

  10. Step 900

    900

    #484222

    oklch(37.7% 0.049 98.9)

  11. Step 950

    950

    #2A2714

    oklch(27% 0.032 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#786C2F 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)#7669290.010
Deuteranopia (no green cones)#796E320.006
Tritanopia (no blue cones)#81655F0.076
Achromatopsia (no color)#6C6C6C0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #786C2F

    #786C2F

    oklch(52.9% 0.082 98.3)

  • #61669B

    #61669B

    oklch(52.9% 0.083 279)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786C2F

    #786C2F

    oklch(52.9% 0.082 98.3)

  • #8B6233

    #8B6233

    oklch(52.9% 0.083 68.1)

  • #5D753F

    #5D753F

    oklch(53% 0.083 128.5)

Open the analogous palette in the generator

Split complementary

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

  • #786C2F

    #786C2F

    oklch(52.9% 0.082 98.3)

  • #436F99

    #436F99

    oklch(52.8% 0.083 248.6)

  • #795E90

    #795E90

    oklch(52.9% 0.082 308.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786C2F

    #786C2F

    oklch(52.9% 0.082 98.3)

  • #25778B

    #25778B

    oklch(53% 0.082 217.6)

  • #8B587C

    #8B587C

    oklch(52.9% 0.084 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786C2F

    #786C2F

    oklch(52.9% 0.082 98.3)

  • #207B75

    #207B75

    oklch(53% 0.083 188.4)

  • #61669B

    #61669B

    oklch(52.9% 0.083 279)

  • #945762

    #945762

    oklch(52.9% 0.082 8.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #786C2F 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.