#787255

Closest named color: Grey Brown (#7F7053). oklch(55% 0.043 97.8), rgb(120, 114, 85).

Aa

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

About this color

#787255 is a medium-dark, muted yellow. In OKLCH its lightness is 55%, its chroma 0.043 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Grey Brown (#7F7053), ΔE 0.012 away. White text reads best on it, at 4.84:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamuted (0.043)
Temperaturewarm
Nearest nameGrey Brown (#7F7053)
Black text4.33:1
White text4.84:1

Values

HEX#787255
RGBrgb(120, 114, 85)
HSLhsl(50, 17%, 40%)
OKLCHoklch(55% 0.043 97.8)

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 #787255 4.84:1 AA Lc -79.0 Fine for body text
Black text on #787255 4.33:1 AA large text Lc 30.5 Non-text elements, placeholder text
#787255 text on white 4.84:1 AA Lc 73.6 Content text, not long reading
#787255 text on black 4.33:1 AA large text Lc -28.1 Dividers and decoration only

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

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EBEAE6

    oklch(93.7% 0.005 95.1)

  3. Step 200

    200

    #DBD9D1

    oklch(88.5% 0.011 95.2)

  4. Step 300

    300

    #C4C1B3

    oklch(80.9% 0.02 96.9)

  5. Step 400

    400

    #A5A18B

    oklch(70.6% 0.031 98.6)

  6. Step 500

    500

    #908A6F

    oklch(63.1% 0.039 96.9)

  7. Step 600

    600 (this color)

    #787255

    oklch(55% 0.043 97.8)

  8. Step 700

    700

    #676147

    oklch(49.1% 0.04 96.7)

  9. Step 800

    800

    #544F3A

    oklch(42.6% 0.033 96.3)

  10. Step 900

    900

    #454232

    oklch(37.7% 0.026 98.6)

  11. Step 950

    950

    #28271D

    oklch(27% 0.018 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#787255 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)#7870530.006
Deuteranopia (no green cones)#7A73560.005
Tritanopia (no blue cones)#7D6E6A0.038
Achromatopsia (no color)#7272720.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #787255

    #787255

    oklch(55% 0.043 97.8)

  • #6B6F8B

    #6B6F8B

    oklch(54.9% 0.044 278.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #787255

    #787255

    oklch(55% 0.043 97.8)

  • #836D57

    #836D57

    oklch(55% 0.043 66.7)

  • #6A775C

    #6A775C

    oklch(55.1% 0.043 128.7)

Open the analogous palette in the generator

Split complementary

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

  • #787255

    #787255

    oklch(55% 0.043 97.8)

  • #5E748A

    #5E748A

    oklch(55% 0.043 248.6)

  • #786B85

    #786B85

    oklch(54.9% 0.043 307.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #787255

    #787255

    oklch(55% 0.043 97.8)

  • #557882

    #557882

    oklch(55% 0.043 217.4)

  • #83687A

    #83687A

    oklch(55% 0.043 338.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #787255

    #787255

    oklch(55% 0.043 97.8)

  • #547A76

    #547A76

    oklch(55% 0.043 187.8)

  • #6B6F8B

    #6B6F8B

    oklch(54.9% 0.044 278.5)

  • #88676D

    #88676D

    oklch(54.9% 0.043 6.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

Use #787255 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.