#7E804D

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

Aa

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

About this color

#7E804D is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.071 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.017 away. Black text reads best on it, at 5.08:1.

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

Values

HEX#7E804D
RGBrgb(126, 128, 77)
HSLhsl(62, 25%, 40%)
OKLCHoklch(58.6% 0.071 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 #7E804D 4.13:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7E804D 5.08:1 AA Lc 35.7 Non-text elements, placeholder text
#7E804D text on white 4.13:1 AA large text Lc 68.4 Content text, not long reading
#7E804D text on black 5.08:1 AA Lc -33.3 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

    #A2A47F

    oklch(70.7% 0.052 110.2)

  6. Step 500

    500

    #8B8D5E

    oklch(63% 0.066 110.2)

  7. Step 600

    600 (this color)

    #7E804D

    oklch(58.6% 0.071 110.3)

  8. Step 700

    700

    #636436

    oklch(49.1% 0.066 109.7)

  9. Step 800

    800

    #50522D

    oklch(42.7% 0.056 111.2)

  10. Step 900

    900

    #434429

    oklch(37.8% 0.043 110.1)

  11. Step 950

    950

    #272818

    oklch(27.1% 0.028 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E804D 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)#877C490.016
Deuteranopia (no green cones)#887E4F0.017
Tritanopia (no blue cones)#847A730.063
Achromatopsia (no color)#7D7D7D0.072

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E804D

    #7E804D

    oklch(58.6% 0.071 110.3)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E804D

    #7E804D

    oklch(58.6% 0.071 110.3)

  • #927749

    #927749

    oklch(58.4% 0.071 80)

  • #65875E

    #65875E

    oklch(58.6% 0.072 140.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E804D

    #7E804D

    oklch(58.6% 0.071 110.3)

  • #637DA7

    #637DA7

    oklch(58.6% 0.072 259.8)

  • #8F6E96

    #8F6E96

    oklch(58.5% 0.071 320.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E804D

    #7E804D

    oklch(58.6% 0.071 110.3)

  • #4C849F

    #4C849F

    oklch(58.6% 0.072 230.6)

  • #9D6A82

    #9D6A82

    oklch(58.5% 0.073 349.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E804D

    #7E804D

    oklch(58.6% 0.071 110.3)

  • #42898D

    #42898D

    oklch(58.6% 0.071 200.3)

  • #7B75A4

    #7B75A4

    oklch(58.6% 0.071 289.9)

  • #A26B6A

    #A26B6A

    oklch(58.6% 0.071 20.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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