#7F866D

Closest named color: Brown Grey (#8D8468). oklch(60.7% 0.037 120.2), rgb(127, 134, 109).

Aa

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

About this color

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

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

Values

HEX#7F866D
RGBrgb(127, 134, 109)
HSLhsl(77, 10%, 48%)
OKLCHoklch(60.7% 0.037 120.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 #7F866D 3.79:1 AA large text Lc -71.0 Content text, not long reading
Black text on #7F866D 5.53:1 AA Lc 38.6 Non-text elements, placeholder text
#7F866D text on white 3.79:1 AA large text Lc 65.5 Content text, not long reading
#7F866D 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

    #F5F6F4

    oklch(97.2% 0.003 128.5)

  2. Step 100

    100

    #E9EAE6

    oklch(93.5% 0.005 117.9)

  3. Step 200

    200

    #D8DAD3

    oklch(88.5% 0.01 119.6)

  4. Step 300

    300

    #BFC3B6

    oklch(81% 0.018 120.8)

  5. Step 400

    400

    #9EA48F

    oklch(70.8% 0.031 120.2)

  6. Step 500

    500 (this color)

    #7F866D

    oklch(60.7% 0.037 120.2)

  7. Step 600

    600

    #70775C

    oklch(55.6% 0.041 119.6)

  8. Step 700

    700

    #5E644C

    oklch(49.1% 0.038 119.2)

  9. Step 800

    800

    #4C523E

    oklch(42.7% 0.033 121.4)

  10. Step 900

    900

    #404435

    oklch(37.8% 0.025 119.7)

  11. Step 950

    950

    #25281F

    oklch(27.1% 0.017 122.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F866D 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)#89836C0.016
Deuteranopia (no green cones)#89836E0.017
Tritanopia (no blue cones)#81837F0.031
Achromatopsia (no color)#8383830.038

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F866D

    #7F866D

    oklch(60.7% 0.037 120.2)

  • #867E96

    #867E96

    oklch(60.8% 0.037 300.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F866D

    #7F866D

    oklch(60.7% 0.037 120.2)

  • #8B8269

    #8B8269

    oklch(60.8% 0.038 90.6)

  • #738977

    #738977

    oklch(60.7% 0.037 150.4)

Open the analogous palette in the generator

Split complementary

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

  • #7F866D

    #7F866D

    oklch(60.7% 0.037 120.2)

  • #798299

    #798299

    oklch(60.7% 0.037 268.4)

  • #907B8D

    #907B8D

    oklch(60.8% 0.037 330.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F866D

    #7F866D

    oklch(60.7% 0.037 120.2)

  • #6F8697

    #6F8697

    oklch(60.8% 0.037 240.2)

  • #967981

    #967981

    oklch(60.6% 0.038 359.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F866D

    #7F866D

    oklch(60.7% 0.037 120.2)

  • #69898F

    #69898F

    oklch(60.8% 0.037 210.3)

  • #867E96

    #867E96

    oklch(60.8% 0.037 300.5)

  • #987A75

    #987A75

    oklch(60.7% 0.038 29.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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