#786B07

Closest named color: Brown Green (#706C11). oklch(52.4% 0.107 100.7), rgb(120, 107, 7).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (52%)
Chromamoderately saturated (0.107)
Temperaturewarm
Nearest nameBrown Green (#706C11)
Black text3.90:1
White text5.37:1

Values

HEX#786B07
RGBrgb(120, 107, 7)
HSLhsl(53, 89%, 25%)
OKLCHoklch(52.4% 0.107 100.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 #786B07 5.37:1 AA Lc -82.0 Fine for body text
Black text on #786B07 3.90:1 AA large text Lc 27.4 Dividers and decoration only
#786B07 text on white 5.37:1 AA Lc 76.6 Fine for body text
#786B07 text on black 3.90:1 AA large text Lc -25.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C7C29F

    oklch(80.9% 0.048 100.6)

  5. Step 400

    400

    #ABA269

    oklch(70.6% 0.077 100.4)

  6. Step 500

    500

    #978B3F

    oklch(63.1% 0.098 100.4)

  7. Step 600

    600 (this color)

    #786B07

    oklch(52.4% 0.107 100.7)

  8. Step 700

    700

    #6D6208

    oklch(49.2% 0.1 101.4)

  9. Step 800

    800

    #59500E

    oklch(42.8% 0.082 101.1)

  10. Step 900

    900

    #494215

    oklch(37.6% 0.064 100.4)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#786B07 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)#7768000.009
Deuteranopia (no green cones)#7A6D120.008
Tritanopia (no blue cones)#82625A0.098
Achromatopsia (no color)#6A6A6A0.107

Harmonies

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

Complementary

The opposite hue (180°).

  • #786B07

    #786B07

    oklch(52.4% 0.107 100.7)

  • #5F61A6

    #5F61A6

    oklch(52.3% 0.108 280.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786B07

    #786B07

    oklch(52.4% 0.107 100.7)

  • #905E11

    #905E11

    oklch(52.4% 0.107 71.1)

  • #54762F

    #54762F

    oklch(52.3% 0.107 130.7)

Open the analogous palette in the generator

Split complementary

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

  • #786B07

    #786B07

    oklch(52.4% 0.107 100.7)

  • #356DA5

    #356DA5

    oklch(52.4% 0.107 250.6)

  • #7E5797

    #7E5797

    oklch(52.4% 0.107 311.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786B07

    #786B07

    oklch(52.4% 0.107 100.7)

  • #007691

    #007691

    oklch(52.4% 0.096 221.1)

  • #924F7D

    #924F7D

    oklch(52.3% 0.108 340.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786B07

    #786B07

    oklch(52.4% 0.107 100.7)

  • #007A76

    #007A76

    oklch(52.3% 0.09 190.8)

  • #5F61A6

    #5F61A6

    oklch(52.3% 0.108 280.7)

  • #9D4D5B

    #9D4D5B

    oklch(52.3% 0.107 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 #786B07, closest first.

Similar named colors

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

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