#787D50

Closest named color: Drab (#828344). oklch(57.4% 0.065 113.6), rgb(120, 125, 80).

Aa

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

About this color

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

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

Values

HEX#787D50
RGBrgb(120, 125, 80)
HSLhsl(67, 22%, 40%)
OKLCHoklch(57.4% 0.065 113.6)

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 #787D50 4.33:1 AA large text Lc -75.5 Fine for body text
Black text on #787D50 4.84:1 AA Lc 34.1 Non-text elements, placeholder text
#787D50 text on white 4.33:1 AA large text Lc 70.0 Content text, not long reading
#787D50 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

    #D9DACF

    oklch(88.5% 0.015 110.9)

  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

    #898E64

    oklch(63.2% 0.06 113.6)

  7. Step 600

    600 (this color)

    #787D50

    oklch(57.4% 0.065 113.6)

  8. Step 700

    700

    #60653C

    oklch(49.2% 0.061 114.3)

  9. Step 800

    800

    #4F5232

    oklch(42.7% 0.049 112.8)

  10. Step 900

    900

    #41442C

    oklch(37.7% 0.039 114.1)

  11. Step 950

    950

    #26281A

    oklch(27% 0.025 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#787D50 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)#83794D0.019
Deuteranopia (no green cones)#837A520.019
Tritanopia (no blue cones)#7D78720.057
Achromatopsia (no color)#7979790.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #787D50

    #787D50

    oklch(57.4% 0.065 113.6)

  • #7A719C

    #7A719C

    oklch(57.3% 0.066 293.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787D50

    #787D50

    oklch(57.4% 0.065 113.6)

  • #8B754B

    #8B754B

    oklch(57.3% 0.065 82.9)

  • #628360

    #628360

    oklch(57.5% 0.065 143.3)

Open the analogous palette in the generator

Split complementary

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

  • #787D50

    #787D50

    oklch(57.4% 0.065 113.6)

  • #65799F

    #65799F

    oklch(57.5% 0.064 263)

  • #8C6C8F

    #8C6C8F

    oklch(57.5% 0.065 323.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787D50

    #787D50

    oklch(57.4% 0.065 113.6)

  • #517F99

    #517F99

    oklch(57.4% 0.064 234.3)

  • #97697B

    #97697B

    oklch(57.4% 0.064 354.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787D50

    #787D50

    oklch(57.4% 0.065 113.6)

  • #46848A

    #46848A

    oklch(57.4% 0.065 203.7)

  • #7A719C

    #7A719C

    oklch(57.3% 0.066 293.8)

  • #9B6A66

    #9B6A66

    oklch(57.4% 0.064 24.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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