#7E7E5F

Closest named color: Brown Grey (#8D8468). oklch(58.5% 0.045 107.7), rgb(126, 126, 95).

Aa

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

About this color

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

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

Values

HEX#7E7E5F
RGBrgb(126, 126, 95)
HSLhsl(60, 14%, 43%)
OKLCHoklch(58.5% 0.045 107.7)

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 #7E7E5F 4.16:1 AA large text Lc -74.2 Content text, not long reading
Black text on #7E7E5F 5.03:1 AA Lc 35.4 Non-text elements, placeholder text
#7E7E5F text on white 4.16:1 AA large text Lc 68.7 Content text, not long reading
#7E7E5F 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

    #C1C2B3

    oklch(80.9% 0.021 109.9)

  5. Step 400

    400

    #A2A28B

    oklch(70.6% 0.032 107.2)

  6. Step 500

    500

    #8C8C6F

    oklch(63.2% 0.042 107.5)

  7. Step 600

    600 (this color)

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  8. Step 700

    700

    #636347

    oklch(49.2% 0.042 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

    #27271E

    oklch(27% 0.016 107.4)

Export this scale for Tailwind in the Tailwind colors tool

#7E7E5F 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)#837B5D0.010
Deuteranopia (no green cones)#847D600.010
Tritanopia (no blue cones)#837A760.041
Achromatopsia (no color)#7C7C7C0.045

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7E5F

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  • #7A7896

    #7A7896

    oklch(58.5% 0.046 288)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7E5F

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  • #8B795E

    #8B795E

    oklch(58.6% 0.045 77.7)

  • #6F8268

    #6F8268

    oklch(58.4% 0.045 137.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E7E5F

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  • #6B7D97

    #6B7D97

    oklch(58.5% 0.045 257.5)

  • #87748D

    #87748D

    oklch(58.5% 0.044 318)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7E5F

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  • #5F8191

    #5F8191

    oklch(58.3% 0.046 228.6)

  • #917180

    #917180

    oklch(58.5% 0.045 348.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7E5F

    #7E7E5F

    oklch(58.5% 0.045 107.7)

  • #5C8485

    #5C8485

    oklch(58.4% 0.044 198)

  • #7A7896

    #7A7896

    oklch(58.5% 0.046 288)

  • #957172

    #957172

    oklch(58.5% 0.046 16.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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