#787D4F

Closest named color: Drab (#828344). oklch(57.4% 0.066 113.5), rgb(120, 125, 79).

Aa

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

About this color

#787D4F is a medium-dark, muted yellow. In OKLCH its lightness is 57%, its chroma 0.066 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.029 away. Black text reads best on it, at 4.84:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamuted (0.066)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.84:1
White text4.33:1

Values

HEX#787D4F
RGBrgb(120, 125, 79)
HSLhsl(67, 23%, 40%)
OKLCHoklch(57.4% 0.066 113.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 #787D4F 4.33:1 AA large text Lc -75.5 Fine for body text
Black text on #787D4F 4.84:1 AA Lc 34.1 Non-text elements, placeholder text
#787D4F text on white 4.33:1 AA large text Lc 70.0 Content text, not long reading
#787D4F text on black 4.84:1 AA Lc -31.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

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACE

    oklch(88.4% 0.016 110.6)

  4. Step 300

    300

    #C0C3AE

    oklch(80.9% 0.029 113.6)

  5. Step 400

    400

    #A0A483

    oklch(70.7% 0.046 113.2)

  6. Step 500

    500

    #898E63

    oklch(63.1% 0.061 113.6)

  7. Step 600

    600 (this color)

    #787D4F

    oklch(57.4% 0.066 113.5)

  8. Step 700

    700

    #60653B

    oklch(49.2% 0.062 114.3)

  9. Step 800

    800

    #4F5231

    oklch(42.7% 0.051 112.8)

  10. Step 900

    900

    #41442B

    oklch(37.7% 0.04 113.9)

  11. Step 950

    950

    #26281A

    oklch(27% 0.025 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#787D4F 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)#83794C0.019
Deuteranopia (no green cones)#837A510.019
Tritanopia (no blue cones)#7D78710.057
Achromatopsia (no color)#7979790.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #787D4F

    #787D4F

    oklch(57.4% 0.066 113.5)

  • #7A719C

    #7A719C

    oklch(57.3% 0.066 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787D4F

    #787D4F

    oklch(57.4% 0.066 113.5)

  • #8B754A

    #8B754A

    oklch(57.3% 0.066 83.4)

  • #61835F

    #61835F

    oklch(57.4% 0.067 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #787D4F

    #787D4F

    oklch(57.4% 0.066 113.5)

  • #6478A0

    #6478A0

    oklch(57.3% 0.067 263.8)

  • #8C6B8F

    #8C6B8F

    oklch(57.3% 0.067 323.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787D4F

    #787D4F

    oklch(57.4% 0.066 113.5)

  • #4F7F99

    #4F7F99

    oklch(57.3% 0.066 233.3)

  • #98687B

    #98687B

    oklch(57.3% 0.067 354)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787D4F

    #787D4F

    oklch(57.4% 0.066 113.5)

  • #45848A

    #45848A

    oklch(57.4% 0.065 203.6)

  • #7A719C

    #7A719C

    oklch(57.3% 0.066 293.8)

  • #9C6966

    #9C6966

    oklch(57.4% 0.066 23.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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