#7F7540

Closest named color: Dirt (#8A6E45). oklch(55.9% 0.074 98.9), rgb(127, 117, 64).

Aa

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

About this color

#7F7540 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.074 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Dirt (#8A6E45), ΔE 0.029 away. White text reads best on it, at 4.64:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameDirt (#8A6E45)
Black text4.52:1
White text4.64:1

Values

HEX#7F7540
RGBrgb(127, 117, 64)
HSLhsl(50, 33%, 37%)
OKLCHoklch(55.9% 0.074 98.9)

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 #7F7540 4.64:1 AA Lc -77.7 Fine for body text
Black text on #7F7540 4.52:1 AA Lc 31.8 Non-text elements, placeholder text
#7F7540 text on white 4.64:1 AA Lc 72.2 Content text, not long reading
#7F7540 text on black 4.52:1 AA Lc -29.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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #EBEAE3

    oklch(93.6% 0.009 100)

  3. Step 200

    200

    #DCDACC

    oklch(88.6% 0.019 100.2)

  4. Step 300

    300

    #C6C1A9

    oklch(80.9% 0.033 97.4)

  5. Step 400

    400

    #A9A27C

    oklch(70.8% 0.053 98.8)

  6. Step 500

    500

    #948A5A

    oklch(63% 0.067 97.9)

  7. Step 600

    600 (this color)

    #7F7540

    oklch(55.9% 0.074 98.9)

  8. Step 700

    700

    #6A6131

    oklch(49% 0.068 98.9)

  9. Step 800

    800

    #575029

    oklch(42.8% 0.058 99.3)

  10. Step 900

    900

    #474226

    oklch(37.7% 0.044 99.4)

  11. Step 950

    950

    #2A2717

    oklch(27.1% 0.028 98.9)

Export this scale for Tailwind in the Tailwind colors tool

#7F7540 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)#7E723C0.009
Deuteranopia (no green cones)#8176420.005
Tritanopia (no blue cones)#876E680.067
Achromatopsia (no color)#7474740.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #7F7540

    #7F7540

    oklch(55.9% 0.074 98.9)

  • #6B709F

    #6B709F

    oklch(56% 0.073 279.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7F7540

    #7F7540

    oklch(55.9% 0.074 98.9)

  • #916C43

    #916C43

    oklch(55.9% 0.074 68.2)

  • #677D4E

    #677D4E

    oklch(56% 0.073 128.9)

Open the analogous palette in the generator

Split complementary

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

  • #7F7540

    #7F7540

    oklch(55.9% 0.074 98.9)

  • #51789E

    #51789E

    oklch(55.9% 0.074 248.6)

  • #816895

    #816895

    oklch(55.9% 0.074 309.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7F7540

    #7F7540

    oklch(55.9% 0.074 98.9)

  • #3B7F92

    #3B7F92

    oklch(56% 0.074 218.7)

  • #916383

    #916383

    oklch(55.9% 0.074 338.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7F7540

    #7F7540

    oklch(55.9% 0.074 98.9)

  • #38827D

    #38827D

    oklch(55.9% 0.074 189.3)

  • #6B709F

    #6B709F

    oklch(56% 0.073 279.1)

  • #9A626B

    #9A626B

    oklch(56% 0.074 9.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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