#786F51

Closest named color: Grey Brown (#7F7053). oklch(54.2% 0.045 93.4), rgb(120, 111, 81).

Aa

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

About this color

#786F51 is a medium-dark, muted yellow. In OKLCH its lightness is 54%, its chroma 0.045 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.012 away. White text reads best on it, at 5.01:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamuted (0.045)
Temperaturewarm
Nearest nameGrey Brown (#7F7053)
Black text4.19:1
White text5.01:1

Values

HEX#786F51
RGBrgb(120, 111, 81)
HSLhsl(46, 19%, 39%)
OKLCHoklch(54.2% 0.045 93.4)

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 #786F51 5.01:1 AA Lc -80.0 Fine for body text
Black text on #786F51 4.19:1 AA large text Lc 29.4 Dividers and decoration only
#786F51 text on white 5.01:1 AA Lc 74.6 Content text, not long reading
#786F51 text on black 4.19:1 AA large text Lc -27.1 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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE5

    oklch(93.6% 0.007 97.4)

  3. Step 200

    200

    #DBD9D1

    oklch(88.5% 0.011 95.2)

  4. Step 300

    300

    #C5C1B2

    oklch(81% 0.021 94.6)

  5. Step 400

    400

    #A7A18A

    oklch(70.8% 0.033 95)

  6. Step 500

    500

    #92896D

    oklch(63% 0.041 92.3)

  7. Step 600

    600 (this color)

    #786F51

    oklch(54.2% 0.045 93.4)

  8. Step 700

    700

    #696045

    oklch(49% 0.042 91.8)

  9. Step 800

    800

    #554F39

    oklch(42.7% 0.035 94.7)

  10. Step 900

    900

    #464131

    oklch(37.5% 0.027 92.8)

  11. Step 950

    950

    #29261D

    oklch(26.9% 0.017 91.8)

Export this scale for Tailwind in the Tailwind colors tool

#786F51 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)#756E4F0.006
Deuteranopia (no green cones)#7870520.003
Tritanopia (no blue cones)#7E6A670.042
Achromatopsia (no color)#6F6F6F0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #786F51

    #786F51

    oklch(54.2% 0.045 93.4)

  • #666E8A

    #666E8A

    oklch(54.2% 0.045 272.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786F51

    #786F51

    oklch(54.2% 0.045 93.4)

  • #826A54

    #826A54

    oklch(54.2% 0.045 64.2)

  • #6A7457

    #6A7457

    oklch(54.2% 0.045 123.3)

Open the analogous palette in the generator

Split complementary

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

  • #786F51

    #786F51

    oklch(54.2% 0.045 93.4)

  • #597388

    #597388

    oklch(54.3% 0.045 243)

  • #746985

    #746985

    oklch(54.1% 0.045 302.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786F51

    #786F51

    oklch(54.2% 0.045 93.4)

  • #50767F

    #50767F

    oklch(54.1% 0.045 214.1)

  • #80667A

    #80667A

    oklch(54.3% 0.044 334.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786F51

    #786F51

    oklch(54.2% 0.045 93.4)

  • #517872

    #517872

    oklch(54.2% 0.045 184)

  • #666E8A

    #666E8A

    oklch(54.2% 0.045 272.4)

  • #87646C

    #87646C

    oklch(54.1% 0.047 3.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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