#7F8A5D

Closest named color: Green Grey (#77926F). oklch(61.3% 0.065 119.5), rgb(127, 138, 93).

Aa

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

About this color

#7F8A5D is a medium-dark, muted yellow. In OKLCH its lightness is 61%, its chroma 0.065 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Green Grey (#77926F), ΔE 0.027 away. Black text reads best on it, at 5.69:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamuted (0.065)
Temperaturein between
Nearest nameGreen Grey (#77926F)
Black text5.69:1
White text3.68:1

Values

HEX#7F8A5D
RGBrgb(127, 138, 93)
HSLhsl(75, 19%, 45%)
OKLCHoklch(61.3% 0.065 119.5)

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 #7F8A5D 3.68:1 AA large text Lc -69.9 Content text, not long reading
Black text on #7F8A5D 5.69:1 AA Lc 39.6 Non-text elements, placeholder text
#7F8A5D text on white 3.68:1 AA large text Lc 64.4 Content text, not long reading
#7F8A5D text on black 5.69:1 AA Lc -37.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

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCE

    oklch(88.5% 0.018 120.7)

  4. Step 300

    300

    #BEC4AD

    oklch(80.9% 0.032 119)

  5. Step 400

    400

    #9CA682

    oklch(70.7% 0.052 120.3)

  6. Step 500

    500 (this color)

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  7. Step 600

    600

    #6E7A49

    oklch(55.7% 0.072 120)

  8. Step 700

    700

    #5C663A

    oklch(49% 0.066 119.4)

  9. Step 800

    800

    #4B5330

    oklch(42.6% 0.055 119.3)

  10. Step 900

    900

    #3F452B

    oklch(37.7% 0.042 119)

  11. Step 950

    950

    #252819

    oklch(26.9% 0.027 117.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F8A5D 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)#90855A0.027
Deuteranopia (no green cones)#8E855F0.026
Tritanopia (no blue cones)#83857E0.055
Achromatopsia (no color)#8585850.066

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8A5D

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  • #897BA6

    #897BA6

    oklch(61.1% 0.066 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8A5D

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  • #938256

    #938256

    oklch(61.1% 0.064 89.2)

  • #688F6F

    #688F6F

    oklch(61.2% 0.065 149.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F8A5D

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  • #7483AC

    #7483AC

    oklch(61.4% 0.065 268.9)

  • #9B7697

    #9B7697

    oklch(61.3% 0.066 330)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8A5D

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  • #5F8AA7

    #5F8AA7

    oklch(61.3% 0.065 238.7)

  • #A57483

    #A57483

    oklch(61.3% 0.065 359.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8A5D

    #7F8A5D

    oklch(61.3% 0.065 119.5)

  • #528F99

    #528F99

    oklch(61.3% 0.065 209.1)

  • #897BA6

    #897BA6

    oklch(61.1% 0.066 299.4)

  • #A8756D

    #A8756D

    oklch(61.2% 0.066 29)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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