#7E6F18

Closest named color: Muddy Brown (#886806). oklch(54% 0.103 98.8), rgb(126, 111, 24).

Aa

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

About this color

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

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

Values

HEX#7E6F18
RGBrgb(126, 111, 24)
HSLhsl(51, 68%, 29%)
OKLCHoklch(54% 0.103 98.8)

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 #7E6F18 5.03:1 AA Lc -80.0 Fine for body text
Black text on #7E6F18 4.17:1 AA large text Lc 29.4 Dividers and decoration only
#7E6F18 text on white 5.03:1 AA Lc 74.7 Content text, not long reading
#7E6F18 text on black 4.17:1 AA large text Lc -27.1 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

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C2A0

    oklch(81% 0.046 99)

  5. Step 400

    400

    #ACA26B

    oklch(70.8% 0.075 99.2)

  6. Step 500

    500

    #988A42

    oklch(63.1% 0.094 98.5)

  7. Step 600

    600 (this color)

    #7E6F18

    oklch(54% 0.103 98.8)

  8. Step 700

    700

    #6F6110

    oklch(49.2% 0.096 98.6)

  9. Step 800

    800

    #5A4F12

    oklch(42.6% 0.079 98.6)

  10. Step 900

    900

    #4A4217

    oklch(37.7% 0.062 98.8)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#7E6F18 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)#7B6C040.012
Deuteranopia (no green cones)#7F711E0.006
Tritanopia (no blue cones)#88665F0.095
Achromatopsia (no color)#6F6F6F0.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6F18

    #7E6F18

    oklch(54% 0.103 98.8)

  • #6267AA

    #6267AA

    oklch(54% 0.104 279)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6F18

    #7E6F18

    oklch(54% 0.103 98.8)

  • #956220

    #956220

    oklch(53.9% 0.103 68.7)

  • #5C7A35

    #5C7A35

    oklch(54% 0.103 128.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E6F18

    #7E6F18

    oklch(54% 0.103 98.8)

  • #3A73A8

    #3A73A8

    oklch(54.1% 0.103 248.7)

  • #805D9C

    #805D9C

    oklch(54% 0.103 308.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6F18

    #7E6F18

    oklch(54% 0.103 98.8)

  • #007C95

    #007C95

    oklch(54.1% 0.098 218.5)

  • #955683

    #955683

    oklch(54.1% 0.102 338.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6F18

    #7E6F18

    oklch(54% 0.103 98.8)

  • #00807A

    #00807A

    oklch(54.1% 0.094 189)

  • #6267AA

    #6267AA

    oklch(54% 0.104 279)

  • #A15362

    #A15362

    oklch(54% 0.104 9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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