#7F8060

Closest named color: Brown Grey (#8D8468). oklch(59% 0.046 109.2), rgb(127, 128, 96).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameBrown Grey (#8D8468)
Black text5.15:1
White text4.07:1

Values

HEX#7F8060
RGBrgb(127, 128, 96)
HSLhsl(62, 14%, 44%)
OKLCHoklch(59% 0.046 109.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 #7F8060 4.07:1 AA large text Lc -73.4 Content text, not long reading
Black text on #7F8060 5.15:1 AA Lc 36.2 Non-text elements, placeholder text
#7F8060 text on white 4.07:1 AA large text Lc 67.9 Content text, not long reading
#7F8060 text on black 5.15:1 AA Lc -33.7 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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #D9DAD1

    oklch(88.5% 0.012 111.8)

  4. Step 300

    300

    #C1C2B3

    oklch(80.9% 0.021 109.9)

  5. Step 400

    400

    #A2A38B

    oklch(70.8% 0.034 109.2)

  6. Step 500

    500

    #8B8C6E

    oklch(63.1% 0.043 109.2)

  7. Step 600

    600 (this color)

    #7F8060

    oklch(59% 0.046 109.2)

  8. Step 700

    700

    #626346

    oklch(49.1% 0.044 109.6)

  9. Step 800

    800

    #50513A

    oklch(42.7% 0.036 109.9)

  10. Step 900

    900

    #424332

    oklch(37.7% 0.028 110.4)

  11. Step 950

    950

    #27271D

    oklch(26.9% 0.018 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#7F8060 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)#857D5E0.011
Deuteranopia (no green cones)#867E610.012
Tritanopia (no blue cones)#847C770.041
Achromatopsia (no color)#7E7E7E0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8060

    #7F8060

    oklch(59% 0.046 109.2)

  • #7C7998

    #7C7998

    oklch(59% 0.047 289.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8060

    #7F8060

    oklch(59% 0.046 109.2)

  • #8C7B5E

    #8C7B5E

    oklch(59.1% 0.047 80.8)

  • #6F846A

    #6F846A

    oklch(58.9% 0.046 139.7)

Open the analogous palette in the generator

Split complementary

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

  • #7F8060

    #7F8060

    oklch(59% 0.046 109.2)

  • #6D7E99

    #6D7E99

    oklch(58.9% 0.046 259.6)

  • #8A758F

    #8A758F

    oklch(59.1% 0.046 319.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8060

    #7F8060

    oklch(59% 0.046 109.2)

  • #618394

    #618394

    oklch(59.1% 0.046 230.1)

  • #937282

    #937282

    oklch(58.9% 0.047 347.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8060

    #7F8060

    oklch(59% 0.046 109.2)

  • #5C8688

    #5C8688

    oklch(59% 0.046 199.7)

  • #7C7998

    #7C7998

    oklch(59% 0.047 289.3)

  • #977372

    #977372

    oklch(59.1% 0.046 20.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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