#7E7E5E

Closest named color: Brown Grey (#8D8468). oklch(58.4% 0.046 107.8), rgb(126, 126, 94).

Aa

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

About this color

#7E7E5E is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.046 and its hue 108°. Its hue sits on the warm side of the wheel. The nearest named color is Brown Grey (#8D8468), ΔE 0.032 away. Black text reads best on it, at 5.03:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.046)
Temperaturewarm
Nearest nameBrown Grey (#8D8468)
Black text5.03:1
White text4.17:1

Values

HEX#7E7E5E
RGBrgb(126, 126, 94)
HSLhsl(60, 15%, 43%)
OKLCHoklch(58.4% 0.046 107.8)

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

    #F5F5F3

    oklch(97% 0.003 106.4)

  2. Step 100

    100

    #EAEAE6

    oklch(93.6% 0.005 106.5)

  3. Step 200

    200

    #DADAD1

    oklch(88.6% 0.012 106.6)

  4. Step 300

    300

    #C2C2B3

    oklch(81% 0.021 106.9)

  5. Step 400

    400

    #A2A28B

    oklch(70.6% 0.032 107.2)

  6. Step 500

    500

    #8C8C6E

    oklch(63.2% 0.043 107.6)

  7. Step 600

    600 (this color)

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  8. Step 700

    700

    #636346

    oklch(49.2% 0.044 107.9)

  9. Step 800

    800

    #51513A

    oklch(42.8% 0.036 107.8)

  10. Step 900

    900

    #434332

    oklch(37.8% 0.028 107.7)

  11. Step 950

    950

    #27271D

    oklch(26.9% 0.018 107.5)

Export this scale for Tailwind in the Tailwind colors tool

#7E7E5E 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)#837B5C0.010
Deuteranopia (no green cones)#847D5F0.010
Tritanopia (no blue cones)#837A750.041
Achromatopsia (no color)#7C7C7C0.046

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7E5E

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  • #7A7896

    #7A7896

    oklch(58.5% 0.046 288)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7E5E

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  • #8B795D

    #8B795D

    oklch(58.5% 0.046 78.6)

  • #6E8268

    #6E8268

    oklch(58.3% 0.045 138.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E7E5E

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  • #6B7D98

    #6B7D98

    oklch(58.5% 0.047 258.4)

  • #87738E

    #87738E

    oklch(58.4% 0.047 317.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7E5E

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  • #5E8291

    #5E8291

    oklch(58.5% 0.046 225.6)

  • #917181

    #917181

    oklch(58.5% 0.046 347.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7E5E

    #7E7E5E

    oklch(58.4% 0.046 107.8)

  • #5A8485

    #5A8485

    oklch(58.3% 0.046 197.8)

  • #7A7896

    #7A7896

    oklch(58.5% 0.046 288)

  • #957171

    #957171

    oklch(58.4% 0.046 18.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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