#7E7040

Closest named color: Dirt (#8A6E45). oklch(54.7% 0.069 93.6), rgb(126, 112, 64).

Aa

White text reads best on this color (4.90:1).

About this color

#7E7040 is a medium-dark, muted yellow. In OKLCH its lightness is 55%, its chroma 0.069 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.023 away. White text reads best on it, at 4.90:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamuted (0.069)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.27:1
White text4.90:1

Values

HEX#7E7040
RGBrgb(126, 112, 64)
HSLhsl(46, 33%, 37%)
OKLCHoklch(54.7% 0.069 93.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 #7E7040 4.90:1 AA Lc -79.4 Fine for body text
Black text on #7E7040 4.27:1 AA large text Lc 30.1 Non-text elements, placeholder text
#7E7040 text on white 4.90:1 AA Lc 74.0 Content text, not long reading
#7E7040 text on black 4.27:1 AA large text Lc -27.7 Dividers and decoration only

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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C7C1AB

    oklch(81% 0.031 94.4)

  5. Step 400

    400

    #ABA07E

    oklch(70.6% 0.049 92.3)

  6. Step 500

    500

    #96895D

    oklch(63.1% 0.063 93.6)

  7. Step 600

    600 (this color)

    #7E7040

    oklch(54.7% 0.069 93.6)

  8. Step 700

    700

    #6D6034

    oklch(49.1% 0.064 93.4)

  9. Step 800

    800

    #594F2C

    oklch(42.9% 0.053 93.9)

  10. Step 900

    900

    #494128

    oklch(37.7% 0.041 92.4)

  11. Step 950

    950

    #2B2618

    oklch(27% 0.025 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E7040 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)#796E3C0.011
Deuteranopia (no green cones)#7D72420.005
Tritanopia (no blue cones)#8769640.063
Achromatopsia (no color)#7171710.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7040

    #7E7040

    oklch(54.7% 0.069 93.6)

  • #646E99

    #646E99

    oklch(54.7% 0.068 273.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7040

    #7E7040

    oklch(54.7% 0.069 93.6)

  • #8D6845

    #8D6845

    oklch(54.7% 0.069 64)

  • #68784A

    #68784A

    oklch(54.8% 0.07 124.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E7040

    #7E7040

    oklch(54.7% 0.069 93.6)

  • #4C7596

    #4C7596

    oklch(54.6% 0.069 243.8)

  • #796792

    #796792

    oklch(54.7% 0.069 303.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7040

    #7E7040

    oklch(54.7% 0.069 93.6)

  • #3B7B89

    #3B7B89

    oklch(54.7% 0.069 213.9)

  • #896282

    #896282

    oklch(54.7% 0.068 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7040

    #7E7040

    oklch(54.7% 0.069 93.6)

  • #3C7E75

    #3C7E75

    oklch(54.7% 0.069 183.8)

  • #646E99

    #646E99

    oklch(54.7% 0.068 273.9)

  • #93606C

    #93606C

    oklch(54.8% 0.068 4.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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