#787D48

Closest named color: Drab (#828344). oklch(57.2% 0.075 113.2), rgb(120, 125, 72).

Aa

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

About this color

#787D48 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.075 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.025 away. Black text reads best on it, at 4.82:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.82:1
White text4.35:1

Values

HEX#787D48
RGBrgb(120, 125, 72)
HSLhsl(66, 27%, 39%)
OKLCHoklch(57.2% 0.075 113.2)

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 #787D48 4.35:1 AA large text Lc -75.6 Fine for body text
Black text on #787D48 4.82:1 AA Lc 34.0 Non-text elements, placeholder text
#787D48 text on white 4.35:1 AA large text Lc 70.1 Content text, not long reading
#787D48 text on black 4.82:1 AA Lc -31.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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCD

    oklch(88.6% 0.019 113.4)

  4. Step 300

    300

    #C0C3AB

    oklch(80.8% 0.033 112.9)

  5. Step 400

    400

    #A0A57E

    oklch(70.8% 0.055 113.7)

  6. Step 500

    500

    #898E5D

    oklch(63% 0.069 113.1)

  7. Step 600

    600 (this color)

    #787D48

    oklch(57.2% 0.075 113.2)

  8. Step 700

    700

    #616535

    oklch(49.1% 0.069 112.8)

  9. Step 800

    800

    #4F522C

    oklch(42.6% 0.057 112.5)

  10. Step 900

    900

    #414428

    oklch(37.6% 0.044 113.5)

  11. Step 950

    950

    #262818

    oklch(27% 0.028 114.1)

Export this scale for Tailwind in the Tailwind colors tool

#787D48 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)#8478440.021
Deuteranopia (no green cones)#847A4A0.021
Tritanopia (no blue cones)#7E77700.066
Achromatopsia (no color)#7979790.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #787D48

    #787D48

    oklch(57.2% 0.075 113.2)

  • #7A70A0

    #7A70A0

    oklch(57.3% 0.074 293.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787D48

    #787D48

    oklch(57.2% 0.075 113.2)

  • #8D7442

    #8D7442

    oklch(57.1% 0.075 83.5)

  • #5E845B

    #5E845B

    oklch(57.4% 0.075 142.8)

Open the analogous palette in the generator

Split complementary

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

  • #787D48

    #787D48

    oklch(57.2% 0.075 113.2)

  • #6178A5

    #6178A5

    oklch(57.3% 0.075 263.3)

  • #8E6992

    #8E6992

    oklch(57.3% 0.075 323.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787D48

    #787D48

    oklch(57.2% 0.075 113.2)

  • #48809D

    #48809D

    oklch(57.3% 0.074 232.7)

  • #9B667C

    #9B667C

    oklch(57.3% 0.074 353.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787D48

    #787D48

    oklch(57.2% 0.075 113.2)

  • #3A858C

    #3A858C

    oklch(57.3% 0.074 203.6)

  • #7A70A0

    #7A70A0

    oklch(57.3% 0.074 293.5)

  • #A06663

    #A06663

    oklch(57.2% 0.076 22.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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