#7E6E1B

Closest named color: Muddy Brown (#886806). oklch(53.8% 0.1 97.7), rgb(126, 110, 27).

Aa

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

About this color

#7E6E1B is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 54%, its chroma 0.100 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.08:1.

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

Values

HEX#7E6E1B
RGBrgb(126, 110, 27)
HSLhsl(50, 65%, 30%)
OKLCHoklch(53.8% 0.1 97.7)

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 #7E6E1B 5.08:1 AA Lc -80.3 Fine for body text
Black text on #7E6E1B 4.13:1 AA large text Lc 29.1 Dividers and decoration only
#7E6E1B text on white 5.08:1 AA Lc 75.0 Content text, not long reading
#7E6E1B text on black 4.13:1 AA large text Lc -26.8 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

    #ECEAE0

    oklch(93.6% 0.013 97.4)

  3. Step 200

    200

    #DDDAC7

    oklch(88.6% 0.026 99.6)

  4. Step 300

    300

    #C8C1A0

    oklch(80.8% 0.045 97.4)

  5. Step 400

    400

    #ADA16C

    oklch(70.7% 0.073 96.9)

  6. Step 500

    500

    #998A44

    oklch(63.2% 0.092 97.5)

  7. Step 600

    600 (this color)

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  8. Step 700

    700

    #6F6114

    oklch(49.2% 0.094 98.3)

  9. Step 800

    800

    #5A4F14

    oklch(42.7% 0.078 98.3)

  10. Step 900

    900

    #4A4218

    oklch(37.8% 0.061 98.6)

  11. Step 950

    950

    #2B270F

    oklch(27.1% 0.039 100)

Export this scale for Tailwind in the Tailwind colors tool

#7E6E1B 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)#7A6B0B0.013
Deuteranopia (no green cones)#7E71210.008
Tritanopia (no blue cones)#88655E0.092
Achromatopsia (no color)#6E6E6E0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E6E1B

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  • #6067A8

    #6067A8

    oklch(53.7% 0.102 277.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E6E1B

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  • #946224

    #946224

    oklch(53.9% 0.1 68.1)

  • #5D7935

    #5D7935

    oklch(53.8% 0.101 128)

Open the analogous palette in the generator

Split complementary

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

  • #7E6E1B

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  • #3972A5

    #3972A5

    oklch(53.7% 0.1 247.8)

  • #7E5D9B

    #7E5D9B

    oklch(53.7% 0.101 307.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E6E1B

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  • #007B93

    #007B93

    oklch(53.8% 0.097 217.8)

  • #935683

    #935683

    oklch(53.8% 0.101 337.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E6E1B

    #7E6E1B

    oklch(53.8% 0.1 97.7)

  • #007F78

    #007F78

    oklch(53.7% 0.093 188)

  • #6067A8

    #6067A8

    oklch(53.7% 0.102 277.7)

  • #9F5363

    #9F5363

    oklch(53.8% 0.102 7.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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