#786C38

Closest named color: Dirt Brown (#836539). oklch(53% 0.073 96.7), rgb(120, 108, 56).

Aa

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

About this color

#786C38 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 53%, its chroma 0.073 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt Brown (#836539), ΔE 0.027 away. White text reads best on it, at 5.24:1.

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.073)
Temperaturewarm
Nearest nameDirt Brown (#836539)
Black text4.00:1
White text5.24:1

Values

HEX#786C38
RGBrgb(120, 108, 56)
HSLhsl(49, 36%, 35%)
OKLCHoklch(53% 0.073 96.7)

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 #786C38 5.24:1 AA Lc -81.4 Fine for body text
Black text on #786C38 4.00:1 AA large text Lc 28.0 Dividers and decoration only
#786C38 text on white 5.24:1 AA Lc 76.0 Fine for body text
#786C38 text on black 4.00:1 AA large text Lc -25.7 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

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CC

    oklch(88.4% 0.018 96.1)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400

    #AAA17C

    oklch(70.7% 0.052 96)

  6. Step 500

    500

    #958A5A

    oklch(63.1% 0.067 96.8)

  7. Step 600

    600 (this color)

    #786C38

    oklch(53% 0.073 96.7)

  8. Step 700

    700

    #6C6131

    oklch(49.2% 0.069 96.7)

  9. Step 800

    800

    #584F2A

    oklch(42.7% 0.056 96.1)

  10. Step 900

    900

    #484226

    oklch(37.8% 0.044 97.6)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#786C38 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)#756A330.009
Deuteranopia (no green cones)#786E3A0.006
Tritanopia (no blue cones)#8065600.067
Achromatopsia (no color)#6C6C6C0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #786C38

    #786C38

    oklch(53% 0.073 96.7)

  • #616896

    #616896

    oklch(53% 0.073 277)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786C38

    #786C38

    oklch(53% 0.073 96.7)

  • #89633C

    #89633C

    oklch(53% 0.073 65.8)

  • #617445

    #617445

    oklch(53.1% 0.073 126.7)

Open the analogous palette in the generator

Split complementary

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

  • #786C38

    #786C38

    oklch(53% 0.073 96.7)

  • #487094

    #487094

    oklch(53.1% 0.073 246.8)

  • #77618D

    #77618D

    oklch(53.1% 0.072 306.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786C38

    #786C38

    oklch(53% 0.073 96.7)

  • #327687

    #327687

    oklch(53% 0.073 216.9)

  • #875B7C

    #875B7C

    oklch(53% 0.074 336.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786C38

    #786C38

    oklch(53% 0.073 96.7)

  • #317A73

    #317A73

    oklch(53.2% 0.073 186.6)

  • #616896

    #616896

    oklch(53% 0.073 277)

  • #905A65

    #905A65

    oklch(53.1% 0.072 6.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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