#7E6D02

Closest named color: Muddy Brown (#886806). oklch(53.5% 0.11 98.3), rgb(126, 109, 2).

Aa

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

About this color

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

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

Values

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

    #DDDAC5

    oklch(88.5% 0.028 100.3)

  4. Step 300

    300

    #C9C29D

    oklch(81% 0.05 98.5)

  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)

    #7E6D02

    oklch(53.5% 0.11 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F08

    oklch(42.7% 0.085 98.6)

  10. Step 900

    900

    #4B4212

    oklch(37.8% 0.067 98.5)

  11. Step 950

    950

    #2C270D

    oklch(27.2% 0.042 98.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E6D02 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.012
Deuteranopia (no green cones)#7E700F0.008
Tritanopia (no blue cones)#89635C0.102
Achromatopsia (no color)#6D6D6D0.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6D02

    #7E6D02

    oklch(53.5% 0.11 98.3)

  • #5F65AC

    #5F65AC

    oklch(53.4% 0.111 278.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6D02

    #7E6D02

    oklch(53.5% 0.11 98.3)

  • #965F13

    #965F13

    oklch(53.4% 0.11 68.2)

  • #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°).

  • #7E6D02

    #7E6D02

    oklch(53.5% 0.11 98.3)

  • #3271AA

    #3271AA

    oklch(53.5% 0.111 248.7)

  • #7F5A9E

    #7F5A9E

    oklch(53.4% 0.111 308.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6D02

    #7E6D02

    oklch(53.5% 0.11 98.3)

  • #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.

  • #7E6D02

    #7E6D02

    oklch(53.5% 0.11 98.3)

  • #007E77

    #007E77

    oklch(53.4% 0.093 188)

  • #5F65AC

    #5F65AC

    oklch(53.4% 0.111 278.3)

  • #A24F60

    #A24F60

    oklch(53.5% 0.111 8.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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