#7E7E58

Closest named color: Drab (#828344). oklch(58.3% 0.055 108), rgb(126, 126, 88).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.055)
Temperaturewarm
Nearest nameDrab (#828344)
Black text5.01:1
White text4.18:1

Values

HEX#7E7E58
RGBrgb(126, 126, 88)
HSLhsl(60, 18%, 42%)
OKLCHoklch(58.3% 0.055 108)

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 #7E7E58 4.18:1 AA large text Lc -74.4 Content text, not long reading
Black text on #7E7E58 5.01:1 AA Lc 35.2 Non-text elements, placeholder text
#7E7E58 text on white 4.18:1 AA large text Lc 68.9 Content text, not long reading
#7E7E58 text on black 5.01:1 AA Lc -32.8 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

    #EAEAE5

    oklch(93.6% 0.007 106.5)

  3. Step 200

    200

    #DADAD0

    oklch(88.6% 0.013 106.7)

  4. Step 300

    300

    #C2C2B0

    oklch(80.9% 0.025 106.9)

  5. Step 400

    400

    #A2A387

    oklch(70.7% 0.039 109)

  6. Step 500

    500

    #8C8C69

    oklch(63.1% 0.05 107.7)

  7. Step 600

    600 (this color)

    #7E7E58

    oklch(58.3% 0.055 108)

  8. Step 700

    700

    #636341

    oklch(49.1% 0.051 108.1)

  9. Step 800

    800

    #515136

    oklch(42.7% 0.042 108)

  10. Step 900

    900

    #43432F

    oklch(37.7% 0.032 107.9)

  11. Step 950

    950

    #27271C

    oklch(26.9% 0.019 107.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E7E58 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)#847B550.011
Deuteranopia (no green cones)#857D590.011
Tritanopia (no blue cones)#8379740.049
Achromatopsia (no color)#7C7C7C0.055

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7E58

    #7E7E58

    oklch(58.3% 0.055 108)

  • #79769A

    #79769A

    oklch(58.2% 0.055 288.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7E58

    #7E7E58

    oklch(58.3% 0.055 108)

  • #8D7856

    #8D7856

    oklch(58.4% 0.055 79.4)

  • #6C8364

    #6C8364

    oklch(58.3% 0.053 137.7)

Open the analogous palette in the generator

Split complementary

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

  • #7E7E58

    #7E7E58

    oklch(58.3% 0.055 108)

  • #677D9C

    #677D9C

    oklch(58.4% 0.054 257)

  • #897191

    #897191

    oklch(58.3% 0.056 317.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7E58

    #7E7E58

    oklch(58.3% 0.055 108)

  • #588295

    #588295

    oklch(58.3% 0.055 228)

  • #946E81

    #946E81

    oklch(58.2% 0.055 347.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7E58

    #7E7E58

    oklch(58.3% 0.055 108)

  • #538587

    #538587

    oklch(58.2% 0.054 199)

  • #79769A

    #79769A

    oklch(58.2% 0.055 288.4)

  • #996E6F

    #996E6F

    oklch(58.2% 0.055 17.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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