#7E7D48

Closest named color: Drab (#828344). oklch(57.8% 0.074 107.6), rgb(126, 125, 72).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.91:1
White text4.27:1

Values

HEX#7E7D48
RGBrgb(126, 125, 72)
HSLhsl(59, 27%, 39%)
OKLCHoklch(57.8% 0.074 107.6)

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 #7E7D48 4.27:1 AA large text Lc -75.0 Fine for body text
Black text on #7E7D48 4.91:1 AA Lc 34.6 Non-text elements, placeholder text
#7E7D48 text on white 4.27:1 AA large text Lc 69.5 Content text, not long reading
#7E7D48 text on black 4.91:1 AA Lc -32.1 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

    #F6F6F2

    oklch(97.2% 0.005 106.5)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #DADACD

    oklch(88.5% 0.018 106.8)

  4. Step 300

    300

    #C2C3AA

    oklch(81% 0.034 109)

  5. Step 400

    400

    #A4A37D

    oklch(70.6% 0.053 106.4)

  6. Step 500

    500

    #8D8D5C

    oklch(63.1% 0.068 108.2)

  7. Step 600

    600 (this color)

    #7E7D48

    oklch(57.8% 0.074 107.6)

  8. Step 700

    700

    #656433

    oklch(49.2% 0.07 107.7)

  9. Step 800

    800

    #52512B

    oklch(42.6% 0.057 107.2)

  10. Step 900

    900

    #444327

    oklch(37.6% 0.044 106.6)

  11. Step 950

    950

    #282817

    oklch(27.2% 0.029 108.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E7D48 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)#8579440.014
Deuteranopia (no green cones)#867B4A0.014
Tritanopia (no blue cones)#8577700.066
Achromatopsia (no color)#7A7A7A0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7D48

    #7E7D48

    oklch(57.8% 0.074 107.6)

  • #7773A3

    #7773A3

    oklch(57.8% 0.073 287.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7D48

    #7E7D48

    oklch(57.8% 0.074 107.6)

  • #927446

    #927446

    oklch(57.7% 0.073 77.2)

  • #648459

    #648459

    oklch(57.7% 0.074 137.9)

Open the analogous palette in the generator

Split complementary

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

  • #7E7D48

    #7E7D48

    oklch(57.8% 0.074 107.6)

  • #5E7BA5

    #5E7BA5

    oklch(57.8% 0.073 257.6)

  • #8C6C96

    #8C6C96

    oklch(57.8% 0.073 318)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7D48

    #7E7D48

    oklch(57.8% 0.074 107.6)

  • #46829C

    #46829C

    oklch(57.7% 0.074 228.2)

  • #9A6882

    #9A6882

    oklch(57.8% 0.073 347.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7D48

    #7E7D48

    oklch(57.8% 0.074 107.6)

  • #3D8789

    #3D8789

    oklch(57.8% 0.073 197.7)

  • #7773A3

    #7773A3

    oklch(57.8% 0.073 287.7)

  • #A16869

    #A16869

    oklch(57.9% 0.074 18.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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