#7B7E55

Closest named color: Drab (#828344). oklch(58% 0.059 111.6), rgb(123, 126, 85).

Aa

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

About this color

#7B7E55 is a medium-dark, muted yellow. In OKLCH its lightness is 58%, its chroma 0.059 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.030 away. Black text reads best on it, at 4.95:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamuted (0.059)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.95:1
White text4.23:1

Values

HEX#7B7E55
RGBrgb(123, 126, 85)
HSLhsl(64, 19%, 41%)
OKLCHoklch(58% 0.059 111.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 #7B7E55 4.23:1 AA large text Lc -74.7 Content text, not long reading
Black text on #7B7E55 4.95:1 AA Lc 34.8 Non-text elements, placeholder text
#7B7E55 text on white 4.23:1 AA large text Lc 69.2 Content text, not long reading
#7B7E55 text on black 4.95:1 AA Lc -32.4 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

    #D9DACF

    oklch(88.5% 0.015 110.9)

  4. Step 300

    300

    #C1C3AF

    oklch(81% 0.027 111.6)

  5. Step 400

    400

    #A1A485

    oklch(70.8% 0.044 112)

  6. Step 500

    500

    #8A8D67

    oklch(63.1% 0.054 111.6)

  7. Step 600

    600 (this color)

    #7B7E55

    oklch(58% 0.059 111.6)

  8. Step 700

    700

    #61643F

    oklch(49.1% 0.055 112.2)

  9. Step 800

    800

    #4F5234

    oklch(42.8% 0.046 113)

  10. Step 900

    900

    #42442E

    oklch(37.8% 0.035 112.3)

  11. Step 950

    950

    #27281B

    oklch(27.2% 0.023 111.5)

Export this scale for Tailwind in the Tailwind colors tool

#7B7E55 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)#847A520.016
Deuteranopia (no green cones)#847C570.015
Tritanopia (no blue cones)#8079730.051
Achromatopsia (no color)#7B7B7B0.059

Harmonies

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

Complementary

The opposite hue (180°).

  • #7B7E55

    #7B7E55

    oklch(58% 0.059 111.6)

  • #7A749B

    #7A749B

    oklch(57.9% 0.06 291.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7B7E55

    #7B7E55

    oklch(58% 0.059 111.6)

  • #8C7752

    #8C7752

    oklch(58% 0.058 81.3)

  • #678363

    #678363

    oklch(57.9% 0.058 141.5)

Open the analogous palette in the generator

Split complementary

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

  • #7B7E55

    #7B7E55

    oklch(58% 0.059 111.6)

  • #677B9E

    #677B9E

    oklch(58% 0.059 261.5)

  • #8B6F8F

    #8B6F8F

    oklch(58% 0.058 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7B7E55

    #7B7E55

    oklch(58% 0.059 111.6)

  • #558197

    #558197

    oklch(58% 0.059 230.8)

  • #966C7E

    #966C7E

    oklch(58% 0.059 351.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7B7E55

    #7B7E55

    oklch(58% 0.059 111.6)

  • #4E8589

    #4E8589

    oklch(58% 0.059 201.7)

  • #7A749B

    #7A749B

    oklch(57.9% 0.06 291.5)

  • #9A6D6B

    #9A6D6B

    oklch(58% 0.058 21.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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