#7E6D04

Closest named color: Muddy Brown (#886806). oklch(53.5% 0.109 98.2), rgb(126, 109, 4).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (53%)
Chromamoderately saturated (0.109)
Temperaturewarm
Nearest nameMuddy Brown (#886806)
Black text4.07:1
White text5.15:1

Values

HEX#7E6D04
RGBrgb(126, 109, 4)
HSLhsl(52, 94%, 25%)
OKLCHoklch(53.5% 0.109 98.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 #7E6D04 5.15:1 AA Lc -80.7 Fine for body text
Black text on #7E6D04 4.07:1 AA large text Lc 28.7 Dividers and decoration only
#7E6D04 text on white 5.15:1 AA Lc 75.3 Fine for body text
#7E6D04 text on black 4.07:1 AA large text Lc -26.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C9C29E

    oklch(81% 0.049 98.2)

  5. Step 400

    400

    #ADA267

    oklch(70.8% 0.08 99)

  6. Step 500

    500

    #998A3B

    oklch(63.1% 0.101 98.6)

  7. Step 600

    600 (this color)

    #7E6D04

    oklch(53.5% 0.109 98.2)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F09

    oklch(42.7% 0.084 98.5)

  10. Step 900

    900

    #4B4213

    oklch(37.8% 0.066 98.3)

  11. Step 950

    950

    #2C270D

    oklch(27.2% 0.042 98.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E6D04 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)#796A000.013
Deuteranopia (no green cones)#7E70100.008
Tritanopia (no blue cones)#89645C0.100
Achromatopsia (no color)#6D6D6D0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6D04

    #7E6D04

    oklch(53.5% 0.109 98.2)

  • #5F65AB

    #5F65AB

    oklch(53.4% 0.109 278.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6D04

    #7E6D04

    oklch(53.5% 0.109 98.2)

  • #965F15

    #965F15

    oklch(53.4% 0.109 67.8)

  • #5A792D

    #5A792D

    oklch(53.5% 0.11 128.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E6D04

    #7E6D04

    oklch(53.5% 0.109 98.2)

  • #3271A9

    #3271A9

    oklch(53.4% 0.109 248.2)

  • #7F5A9E

    #7F5A9E

    oklch(53.4% 0.111 308.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6D04

    #7E6D04

    oklch(53.5% 0.109 98.2)

  • #007A92

    #007A92

    oklch(53.5% 0.096 217.9)

  • #955283

    #955283

    oklch(53.4% 0.11 337.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6D04

    #7E6D04

    oklch(53.5% 0.109 98.2)

  • #007E77

    #007E77

    oklch(53.4% 0.093 188)

  • #5F65AB

    #5F65AB

    oklch(53.4% 0.109 278.3)

  • #A14F61

    #A14F61

    oklch(53.4% 0.11 7.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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