#787E65

Closest named color: Medium Grey (#7D7F7C). oklch(58.1% 0.038 118.5), rgb(120, 126, 101).

Aa

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

About this color

#787E65 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.038 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Medium Grey (#7D7F7C), ΔE 0.035 away. Black text reads best on it, at 4.97:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.038)
Temperaturein between
Nearest nameMedium Grey (#7D7F7C)
Black text4.97:1
White text4.22:1

Values

HEX#787E65
RGBrgb(120, 126, 101)
HSLhsl(74, 11%, 45%)
OKLCHoklch(58.1% 0.038 118.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 #787E65 4.22:1 AA large text Lc -74.7 Content text, not long reading
Black text on #787E65 4.97:1 AA Lc 34.9 Non-text elements, placeholder text
#787E65 text on white 4.22:1 AA large text Lc 69.2 Content text, not long reading
#787E65 text on black 4.97:1 AA Lc -32.5 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE7

    oklch(93.5% 0.004 121.6)

  3. Step 200

    200

    #D8DAD3

    oklch(88.5% 0.01 119.6)

  4. Step 300

    300

    #BFC2B6

    oklch(80.8% 0.017 118.2)

  5. Step 400

    400

    #9FA391

    oklch(70.7% 0.026 117.2)

  6. Step 500

    500

    #878D75

    oklch(63.2% 0.036 118.8)

  7. Step 600

    600 (this color)

    #787E65

    oklch(58.1% 0.038 118.5)

  8. Step 700

    700

    #5E644D

    oklch(49.1% 0.036 119.6)

  9. Step 800

    800

    #4D5140

    oklch(42.6% 0.028 118.3)

  10. Step 900

    900

    #404336

    oklch(37.6% 0.022 118)

  11. Step 950

    950

    #262720

    oklch(26.9% 0.013 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#787E65 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)#827B640.016
Deuteranopia (no green cones)#817B660.016
Tritanopia (no blue cones)#7B7B770.032
Achromatopsia (no color)#7B7B7B0.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #787E65

    #787E65

    oklch(58.1% 0.038 118.5)

  • #7D768E

    #7D768E

    oklch(58% 0.037 298.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787E65

    #787E65

    oklch(58.1% 0.038 118.5)

  • #847A61

    #847A61

    oklch(58.2% 0.038 88.8)

  • #6C816E

    #6C816E

    oklch(58.1% 0.038 147.7)

Open the analogous palette in the generator

Split complementary

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

  • #787E65

    #787E65

    oklch(58.1% 0.038 118.5)

  • #717A92

    #717A92

    oklch(58.1% 0.038 269)

  • #877386

    #877386

    oklch(58.1% 0.037 327.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787E65

    #787E65

    oklch(58.1% 0.038 118.5)

  • #667E8F

    #667E8F

    oklch(58% 0.038 239.2)

  • #8E727A

    #8E727A

    oklch(58.2% 0.037 359.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787E65

    #787E65

    oklch(58.1% 0.038 118.5)

  • #618186

    #618186

    oklch(58.1% 0.037 208.1)

  • #7D768E

    #7D768E

    oklch(58% 0.037 298.6)

  • #90736E

    #90736E

    oklch(58.2% 0.038 29.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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