#787A4F

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

Aa

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

About this color

#787A4F is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.062 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.033 away. Black text reads best on it, at 4.69:1.

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

Values

HEX#787A4F
RGBrgb(120, 122, 79)
HSLhsl(63, 21%, 39%)
OKLCHoklch(56.7% 0.062 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 #787A4F 4.47:1 AA large text Lc -76.5 Fine for body text
Black text on #787A4F 4.69:1 AA Lc 33.0 Non-text elements, placeholder text
#787A4F text on white 4.47:1 AA large text Lc 71.0 Content text, not long reading
#787A4F text on black 4.69:1 AA Lc -30.6 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

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C1C3AE

    oklch(81% 0.029 111.5)

  5. Step 400

    400

    #A2A484

    oklch(70.8% 0.045 110.4)

  6. Step 500

    500

    #8B8D65

    oklch(63.1% 0.057 110.3)

  7. Step 600

    600 (this color)

    #787A4F

    oklch(56.7% 0.062 110.5)

  8. Step 700

    700

    #62643D

    oklch(49.1% 0.057 110.8)

  9. Step 800

    800

    #505233

    oklch(42.8% 0.048 111.4)

  10. Step 900

    900

    #42442C

    oklch(37.8% 0.038 112.1)

  11. Step 950

    950

    #27281A

    oklch(27.1% 0.025 111.3)

Export this scale for Tailwind in the Tailwind colors tool

#787A4F 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)#80764C0.015
Deuteranopia (no green cones)#8178510.016
Tritanopia (no blue cones)#7E756F0.054
Achromatopsia (no color)#7777770.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #787A4F

    #787A4F

    oklch(56.7% 0.062 110.5)

  • #767099

    #767099

    oklch(56.6% 0.063 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787A4F

    #787A4F

    oklch(56.7% 0.062 110.5)

  • #89734C

    #89734C

    oklch(56.7% 0.061 81.3)

  • #63805D

    #63805D

    oklch(56.7% 0.062 140.2)

Open the analogous palette in the generator

Split complementary

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

  • #787A4F

    #787A4F

    oklch(56.7% 0.062 110.5)

  • #62779B

    #62779B

    oklch(56.7% 0.061 261)

  • #876B8D

    #876B8D

    oklch(56.7% 0.061 320.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787A4F

    #787A4F

    oklch(56.7% 0.062 110.5)

  • #4F7D94

    #4F7D94

    oklch(56.6% 0.062 231)

  • #93687B

    #93687B

    oklch(56.8% 0.061 351)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787A4F

    #787A4F

    oklch(56.7% 0.062 110.5)

  • #478285

    #478285

    oklch(56.8% 0.062 199.8)

  • #767099

    #767099

    oklch(56.6% 0.063 291)

  • #986867

    #986867

    oklch(56.7% 0.062 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 #787A4F, closest first.

Similar named colors

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

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