#7F804D

Closest named color: Drab (#828344). oklch(58.6% 0.071 109.4), rgb(127, 128, 77).

Aa

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

About this color

#7F804D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.071 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.016 away. Black text reads best on it, at 5.09:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.071)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.09:1
White text4.11:1

Values

HEX#7F804D
RGBrgb(127, 128, 77)
HSLhsl(61, 25%, 40%)
OKLCHoklch(58.6% 0.071 109.4)

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 #7F804D 4.11:1 AA large text Lc -73.8 Content text, not long reading
Black text on #7F804D 5.09:1 AA Lc 35.8 Non-text elements, placeholder text
#7F804D text on white 4.11:1 AA large text Lc 68.3 Content text, not long reading
#7F804D text on black 5.09:1 AA Lc -33.4 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C2C3AB

    oklch(81% 0.033 109.1)

  5. Step 400

    400

    #A2A47F

    oklch(70.7% 0.052 110.2)

  6. Step 500

    500

    #8C8D5E

    oklch(63.1% 0.066 109.2)

  7. Step 600

    600 (this color)

    #7F804D

    oklch(58.6% 0.071 109.4)

  8. Step 700

    700

    #636436

    oklch(49.1% 0.066 109.7)

  9. Step 800

    800

    #51522D

    oklch(42.8% 0.055 109.9)

  10. Step 900

    900

    #434428

    oklch(37.8% 0.044 110.1)

  11. Step 950

    950

    #272818

    oklch(27.1% 0.028 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#7F804D 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)#887C490.016
Deuteranopia (no green cones)#887E4F0.015
Tritanopia (no blue cones)#867A730.063
Achromatopsia (no color)#7D7D7D0.071

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F804D

    #7F804D

    oklch(58.6% 0.071 109.4)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F804D

    #7F804D

    oklch(58.6% 0.071 109.4)

  • #93774A

    #93774A

    oklch(58.6% 0.071 78.6)

  • #66875E

    #66875E

    oklch(58.7% 0.072 139.6)

Open the analogous palette in the generator

Split complementary

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

  • #7F804D

    #7F804D

    oklch(58.6% 0.071 109.4)

  • #637DA7

    #637DA7

    oklch(58.6% 0.072 259.8)

  • #8F6F97

    #8F6F97

    oklch(58.7% 0.07 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F804D

    #7F804D

    oklch(58.6% 0.071 109.4)

  • #4C849E

    #4C849E

    oklch(58.5% 0.071 229.6)

  • #9D6B83

    #9D6B83

    oklch(58.7% 0.071 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F804D

    #7F804D

    oklch(58.6% 0.071 109.4)

  • #42898C

    #42898C

    oklch(58.6% 0.071 199.1)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

  • #A26B6B

    #A26B6B

    oklch(58.6% 0.071 19.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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