#786B27

Closest named color: Brown Green (#706C11). oklch(52.6% 0.089 98.4), rgb(120, 107, 39).

Aa

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

About this color

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

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

Values

HEX#786B27
RGBrgb(120, 107, 39)
HSLhsl(50, 51%, 31%)
OKLCHoklch(52.6% 0.089 98.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 #786B27 5.34:1 AA Lc -81.9 Fine for body text
Black text on #786B27 3.93:1 AA large text Lc 27.6 Dividers and decoration only
#786B27 text on white 5.34:1 AA Lc 76.5 Fine for body text
#786B27 text on black 3.93:1 AA large text Lc -25.2 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDDAC9

    oklch(88.6% 0.023 98.7)

  4. Step 300

    300

    #C7C1A4

    oklch(80.8% 0.04 97.5)

  5. Step 400

    400

    #ABA273

    oklch(70.8% 0.065 98.6)

  6. Step 500

    500

    #968A4E

    oklch(63% 0.082 98.3)

  7. Step 600

    600 (this color)

    #786B27

    oklch(52.6% 0.089 98.4)

  8. Step 700

    700

    #6D6123

    oklch(49.1% 0.083 98.3)

  9. Step 800

    800

    #594F1F

    oklch(42.7% 0.068 97.6)

  10. Step 900

    900

    #49421F

    oklch(37.7% 0.053 98.3)

  11. Step 950

    950

    #2B2713

    oklch(27.1% 0.034 98.3)

Export this scale for Tailwind in the Tailwind colors tool

#786B27 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)#75681F0.011
Deuteranopia (no green cones)#796D2B0.006
Tritanopia (no blue cones)#81635D0.082
Achromatopsia (no color)#6B6B6B0.089

Harmonies

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

Complementary

The opposite hue (180°).

  • #786B27

    #786B27

    oklch(52.6% 0.089 98.4)

  • #5F659D

    #5F659D

    oklch(52.6% 0.088 278.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786B27

    #786B27

    oklch(52.6% 0.089 98.4)

  • #8C602C

    #8C602C

    oklch(52.5% 0.089 68.2)

  • #5B743A

    #5B743A

    oklch(52.5% 0.089 128.3)

Open the analogous palette in the generator

Split complementary

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

  • #786B27

    #786B27

    oklch(52.6% 0.089 98.4)

  • #3E6E9C

    #3E6E9C

    oklch(52.5% 0.09 249)

  • #795C92

    #795C92

    oklch(52.6% 0.089 308.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786B27

    #786B27

    oklch(52.6% 0.089 98.4)

  • #17768D

    #17768D

    oklch(52.5% 0.089 219.1)

  • #8C567C

    #8C567C

    oklch(52.7% 0.088 338.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786B27

    #786B27

    oklch(52.6% 0.089 98.4)

  • #0C7B75

    #0C7B75

    oklch(52.7% 0.089 188.7)

  • #5F659D

    #5F659D

    oklch(52.6% 0.088 278.2)

  • #965460

    #965460

    oklch(52.6% 0.088 8.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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