#787A5A

Closest named color: Grey Brown (#7F7053). oklch(56.9% 0.047 110.8), rgb(120, 122, 90).

Aa

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

About this color

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

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

Values

HEX#787A5A
RGBrgb(120, 122, 90)
HSLhsl(64, 15%, 42%)
OKLCHoklch(56.9% 0.047 110.8)

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 #787A5A 4.43:1 AA large text Lc -76.3 Fine for body text
Black text on #787A5A 4.73:1 AA Lc 33.3 Non-text elements, placeholder text
#787A5A text on white 4.43:1 AA large text Lc 70.8 Content text, not long reading
#787A5A text on black 4.73:1 AA Lc -30.9 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

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #D9DAD1

    oklch(88.5% 0.012 111.8)

  4. Step 300

    300

    #C1C2B3

    oklch(80.9% 0.021 109.9)

  5. Step 400

    400

    #A1A38B

    oklch(70.7% 0.034 111.1)

  6. Step 500

    500

    #8A8C6E

    oklch(63% 0.043 110.7)

  7. Step 600

    600 (this color)

    #787A5A

    oklch(56.9% 0.047 110.8)

  8. Step 700

    700

    #626346

    oklch(49.1% 0.044 109.6)

  9. Step 800

    800

    #50513A

    oklch(42.7% 0.036 109.9)

  10. Step 900

    900

    #424332

    oklch(37.7% 0.028 110.4)

  11. Step 950

    950

    #27271D

    oklch(26.9% 0.018 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#787A5A 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)#7F77580.013
Deuteranopia (no green cones)#7F785B0.012
Tritanopia (no blue cones)#7C76710.041
Achromatopsia (no color)#7878780.047

Harmonies

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

Complementary

The opposite hue (180°).

  • #787A5A

    #787A5A

    oklch(56.9% 0.047 110.8)

  • #777391

    #777391

    oklch(57% 0.046 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787A5A

    #787A5A

    oklch(56.9% 0.047 110.8)

  • #867558

    #867558

    oklch(57.1% 0.047 80.8)

  • #687E64

    #687E64

    oklch(56.8% 0.047 140.8)

Open the analogous palette in the generator

Split complementary

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

  • #787A5A

    #787A5A

    oklch(56.9% 0.047 110.8)

  • #687893

    #687893

    oklch(57% 0.046 260.8)

  • #846E88

    #846E88

    oklch(56.8% 0.047 321.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787A5A

    #787A5A

    oklch(56.9% 0.047 110.8)

  • #5B7D8E

    #5B7D8E

    oklch(57% 0.047 230.2)

  • #8D6C7B

    #8D6C7B

    oklch(56.9% 0.047 349.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787A5A

    #787A5A

    oklch(56.9% 0.047 110.8)

  • #558082

    #558082

    oklch(56.9% 0.047 199.6)

  • #777391

    #777391

    oklch(57% 0.046 291)

  • #916C6B

    #916C6B

    oklch(56.8% 0.047 20.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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