#7F8A54

Closest named color: Camo (#7F8F4E). oklch(61.1% 0.077 118.1), rgb(127, 138, 84).

Aa

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

About this color

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

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

Values

HEX#7F8A54
RGBrgb(127, 138, 84)
HSLhsl(72, 24%, 44%)
OKLCHoklch(61.1% 0.077 118.1)

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 #7F8A54 3.70:1 AA large text Lc -70.1 Content text, not long reading
Black text on #7F8A54 5.66:1 AA Lc 39.5 Non-text elements, placeholder text
#7F8A54 text on white 3.70:1 AA large text Lc 64.6 Content text, not long reading
#7F8A54 text on black 5.66:1 AA Lc -37.0 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

    #D7DBCC

    oklch(88.4% 0.021 119)

  4. Step 300

    300

    #BEC4A9

    oklch(80.8% 0.038 117.4)

  5. Step 400

    400

    #9DA67C

    oklch(70.7% 0.059 117.8)

  6. Step 500

    500 (this color)

    #7F8A54

    oklch(61.1% 0.077 118.1)

  7. Step 600

    600

    #6F7A3F

    oklch(55.6% 0.083 117.9)

  8. Step 700

    700

    #5D6731

    oklch(49.2% 0.078 118)

  9. Step 800

    800

    #4C5429

    oklch(42.8% 0.065 117.9)

  10. Step 900

    900

    #3F4526

    oklch(37.6% 0.049 117.8)

  11. Step 950

    950

    #252917

    oklch(27.1% 0.032 118.8)

Export this scale for Tailwind in the Tailwind colors tool

#7F8A54 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)#9185500.028
Deuteranopia (no green cones)#8F85570.028
Tritanopia (no blue cones)#84857D0.065
Achromatopsia (no color)#8585850.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8A54

    #7F8A54

    oklch(61.1% 0.077 118.1)

  • #897AAC

    #897AAC

    oklch(61.2% 0.076 297.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8A54

    #7F8A54

    oklch(61.1% 0.077 118.1)

  • #97814C

    #97814C

    oklch(61.1% 0.076 87.6)

  • #639069

    #639069

    oklch(61% 0.077 148)

Open the analogous palette in the generator

Split complementary

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

  • #7F8A54

    #7F8A54

    oklch(61.1% 0.077 118.1)

  • #7082B2

    #7082B2

    oklch(61.1% 0.076 268.3)

  • #9D739B

    #9D739B

    oklch(61.1% 0.077 328.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8A54

    #7F8A54

    oklch(61.1% 0.077 118.1)

  • #558AAC

    #558AAC

    oklch(61% 0.077 238)

  • #A97083

    #A97083

    oklch(61% 0.076 358)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8A54

    #7F8A54

    oklch(61.1% 0.077 118.1)

  • #44909C

    #44909C

    oklch(61% 0.077 209.1)

  • #897AAC

    #897AAC

    oklch(61.2% 0.076 297.9)

  • #AD726A

    #AD726A

    oklch(61.2% 0.076 28)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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