#7E6F40

Closest named color: Dirt (#8A6E45). oklch(54.5% 0.068 92.3), rgb(126, 111, 64).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.23:1
White text4.95:1

Values

HEX#7E6F40
RGBrgb(126, 111, 64)
HSLhsl(45, 33%, 37%)
OKLCHoklch(54.5% 0.068 92.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 #7E6F40 4.95:1 AA Lc -79.7 Fine for body text
Black text on #7E6F40 4.23:1 AA large text Lc 29.8 Dividers and decoration only
#7E6F40 text on white 4.95:1 AA Lc 74.3 Content text, not long reading
#7E6F40 text on black 4.23:1 AA large text Lc -27.4 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

    #C7C0AB

    oklch(80.8% 0.03 91.7)

  5. Step 400

    400

    #ABA07E

    oklch(70.6% 0.049 92.3)

  6. Step 500

    500

    #97895D

    oklch(63.2% 0.063 92.5)

  7. Step 600

    600 (this color)

    #7E6F40

    oklch(54.5% 0.068 92.3)

  8. Step 700

    700

    #6D6035

    oklch(49.1% 0.063 93.1)

  9. Step 800

    800

    #594E2C

    oklch(42.6% 0.052 92.1)

  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

#7E6F40 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)#786D3C0.013
Deuteranopia (no green cones)#7C72420.008
Tritanopia (no blue cones)#8768640.063
Achromatopsia (no color)#7070700.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6F40

    #7E6F40

    oklch(54.5% 0.068 92.3)

  • #626E98

    #626E98

    oklch(54.5% 0.067 271.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6F40

    #7E6F40

    oklch(54.5% 0.068 92.3)

  • #8D6746

    #8D6746

    oklch(54.5% 0.068 61.6)

  • #697749

    #697749

    oklch(54.6% 0.069 122.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E6F40

    #7E6F40

    oklch(54.5% 0.068 92.3)

  • #4B7595

    #4B7595

    oklch(54.5% 0.069 242.4)

  • #776791

    #776791

    oklch(54.5% 0.067 301.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6F40

    #7E6F40

    oklch(54.5% 0.068 92.3)

  • #3B7B87

    #3B7B87

    oklch(54.6% 0.068 211.4)

  • #886182

    #886182

    oklch(54.4% 0.069 331.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6F40

    #7E6F40

    oklch(54.5% 0.068 92.3)

  • #3D7D73

    #3D7D73

    oklch(54.4% 0.068 182.2)

  • #626E98

    #626E98

    oklch(54.5% 0.067 271.7)

  • #925F6D

    #925F6D

    oklch(54.5% 0.069 1.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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