#7E804C

Closest named color: Drab (#828344). oklch(58.5% 0.073 110.3), rgb(126, 128, 76).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.073)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.07:1
White text4.13:1

Values

HEX#7E804C
RGBrgb(126, 128, 76)
HSLhsl(62, 25%, 40%)
OKLCHoklch(58.5% 0.073 110.3)

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 #7E804C 4.13:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7E804C 5.07:1 AA Lc 35.7 Non-text elements, placeholder text
#7E804C text on white 4.13:1 AA large text Lc 68.4 Content text, not long reading
#7E804C text on black 5.07:1 AA Lc -33.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 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

    #D9DACD

    oklch(88.4% 0.018 110.3)

  4. Step 300

    300

    #C1C3AB

    oklch(80.9% 0.033 111)

  5. Step 400

    400

    #A2A47E

    oklch(70.7% 0.053 110.2)

  6. Step 500

    500

    #8B8D5E

    oklch(63% 0.066 110.2)

  7. Step 600

    600 (this color)

    #7E804C

    oklch(58.5% 0.073 110.3)

  8. Step 700

    700

    #636435

    oklch(49.1% 0.067 109.7)

  9. Step 800

    800

    #50522D

    oklch(42.7% 0.056 111.2)

  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

#7E804C 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)#877C480.016
Deuteranopia (no green cones)#887E4E0.017
Tritanopia (no blue cones)#847A730.064
Achromatopsia (no color)#7D7D7D0.073

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E804C

    #7E804C

    oklch(58.5% 0.073 110.3)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E804C

    #7E804C

    oklch(58.5% 0.073 110.3)

  • #927748

    #927748

    oklch(58.4% 0.073 80.5)

  • #64875E

    #64875E

    oklch(58.6% 0.073 140.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E804C

    #7E804C

    oklch(58.5% 0.073 110.3)

  • #637DA7

    #637DA7

    oklch(58.6% 0.072 259.8)

  • #906E97

    #906E97

    oklch(58.6% 0.073 320.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E804C

    #7E804C

    oklch(58.5% 0.073 110.3)

  • #4B849F

    #4B849F

    oklch(58.5% 0.073 230.2)

  • #9D6A82

    #9D6A82

    oklch(58.5% 0.073 349.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E804C

    #7E804C

    oklch(58.5% 0.073 110.3)

  • #40898D

    #40898D

    oklch(58.5% 0.073 200.2)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

  • #A36A6A

    #A36A6A

    oklch(58.5% 0.073 19.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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