#7F8358

Closest named color: Drab (#828344). oklch(59.5% 0.061 112.6), rgb(127, 131, 88).

Aa

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

About this color

#7F8358 is a medium-dark, muted yellow. In OKLCH its lightness is 60%, its chroma 0.061 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.024 away. Black text reads best on it, at 5.28:1.

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamuted (0.061)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.28:1
White text3.96:1

Values

HEX#7F8358
RGBrgb(127, 131, 88)
HSLhsl(66, 20%, 43%)
OKLCHoklch(59.5% 0.061 112.6)

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 #7F8358 3.96:1 AA large text Lc -72.5 Content text, not long reading
Black text on #7F8358 5.28:1 AA Lc 37.0 Non-text elements, placeholder text
#7F8358 text on white 3.96:1 AA large text Lc 67.0 Content text, not long reading
#7F8358 text on black 5.28:1 AA Lc -34.6 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

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACE

    oklch(88.4% 0.016 110.6)

  4. Step 300

    300

    #C0C3AD

    oklch(80.9% 0.03 113.4)

  5. Step 400

    400

    #A0A482

    oklch(70.6% 0.048 113.1)

  6. Step 500

    500 (this color)

    #7F8358

    oklch(59.5% 0.061 112.6)

  7. Step 600

    600

    #747849

    oklch(55.7% 0.067 112.5)

  8. Step 700

    700

    #61653A

    oklch(49.2% 0.063 113.1)

  9. Step 800

    800

    #4F5230

    oklch(42.7% 0.052 112.7)

  10. Step 900

    900

    #42442B

    oklch(37.8% 0.04 112)

  11. Step 950

    950

    #262819

    oklch(27% 0.026 114.4)

Export this scale for Tailwind in the Tailwind colors tool

#7F8358 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)#897F550.017
Deuteranopia (no green cones)#89805A0.018
Tritanopia (no blue cones)#847E780.054
Achromatopsia (no color)#8080800.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F8358

    #7F8358

    oklch(59.5% 0.061 112.6)

  • #8078A1

    #8078A1

    oklch(59.5% 0.062 293.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F8358

    #7F8358

    oklch(59.5% 0.061 112.6)

  • #917C54

    #917C54

    oklch(59.6% 0.062 83)

  • #6A8967

    #6A8967

    oklch(59.7% 0.062 142.5)

Open the analogous palette in the generator

Split complementary

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

  • #7F8358

    #7F8358

    oklch(59.5% 0.061 112.6)

  • #6B7FA4

    #6B7FA4

    oklch(59.5% 0.062 262.5)

  • #917395

    #917395

    oklch(59.6% 0.062 322.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F8358

    #7F8358

    oklch(59.5% 0.061 112.6)

  • #59869E

    #59869E

    oklch(59.7% 0.061 232.5)

  • #9C7082

    #9C7082

    oklch(59.5% 0.061 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F8358

    #7F8358

    oklch(59.5% 0.061 112.6)

  • #508A8F

    #508A8F

    oklch(59.6% 0.061 202.8)

  • #8078A1

    #8078A1

    oklch(59.5% 0.062 293.4)

  • #A1716E

    #A1716E

    oklch(59.7% 0.061 23.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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