#878666

Closest named color: Brown Grey (#8D8468). oklch(61.2% 0.046 106.2), rgb(135, 134, 102).

Aa

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

About this color

#878666 is a medium-dark, muted yellow. In OKLCH its lightness is 61%, its chroma 0.046 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.011 away. Black text reads best on it, at 5.63:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameBrown Grey (#8D8468)
Black text5.63:1
White text3.72:1

Values

HEX#878666
RGBrgb(135, 134, 102)
HSLhsl(58, 14%, 46%)
OKLCHoklch(61.2% 0.046 106.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 #878666 3.72:1 AA large text Lc -70.4 Content text, not long reading
Black text on #878666 5.63:1 AA Lc 39.2 Non-text elements, placeholder text
#878666 text on white 3.72:1 AA large text Lc 64.9 Content text, not long reading
#878666 text on black 5.63:1 AA Lc -36.8 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 500.

  1. Step 50

    50

    #F6F5F3

    oklch(97% 0.003 84.6)

  2. Step 100

    100

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD0

    oklch(88.6% 0.013 106.7)

  4. Step 300

    300

    #C2C2B1

    oklch(80.9% 0.023 106.9)

  5. Step 400

    400

    #A3A289

    oklch(70.6% 0.035 105.4)

  6. Step 500

    500 (this color)

    #878666

    oklch(61.2% 0.046 106.2)

  7. Step 600

    600

    #777553

    oklch(55.5% 0.05 105.1)

  8. Step 700

    700

    #646344

    oklch(49.2% 0.046 106.4)

  9. Step 800

    800

    #515138

    oklch(42.8% 0.039 107.9)

  10. Step 900

    900

    #434330

    oklch(37.7% 0.031 107.8)

  11. Step 950

    950

    #27271C

    oklch(26.9% 0.019 107.6)

Export this scale for Tailwind in the Tailwind colors tool

#878666 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)#8C83640.010
Deuteranopia (no green cones)#8C85670.008
Tritanopia (no blue cones)#8C827D0.040
Achromatopsia (no color)#8484840.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #878666

    #878666

    oklch(61.2% 0.046 106.2)

  • #81809F

    #81809F

    oklch(61.2% 0.047 286.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #878666

    #878666

    oklch(61.2% 0.046 106.2)

  • #948165

    #948165

    oklch(61.3% 0.046 77.3)

  • #788B6F

    #788B6F

    oklch(61.4% 0.047 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #878666

    #878666

    oklch(61.2% 0.046 106.2)

  • #7285A0

    #7285A0

    oklch(61.1% 0.047 257.2)

  • #8F7C97

    #8F7C97

    oklch(61.3% 0.046 315.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #878666

    #878666

    oklch(61.2% 0.046 106.2)

  • #668A99

    #668A99

    oklch(61.2% 0.046 225.5)

  • #99798A

    #99798A

    oklch(61.2% 0.046 345.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #878666

    #878666

    oklch(61.2% 0.046 106.2)

  • #638D8D

    #638D8D

    oklch(61.3% 0.046 196)

  • #81809F

    #81809F

    oklch(61.2% 0.047 286.4)

  • #9E797A

    #9E797A

    oklch(61.2% 0.046 16.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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