#7D7F52

Closest named color: Drab (#828344). oklch(58.3% 0.064 110.4), rgb(125, 127, 82).

Aa

Black text reads best on this color (5.02:1).

About this color

#7D7F52 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.064 and its hue 110°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.024 away. Black text reads best on it, at 5.02:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.064)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.02:1
White text4.17:1

Values

HEX#7D7F52
RGBrgb(125, 127, 82)
HSLhsl(63, 22%, 41%)
OKLCHoklch(58.3% 0.064 110.4)

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 #7D7F52 4.17:1 AA large text Lc -74.3 Content text, not long reading
Black text on #7D7F52 5.02:1 AA Lc 35.3 Non-text elements, placeholder text
#7D7F52 text on white 4.17:1 AA large text Lc 68.8 Content text, not long reading
#7D7F52 text on black 5.02:1 AA Lc -32.9 Non-text elements, placeholder text

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

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #EAEAE4

    oklch(93.5% 0.008 106.6)

  3. Step 200

    200

    #D9DACE

    oklch(88.4% 0.016 110.6)

  4. Step 300

    300

    #C1C3AE

    oklch(81% 0.029 111.5)

  5. Step 400

    400

    #A2A483

    oklch(70.8% 0.046 110.4)

  6. Step 500

    500

    #8B8D63

    oklch(63.1% 0.059 110.3)

  7. Step 600

    600 (this color)

    #7D7F52

    oklch(58.3% 0.064 110.4)

  8. Step 700

    700

    #62643B

    oklch(49.1% 0.06 110.8)

  9. Step 800

    800

    #505231

    oklch(42.8% 0.05 111.3)

  10. Step 900

    900

    #42442C

    oklch(37.8% 0.038 112.1)

  11. Step 950

    950

    #27281A

    oklch(27.1% 0.025 111.3)

Export this scale for Tailwind in the Tailwind colors tool

#7D7F52 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)#867B4F0.016
Deuteranopia (no green cones)#867D540.015
Tritanopia (no blue cones)#837A740.057
Achromatopsia (no color)#7C7C7C0.064

Harmonies

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

Complementary

The opposite hue (180°).

  • #7D7F52

    #7D7F52

    oklch(58.3% 0.064 110.4)

  • #7B759F

    #7B759F

    oklch(58.4% 0.064 290.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7D7F52

    #7D7F52

    oklch(58.3% 0.064 110.4)

  • #8F774F

    #8F774F

    oklch(58.2% 0.063 79.8)

  • #678561

    #678561

    oklch(58.3% 0.064 140.4)

Open the analogous palette in the generator

Split complementary

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

  • #7D7F52

    #7D7F52

    oklch(58.3% 0.064 110.4)

  • #657CA2

    #657CA2

    oklch(58.3% 0.065 260.3)

  • #8D6F93

    #8D6F93

    oklch(58.4% 0.064 320.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7D7F52

    #7D7F52

    oklch(58.3% 0.064 110.4)

  • #52839A

    #52839A

    oklch(58.4% 0.064 229.4)

  • #996C80

    #996C80

    oklch(58.4% 0.063 350.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7D7F52

    #7D7F52

    oklch(58.3% 0.064 110.4)

  • #49878A

    #49878A

    oklch(58.3% 0.064 199.6)

  • #7B759F

    #7B759F

    oklch(58.4% 0.064 290.8)

  • #9E6C6B

    #9E6C6B

    oklch(58.3% 0.064 20.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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