#7E7342

Closest named color: Dirt (#8A6E45). oklch(55.4% 0.069 97), rgb(126, 115, 66).

Aa

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

About this color

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

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

Values

HEX#7E7342
RGBrgb(126, 115, 66)
HSLhsl(49, 31%, 38%)
OKLCHoklch(55.4% 0.069 97)

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 #7E7342 4.75:1 AA Lc -78.4 Fine for body text
Black text on #7E7342 4.41:1 AA large text Lc 31.1 Non-text elements, placeholder text
#7E7342 text on white 4.75:1 AA Lc 73.0 Content text, not long reading
#7E7342 text on black 4.41:1 AA large text Lc -28.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

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCD9CD

    oklch(88.4% 0.017 95.2)

  4. Step 300

    300

    #C6C1AB

    oklch(80.9% 0.031 96.5)

  5. Step 400

    400

    #A9A17E

    oklch(70.7% 0.049 96.7)

  6. Step 500

    500

    #948A5D

    oklch(63.1% 0.064 97.1)

  7. Step 600

    600 (this color)

    #7E7342

    oklch(55.4% 0.069 97)

  8. Step 700

    700

    #6B6134

    oklch(49.1% 0.065 97.1)

  9. Step 800

    800

    #574F2C

    oklch(42.7% 0.053 96.8)

  10. Step 900

    900

    #484228

    oklch(37.8% 0.041 96.7)

  11. Step 950

    950

    #2A2718

    oklch(27.1% 0.026 98.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E7342 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)#7C713E0.008
Deuteranopia (no green cones)#7F75440.006
Tritanopia (no blue cones)#866C670.064
Achromatopsia (no color)#7373730.069

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7342

    #7E7342

    oklch(55.4% 0.069 97)

  • #686F9B

    #686F9B

    oklch(55.3% 0.069 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7342

    #7E7342

    oklch(55.4% 0.069 97)

  • #8E6B45

    #8E6B45

    oklch(55.4% 0.07 67.9)

  • #687A4E

    #687A4E

    oklch(55.3% 0.068 126.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E7342

    #7E7342

    oklch(55.4% 0.069 97)

  • #517799

    #517799

    oklch(55.5% 0.068 246.4)

  • #7D6893

    #7D6893

    oklch(55.4% 0.07 306.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7342

    #7E7342

    oklch(55.4% 0.069 97)

  • #3E7D8D

    #3E7D8D

    oklch(55.4% 0.069 216.5)

  • #8D6382

    #8D6382

    oklch(55.4% 0.07 336.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7342

    #7E7342

    oklch(55.4% 0.069 97)

  • #3D8079

    #3D8079

    oklch(55.4% 0.069 186.4)

  • #686F9B

    #686F9B

    oklch(55.3% 0.069 276.9)

  • #96626C

    #96626C

    oklch(55.5% 0.069 7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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