#7E6D21

Closest named color: Muddy Brown (#886806). oklch(53.6% 0.096 96.2), rgb(126, 109, 33).

Aa

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

About this color

#7E6D21 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.096 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Muddy Brown (#886806), ΔE 0.020 away. White text reads best on it, at 5.12:1.

Hue familyYellows
Lightnessmedium-dark (54%)
Chromamoderately saturated (0.096)
Temperaturewarm
Nearest nameMuddy Brown (#886806)
Black text4.09:1
White text5.12:1

Values

HEX#7E6D21
RGBrgb(126, 109, 33)
HSLhsl(49, 58%, 31%)
OKLCHoklch(53.6% 0.096 96.2)

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 #7E6D21 5.12:1 AA Lc -80.6 Fine for body text
Black text on #7E6D21 4.09:1 AA large text Lc 28.8 Dividers and decoration only
#7E6D21 text on white 5.12:1 AA Lc 75.2 Fine for body text
#7E6D21 text on black 4.09:1 AA large text Lc -26.5 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

    #F6F5F1

    oklch(97% 0.005 95.1)

  2. Step 100

    100

    #ECEAE1

    oklch(93.6% 0.012 96.4)

  3. Step 200

    200

    #DDD9C8

    oklch(88.4% 0.023 96)

  4. Step 300

    300

    #C8C1A2

    oklch(80.8% 0.043 96.7)

  5. Step 400

    400

    #ADA16F

    oklch(70.7% 0.069 96.3)

  6. Step 500

    500

    #998948

    oklch(63% 0.087 95.8)

  7. Step 600

    600 (this color)

    #7E6D21

    oklch(53.6% 0.096 96.2)

  8. Step 700

    700

    #70601A

    oklch(49.1% 0.089 95.8)

  9. Step 800

    800

    #5B4F19

    oklch(42.8% 0.074 96.5)

  10. Step 900

    900

    #4B411B

    oklch(37.7% 0.057 94.8)

  11. Step 950

    950

    #2C2611

    oklch(26.9% 0.036 93.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E6D21 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)#796B160.013
Deuteranopia (no green cones)#7D70250.008
Tritanopia (no blue cones)#88645E0.089
Achromatopsia (no color)#6E6E6E0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6D21

    #7E6D21

    oklch(53.6% 0.096 96.2)

  • #5F68A5

    #5F68A5

    oklch(53.7% 0.096 276.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6D21

    #7E6D21

    oklch(53.6% 0.096 96.2)

  • #93612A

    #93612A

    oklch(53.6% 0.096 65.6)

  • #5F7736

    #5F7736

    oklch(53.5% 0.096 126.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E6D21

    #7E6D21

    oklch(53.6% 0.096 96.2)

  • #3A72A2

    #3A72A2

    oklch(53.6% 0.096 246.7)

  • #7C5E99

    #7C5E99

    oklch(53.6% 0.096 306.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6D21

    #7E6D21

    oklch(53.6% 0.096 96.2)

  • #007B91

    #007B91

    oklch(53.7% 0.095 216)

  • #905782

    #905782

    oklch(53.6% 0.095 336.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6D21

    #7E6D21

    oklch(53.6% 0.096 96.2)

  • #007F76

    #007F76

    oklch(53.7% 0.094 186.2)

  • #5F68A5

    #5F68A5

    oklch(53.7% 0.096 276.3)

  • #9C5465

    #9C5465

    oklch(53.6% 0.097 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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