#786D1F

Closest named color: Brown Green (#706C11). oklch(53% 0.097 101.1), rgb(120, 109, 31).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text4.00:1
White text5.24:1

Values

HEX#786D1F
RGBrgb(120, 109, 31)
HSLhsl(53, 59%, 30%)
OKLCHoklch(53% 0.097 101.1)

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 #786D1F 5.24:1 AA Lc -81.3 Fine for body text
Black text on #786D1F 4.00:1 AA large text Lc 28.1 Dividers and decoration only
#786D1F text on white 5.24:1 AA Lc 75.9 Fine for body text
#786D1F text on black 4.00:1 AA large text Lc -25.8 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE1

    oklch(93.5% 0.012 101.5)

  3. Step 200

    200

    #DCDAC8

    oklch(88.5% 0.024 101.7)

  4. Step 300

    300

    #C6C2A2

    oklch(80.9% 0.044 101.4)

  5. Step 400

    400

    #AAA26F

    oklch(70.7% 0.07 100.4)

  6. Step 500

    500

    #958B48

    oklch(63.1% 0.089 100.9)

  7. Step 600

    600 (this color)

    #786D1F

    oklch(53% 0.097 101.1)

  8. Step 700

    700

    #6C621A

    oklch(49.2% 0.091 101.2)

  9. Step 800

    800

    #585019

    oklch(42.7% 0.074 101)

  10. Step 900

    900

    #48421B

    oklch(37.6% 0.058 100.7)

  11. Step 950

    950

    #2A2711

    oklch(27% 0.036 101.6)

Export this scale for Tailwind in the Tailwind colors tool

#786D1F 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)#786A130.009
Deuteranopia (no green cones)#7B6E240.007
Tritanopia (no blue cones)#82655E0.089
Achromatopsia (no color)#6C6C6C0.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #786D1F

    #786D1F

    oklch(53% 0.097 101.1)

  • #6264A2

    #6264A2

    oklch(52.9% 0.097 281.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786D1F

    #786D1F

    oklch(53% 0.097 101.1)

  • #8F6123

    #8F6123

    oklch(53% 0.097 70.5)

  • #587739

    #587739

    oklch(53% 0.096 130.9)

Open the analogous palette in the generator

Split complementary

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

  • #786D1F

    #786D1F

    oklch(53% 0.097 101.1)

  • #3E6FA2

    #3E6FA2

    oklch(53.1% 0.097 251)

  • #7E5B95

    #7E5B95

    oklch(53.1% 0.097 311.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786D1F

    #786D1F

    oklch(53% 0.097 101.1)

  • #027893

    #027893

    oklch(53% 0.097 220.9)

  • #91547C

    #91547C

    oklch(52.9% 0.097 341.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786D1F

    #786D1F

    oklch(53% 0.097 101.1)

  • #007C78

    #007C78

    oklch(52.9% 0.091 190.8)

  • #6264A2

    #6264A2

    oklch(52.9% 0.097 281.1)

  • #9B525E

    #9B525E

    oklch(52.9% 0.097 10.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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