#7E7E52

Closest named color: Drab (#828344). oklch(58.2% 0.062 108.2), rgb(126, 126, 82).

Aa

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

About this color

#7E7E52 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.062 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.026 away. Black text reads best on it, at 4.99:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.062)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.99:1
White text4.20:1

Values

HEX#7E7E52
RGBrgb(126, 126, 82)
HSLhsl(60, 21%, 41%)
OKLCHoklch(58.2% 0.062 108.2)

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 #7E7E52 4.20:1 AA large text Lc -74.5 Content text, not long reading
Black text on #7E7E52 4.99:1 AA Lc 35.1 Non-text elements, placeholder text
#7E7E52 text on white 4.20:1 AA large text Lc 69.0 Content text, not long reading
#7E7E52 text on black 4.99:1 AA Lc -32.7 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

    #DADACE

    oklch(88.5% 0.016 106.7)

  4. Step 300

    300

    #C2C2AE

    oklch(80.9% 0.027 107)

  5. Step 400

    400

    #A3A383

    oklch(70.7% 0.045 107.5)

  6. Step 500

    500

    #8C8C64

    oklch(63% 0.057 107.9)

  7. Step 600

    600 (this color)

    #7E7E52

    oklch(58.2% 0.062 108.2)

  8. Step 700

    700

    #64633C

    oklch(49.1% 0.057 107.1)

  9. Step 800

    800

    #515132

    oklch(42.7% 0.047 108.3)

  10. Step 900

    900

    #43432C

    oklch(37.6% 0.037 108)

  11. Step 950

    950

    #27271A

    oklch(26.9% 0.023 107.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E7E52 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)#857A4F0.014
Deuteranopia (no green cones)#867C540.014
Tritanopia (no blue cones)#8479730.055
Achromatopsia (no color)#7B7B7B0.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7E52

    #7E7E52

    oklch(58.2% 0.062 108.2)

  • #79759E

    #79759E

    oklch(58.2% 0.062 288.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7E52

    #7E7E52

    oklch(58.2% 0.062 108.2)

  • #8F7750

    #8F7750

    oklch(58.2% 0.062 79.2)

  • #698460

    #698460

    oklch(58.2% 0.062 138)

Open the analogous palette in the generator

Split complementary

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

  • #7E7E52

    #7E7E52

    oklch(58.2% 0.062 108.2)

  • #647CA0

    #647CA0

    oklch(58.1% 0.062 258.3)

  • #8B6F93

    #8B6F93

    oklch(58.1% 0.063 318.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7E52

    #7E7E52

    oklch(58.2% 0.062 108.2)

  • #528298

    #528298

    oklch(58.1% 0.062 228.8)

  • #976C81

    #976C81

    oklch(58.2% 0.062 348.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7E52

    #7E7E52

    oklch(58.2% 0.062 108.2)

  • #4B8688

    #4B8688

    oklch(58.1% 0.062 198.4)

  • #79759E

    #79759E

    oklch(58.2% 0.062 288.8)

  • #9D6C6D

    #9D6C6D

    oklch(58.2% 0.063 17.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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