#787C50

Closest named color: Drab (#828344). oklch(57.2% 0.063 112.6), rgb(120, 124, 80).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamuted (0.063)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.79:1
White text4.37:1

Values

HEX#787C50
RGBrgb(120, 124, 80)
HSLhsl(65, 22%, 40%)
OKLCHoklch(57.2% 0.063 112.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 #787C50 4.37:1 AA large text Lc -75.8 Fine for body text
Black text on #787C50 4.79:1 AA Lc 33.7 Non-text elements, placeholder text
#787C50 text on white 4.37:1 AA large text Lc 70.3 Content text, not long reading
#787C50 text on black 4.79:1 AA Lc -31.3 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

    #A0A484

    oklch(70.7% 0.045 113.3)

  6. Step 500

    500

    #898D65

    oklch(63% 0.057 112.7)

  7. Step 600

    600 (this color)

    #787C50

    oklch(57.2% 0.063 112.6)

  8. Step 700

    700

    #61643D

    oklch(49% 0.058 112.1)

  9. Step 800

    800

    #4F5232

    oklch(42.7% 0.049 112.8)

  10. Step 900

    900

    #42442C

    oklch(37.8% 0.038 112.1)

  11. Step 950

    950

    #26281A

    oklch(27% 0.025 114.7)

Export this scale for Tailwind in the Tailwind colors tool

#787C50 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)#82784D0.017
Deuteranopia (no green cones)#8279520.018
Tritanopia (no blue cones)#7D77710.055
Achromatopsia (no color)#7979790.063

Harmonies

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

Complementary

The opposite hue (180°).

  • #787C50

    #787C50

    oklch(57.2% 0.063 112.6)

  • #79719A

    #79719A

    oklch(57.1% 0.063 293.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787C50

    #787C50

    oklch(57.2% 0.063 112.6)

  • #8A754C

    #8A754C

    oklch(57.2% 0.063 83.5)

  • #62825F

    #62825F

    oklch(57.2% 0.064 142.5)

Open the analogous palette in the generator

Split complementary

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

  • #787C50

    #787C50

    oklch(57.2% 0.063 112.6)

  • #64789E

    #64789E

    oklch(57.2% 0.064 263)

  • #8A6C8E

    #8A6C8E

    oklch(57.3% 0.062 322.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787C50

    #787C50

    oklch(57.2% 0.063 112.6)

  • #507F97

    #507F97

    oklch(57.2% 0.063 231.6)

  • #96697B

    #96697B

    oklch(57.3% 0.063 353.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787C50

    #787C50

    oklch(57.2% 0.063 112.6)

  • #478388

    #478388

    oklch(57.2% 0.063 202.6)

  • #79719A

    #79719A

    oklch(57.1% 0.063 293.2)

  • #9A6967

    #9A6967

    oklch(57.2% 0.063 21.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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