#7E804E

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

Aa

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

About this color

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

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

Values

HEX#7E804E
RGBrgb(126, 128, 78)
HSLhsl(62, 24%, 40%)
OKLCHoklch(58.6% 0.07 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 #7E804E 4.12:1 AA large text Lc -73.9 Content text, not long reading
Black text on #7E804E 5.08:1 AA Lc 35.7 Non-text elements, placeholder text
#7E804E text on white 4.12:1 AA large text Lc 68.4 Content text, not long reading
#7E804E 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

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACD

    oklch(88.4% 0.018 110.3)

  4. Step 300

    300

    #C1C3AC

    oklch(80.9% 0.032 111.1)

  5. Step 400

    400

    #A2A480

    oklch(70.8% 0.05 110.2)

  6. Step 500

    500

    #8B8D5F

    oklch(63% 0.064 110.2)

  7. Step 600

    600 (this color)

    #7E804E

    oklch(58.6% 0.07 110.3)

  8. Step 700

    700

    #636437

    oklch(49.1% 0.065 109.7)

  9. Step 800

    800

    #50522E

    oklch(42.7% 0.054 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

#7E804E 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)#877C4A0.016
Deuteranopia (no green cones)#887E500.017
Tritanopia (no blue cones)#847A740.063
Achromatopsia (no color)#7D7D7D0.070

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E804E

    #7E804E

    oklch(58.6% 0.07 110.3)

  • #7B75A3

    #7B75A3

    oklch(58.5% 0.07 290)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E804E

    #7E804E

    oklch(58.6% 0.07 110.3)

  • #92784A

    #92784A

    oklch(58.7% 0.071 80.9)

  • #65875F

    #65875F

    oklch(58.6% 0.071 140.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E804E

    #7E804E

    oklch(58.6% 0.07 110.3)

  • #647DA6

    #647DA6

    oklch(58.6% 0.07 260.1)

  • #8F6E96

    #8F6E96

    oklch(58.5% 0.071 320.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E804E

    #7E804E

    oklch(58.6% 0.07 110.3)

  • #4E849E

    #4E849E

    oklch(58.6% 0.07 230.4)

  • #9C6B82

    #9C6B82

    oklch(58.6% 0.07 349.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E804E

    #7E804E

    oklch(58.6% 0.07 110.3)

  • #43898D

    #43898D

    oklch(58.7% 0.071 200.4)

  • #7B75A3

    #7B75A3

    oklch(58.5% 0.07 290)

  • #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 #7E804E, closest first.

Similar named colors

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

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