#786A27

Closest named color: Brown Green (#706C11). oklch(52.4% 0.088 97.4), rgb(120, 106, 39).

Aa

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

About this color

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

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

Values

HEX#786A27
RGBrgb(120, 106, 39)
HSLhsl(50, 51%, 31%)
OKLCHoklch(52.4% 0.088 97.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 #786A27 5.39:1 AA Lc -82.2 Fine for body text
Black text on #786A27 3.88:1 AA large text Lc 27.2 Dividers and decoration only
#786A27 text on white 5.39:1 AA Lc 76.8 Fine for body text
#786A27 text on black 3.88:1 AA large text Lc -24.9 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

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DDD9C9

    oklch(88.4% 0.022 95.3)

  4. Step 300

    300

    #C7C1A5

    oklch(80.8% 0.039 97.2)

  5. Step 400

    400

    #ABA174

    oklch(70.6% 0.062 97.1)

  6. Step 500

    500

    #978A4F

    oklch(63.1% 0.081 97.2)

  7. Step 600

    600 (this color)

    #786A27

    oklch(52.4% 0.088 97.4)

  8. Step 700

    700

    #6E6124

    oklch(49.2% 0.082 97.2)

  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

#786A27 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)#74671F0.013
Deuteranopia (no green cones)#786C2A0.006
Tritanopia (no blue cones)#81625C0.081
Achromatopsia (no color)#6A6A6A0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #786A27

    #786A27

    oklch(52.4% 0.088 97.4)

  • #5E659C

    #5E659C

    oklch(52.5% 0.087 277.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #786A27

    #786A27

    oklch(52.4% 0.088 97.4)

  • #8C5F2D

    #8C5F2D

    oklch(52.3% 0.088 66.5)

  • #5C7339

    #5C7339

    oklch(52.3% 0.088 127)

Open the analogous palette in the generator

Split complementary

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

  • #786A27

    #786A27

    oklch(52.4% 0.088 97.4)

  • #3D6E9A

    #3D6E9A

    oklch(52.3% 0.088 247.4)

  • #785C91

    #785C91

    oklch(52.4% 0.087 307.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #786A27

    #786A27

    oklch(52.4% 0.088 97.4)

  • #16768B

    #16768B

    oklch(52.4% 0.088 217.1)

  • #8A557C

    #8A557C

    oklch(52.2% 0.088 337.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #786A27

    #786A27

    oklch(52.4% 0.088 97.4)

  • #0F7A73

    #0F7A73

    oklch(52.4% 0.088 187.7)

  • #5E659C

    #5E659C

    oklch(52.5% 0.087 277.4)

  • #955361

    #955361

    oklch(52.4% 0.089 7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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