#7F7142

Closest named color: Dirt (#8A6E45). oklch(55% 0.068 93.3), rgb(127, 113, 66).

Aa

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

About this color

#7F7142 is a medium-dark, muted yellow. In OKLCH its lightness is 55%, its chroma 0.068 and its hue 93°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.021 away. White text reads best on it, at 4.83:1.

Hue familyYellows
Lightnessmedium-dark (55%)
Chromamuted (0.068)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.34:1
White text4.83:1

Values

HEX#7F7142
RGBrgb(127, 113, 66)
HSLhsl(46, 32%, 38%)
OKLCHoklch(55% 0.068 93.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 #7F7142 4.83:1 AA Lc -78.9 Fine for body text
Black text on #7F7142 4.34:1 AA large text Lc 30.6 Non-text elements, placeholder text
#7F7142 text on white 4.83:1 AA Lc 73.5 Content text, not long reading
#7F7142 text on black 4.34:1 AA large text Lc -28.2 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE3

    oklch(93.7% 0.01 93.6)

  3. Step 200

    200

    #DDD9CD

    oklch(88.5% 0.017 91.6)

  4. Step 300

    300

    #C7C1AB

    oklch(81% 0.031 94.4)

  5. Step 400

    400

    #ABA07E

    oklch(70.6% 0.049 92.3)

  6. Step 500

    500

    #96895E

    oklch(63.1% 0.062 93.3)

  7. Step 600

    600 (this color)

    #7F7142

    oklch(55% 0.068 93.3)

  8. Step 700

    700

    #6D6035

    oklch(49.1% 0.063 93.1)

  9. Step 800

    800

    #594E2D

    oklch(42.6% 0.051 91.6)

  10. Step 900

    900

    #494128

    oklch(37.7% 0.041 92.4)

  11. Step 950

    950

    #2B2618

    oklch(27% 0.025 90.7)

Export this scale for Tailwind in the Tailwind colors tool

#7F7142 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)#7A6F3E0.011
Deuteranopia (no green cones)#7E74440.008
Tritanopia (no blue cones)#876A660.063
Achromatopsia (no color)#7272720.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7142

    #7F7142

    oklch(55% 0.068 93.3)

  • #656F9A

    #656F9A

    oklch(55.1% 0.068 273.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7142

    #7F7142

    oklch(55% 0.068 93.3)

  • #8E6947

    #8E6947

    oklch(55% 0.068 63.3)

  • #6A784C

    #6A784C

    oklch(55% 0.066 122.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F7142

    #7F7142

    oklch(55% 0.068 93.3)

  • #4E7696

    #4E7696

    oklch(54.9% 0.067 243.6)

  • #7A6892

    #7A6892

    oklch(55% 0.067 303.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7142

    #7F7142

    oklch(55% 0.068 93.3)

  • #3D7C89

    #3D7C89

    oklch(55% 0.068 212.9)

  • #8A6383

    #8A6383

    oklch(55.1% 0.068 332.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7142

    #7F7142

    oklch(55% 0.068 93.3)

  • #3F7F76

    #3F7F76

    oklch(55.1% 0.068 183.6)

  • #656F9A

    #656F9A

    oklch(55.1% 0.068 273.9)

  • #93616D

    #93616D

    oklch(55% 0.067 3.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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