#7E7D47

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

Aa

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

About this color

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

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

Values

HEX#7E7D47
RGBrgb(126, 125, 71)
HSLhsl(59, 28%, 39%)
OKLCHoklch(57.8% 0.075 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 #7E7D47 4.27:1 AA large text Lc -75.0 Fine for body text
Black text on #7E7D47 4.91:1 AA Lc 34.5 Non-text elements, placeholder text
#7E7D47 text on white 4.27:1 AA large text Lc 69.5 Content text, not long reading
#7E7D47 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

    #DADACC

    oklch(88.5% 0.019 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

    #8D8D5B

    oklch(63.1% 0.069 108.2)

  7. Step 600

    600 (this color)

    #7E7D47

    oklch(57.8% 0.075 107.6)

  8. Step 700

    700

    #656433

    oklch(49.2% 0.07 107.7)

  9. Step 800

    800

    #52512A

    oklch(42.6% 0.058 107.3)

  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

#7E7D47 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)#8579430.014
Deuteranopia (no green cones)#867B490.014
Tritanopia (no blue cones)#8577700.067
Achromatopsia (no color)#7A7A7A0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7D47

    #7E7D47

    oklch(57.8% 0.075 107.6)

  • #7773A4

    #7773A4

    oklch(57.8% 0.075 287.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7D47

    #7E7D47

    oklch(57.8% 0.075 107.6)

  • #927445

    #927445

    oklch(57.7% 0.074 77.7)

  • #648458

    #648458

    oklch(57.7% 0.075 137.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E7D47

    #7E7D47

    oklch(57.8% 0.075 107.6)

  • #5D7BA6

    #5D7BA6

    oklch(57.7% 0.075 257.4)

  • #8C6C97

    #8C6C97

    oklch(57.8% 0.074 317.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7D47

    #7E7D47

    oklch(57.8% 0.075 107.6)

  • #45829C

    #45829C

    oklch(57.6% 0.075 227.9)

  • #9B6782

    #9B6782

    oklch(57.7% 0.076 347.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7D47

    #7E7D47

    oklch(57.8% 0.075 107.6)

  • #3B8789

    #3B8789

    oklch(57.7% 0.075 197.6)

  • #7773A4

    #7773A4

    oklch(57.8% 0.075 287.6)

  • #A16769

    #A16769

    oklch(57.7% 0.075 17.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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