#7F8A57

Closest named color: Camo (#7F8F4E). oklch(61.2% 0.073 118.5), rgb(127, 138, 87).

Aa

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

About this color

#7F8A57 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.073 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.021 away. Black text reads best on it, at 5.67:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.67:1
White text3.70:1

Values

HEX#7F8A57
RGBrgb(127, 138, 87)
HSLhsl(73, 23%, 44%)
OKLCHoklch(61.2% 0.073 118.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 #7F8A57 3.70:1 AA large text Lc -70.1 Content text, not long reading
Black text on #7F8A57 5.67:1 AA Lc 39.5 Non-text elements, placeholder text
#7F8A57 text on white 3.70:1 AA large text Lc 64.6 Content text, not long reading
#7F8A57 text on black 5.67:1 AA Lc -37.1 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D7DBCD

    oklch(88.4% 0.019 119.8)

  4. Step 300

    300

    #BEC4AB

    oklch(80.9% 0.035 118.2)

  5. Step 400

    400

    #9DA67E

    oklch(70.7% 0.057 118.2)

  6. Step 500

    500 (this color)

    #7F8A57

    oklch(61.2% 0.073 118.5)

  7. Step 600

    600

    #6F7A42

    oklch(55.7% 0.08 118.2)

  8. Step 700

    700

    #5C6734

    oklch(49.2% 0.075 119.2)

  9. Step 800

    800

    #4C542C

    oklch(42.8% 0.061 118.3)

  10. Step 900

    900

    #3F4528

    oklch(37.7% 0.047 118.2)

  11. Step 950

    950

    #252918

    oklch(27.2% 0.03 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#7F8A57 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)#9085530.027
Deuteranopia (no green cones)#8F85590.028
Tritanopia (no blue cones)#84857D0.061
Achromatopsia (no color)#8585850.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8A57

    #7F8A57

    oklch(61.2% 0.073 118.5)

  • #897AAA

    #897AAA

    oklch(61.1% 0.073 298.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8A57

    #7F8A57

    oklch(61.2% 0.073 118.5)

  • #96814F

    #96814F

    oklch(61.1% 0.073 87.5)

  • #65906B

    #65906B

    oklch(61.1% 0.073 148.2)

Open the analogous palette in the generator

Split complementary

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

  • #7F8A57

    #7F8A57

    oklch(61.2% 0.073 118.5)

  • #7182B0

    #7182B0

    oklch(61.1% 0.073 268.6)

  • #9C749A

    #9C749A

    oklch(61.1% 0.073 328.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8A57

    #7F8A57

    oklch(61.2% 0.073 118.5)

  • #598AAB

    #598AAB

    oklch(61.2% 0.073 239)

  • #A87183

    #A87183

    oklch(61.1% 0.073 358.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8A57

    #7F8A57

    oklch(61.2% 0.073 118.5)

  • #49909B

    #49909B

    oklch(61.2% 0.073 208.6)

  • #897AAA

    #897AAA

    oklch(61.1% 0.073 298.5)

  • #AB736B

    #AB736B

    oklch(61.2% 0.073 28.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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