#7F875F

Closest named color: Brown Grey (#8D8468). oklch(60.6% 0.058 117.4), rgb(127, 135, 95).

Aa

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

About this color

#7F875F is a medium-dark, muted yellow. In OKLCH its lightness is 61%, its chroma 0.058 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.028 away. Black text reads best on it, at 5.53:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamuted (0.058)
Temperaturein between
Nearest nameBrown Grey (#8D8468)
Black text5.53:1
White text3.79:1

Values

HEX#7F875F
RGBrgb(127, 135, 95)
HSLhsl(72, 17%, 45%)
OKLCHoklch(60.6% 0.058 117.4)

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 #7F875F 3.79:1 AA large text Lc -71.0 Content text, not long reading
Black text on #7F875F 5.53:1 AA Lc 38.6 Non-text elements, placeholder text
#7F875F text on white 3.79:1 AA large text Lc 65.5 Content text, not long reading
#7F875F text on black 5.53:1 AA Lc -36.2 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE5

    oklch(93.7% 0.008 121.6)

  3. Step 200

    200

    #D8DBCF

    oklch(88.6% 0.016 118.2)

  4. Step 300

    300

    #BFC3AF

    oklch(80.9% 0.028 116.2)

  5. Step 400

    400

    #9EA585

    oklch(70.8% 0.046 117.6)

  6. Step 500

    500 (this color)

    #7F875F

    oklch(60.6% 0.058 117.4)

  7. Step 600

    600

    #70784D

    oklch(55.5% 0.063 117.1)

  8. Step 700

    700

    #5E653E

    oklch(49% 0.059 116.9)

  9. Step 800

    800

    #4D5334

    oklch(42.8% 0.049 117.4)

  10. Step 900

    900

    #40442D

    oklch(37.6% 0.037 116.3)

  11. Step 950

    950

    #25281B

    oklch(26.9% 0.023 118.6)

Export this scale for Tailwind in the Tailwind colors tool

#7F875F 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)#8C835C0.021
Deuteranopia (no green cones)#8C83610.023
Tritanopia (no blue cones)#83837C0.048
Achromatopsia (no color)#8383830.058

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F875F

    #7F875F

    oklch(60.6% 0.058 117.4)

  • #867BA1

    #867BA1

    oklch(60.7% 0.058 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F875F

    #7F875F

    oklch(60.6% 0.058 117.4)

  • #918059

    #918059

    oklch(60.6% 0.059 87)

  • #6B8C6E

    #6B8C6E

    oklch(60.6% 0.058 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F875F

    #7F875F

    oklch(60.6% 0.058 117.4)

  • #7381A6

    #7381A6

    oklch(60.6% 0.059 268.5)

  • #957694

    #957694

    oklch(60.6% 0.058 327.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F875F

    #7F875F

    oklch(60.6% 0.058 117.4)

  • #6088A1

    #6088A1

    oklch(60.7% 0.058 236.4)

  • #9F7482

    #9F7482

    oklch(60.6% 0.057 357.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F875F

    #7F875F

    oklch(60.6% 0.058 117.4)

  • #568C94

    #568C94

    oklch(60.6% 0.058 207.7)

  • #867BA1

    #867BA1

    oklch(60.7% 0.058 297.9)

  • #A2756F

    #A2756F

    oklch(60.6% 0.058 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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