#787A51

Closest named color: Grey Brown (#7F7053). oklch(56.7% 0.059 110.5), rgb(120, 122, 81).

Aa

Black text reads best on this color (4.70:1).

About this color

#787A51 is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.059 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.032 away. Black text reads best on it, at 4.70:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamuted (0.059)
Temperaturein between
Nearest nameGrey Brown (#7F7053)
Black text4.70:1
White text4.46:1

Values

HEX#787A51
RGBrgb(120, 122, 81)
HSLhsl(63, 20%, 40%)
OKLCHoklch(56.7% 0.059 110.5)

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 #787A51 4.46:1 AA large text Lc -76.5 Fine for body text
Black text on #787A51 4.70:1 AA Lc 33.1 Non-text elements, placeholder text
#787A51 text on white 4.46:1 AA large text Lc 71.0 Content text, not long reading
#787A51 text on black 4.70:1 AA Lc -30.7 Non-text elements, placeholder text

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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C1C2AF

    oklch(80.8% 0.026 109.4)

  5. Step 400

    400

    #A1A385

    oklch(70.6% 0.042 110.6)

  6. Step 500

    500

    #8B8D67

    oklch(63.2% 0.054 110.4)

  7. Step 600

    600 (this color)

    #787A51

    oklch(56.7% 0.059 110.5)

  8. Step 700

    700

    #62643F

    oklch(49.2% 0.055 110.9)

  9. Step 800

    800

    #505134

    oklch(42.6% 0.045 109.8)

  10. Step 900

    900

    #42432D

    oklch(37.5% 0.035 110.2)

  11. Step 950

    950

    #27281B

    oklch(27.2% 0.023 111.5)

Export this scale for Tailwind in the Tailwind colors tool

#787A51 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)#80764E0.015
Deuteranopia (no green cones)#8178530.016
Tritanopia (no blue cones)#7D756F0.052
Achromatopsia (no color)#7777770.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #787A51

    #787A51

    oklch(56.7% 0.059 110.5)

  • #767197

    #767197

    oklch(56.7% 0.058 290.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787A51

    #787A51

    oklch(56.7% 0.059 110.5)

  • #89734E

    #89734E

    oklch(56.7% 0.059 80.1)

  • #647F5F

    #647F5F

    oklch(56.6% 0.057 140.7)

Open the analogous palette in the generator

Split complementary

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

  • #787A51

    #787A51

    oklch(56.7% 0.059 110.5)

  • #63779A

    #63779A

    oklch(56.7% 0.059 261.5)

  • #876B8C

    #876B8C

    oklch(56.7% 0.06 321.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787A51

    #787A51

    oklch(56.7% 0.059 110.5)

  • #517D93

    #517D93

    oklch(56.6% 0.059 230.9)

  • #92687B

    #92687B

    oklch(56.6% 0.06 350.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787A51

    #787A51

    oklch(56.7% 0.059 110.5)

  • #4A8184

    #4A8184

    oklch(56.7% 0.058 200.2)

  • #767197

    #767197

    oklch(56.7% 0.058 290.4)

  • #966968

    #966968

    oklch(56.7% 0.058 20.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787A51 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.