#7C875D

Closest named color: Drab (#828344). oklch(60.3% 0.062 120.2), rgb(124, 135, 93).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamuted (0.062)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.48:1
White text3.83:1

Values

HEX#7C875D
RGBrgb(124, 135, 93)
HSLhsl(76, 18%, 45%)
OKLCHoklch(60.3% 0.062 120.2)

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 #7C875D 3.83:1 AA large text Lc -71.3 Content text, not long reading
Black text on #7C875D 5.48:1 AA Lc 38.3 Non-text elements, placeholder text
#7C875D text on white 3.83:1 AA large text Lc 65.8 Content text, not long reading
#7C875D text on black 5.48:1 AA Lc -35.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 500.

  1. Step 50

    50

    #F5F6F3

    oklch(97.2% 0.004 121.6)

  2. Step 100

    100

    #E9EBE4

    oklch(93.7% 0.01 119.6)

  3. Step 200

    200

    #D7DBCF

    oklch(88.5% 0.017 121.8)

  4. Step 300

    300

    #BEC4AE

    oklch(81% 0.031 119.5)

  5. Step 400

    400

    #9CA584

    oklch(70.6% 0.047 120)

  6. Step 500

    500 (this color)

    #7C875D

    oklch(60.3% 0.062 120.2)

  7. Step 600

    600

    #6E794C

    oklch(55.5% 0.066 119.8)

  8. Step 700

    700

    #5C663D

    oklch(49.1% 0.062 119.9)

  9. Step 800

    800

    #4B5333

    oklch(42.6% 0.051 120)

  10. Step 900

    900

    #3F452C

    oklch(37.8% 0.041 119.4)

  11. Step 950

    950

    #25281A

    oklch(26.9% 0.025 117.9)

Export this scale for Tailwind in the Tailwind colors tool

#7C875D 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)#8C825A0.026
Deuteranopia (no green cones)#8B825F0.026
Tritanopia (no blue cones)#80837C0.051
Achromatopsia (no color)#8282820.062

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C875D

    #7C875D

    oklch(60.3% 0.062 120.2)

  • #8779A1

    #8779A1

    oklch(60.3% 0.062 300.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C875D

    #7C875D

    oklch(60.3% 0.062 120.2)

  • #8F8056

    #8F8056

    oklch(60.3% 0.061 90.6)

  • #678C6E

    #678C6E

    oklch(60.4% 0.061 150)

Open the analogous palette in the generator

Split complementary

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

  • #7C875D

    #7C875D

    oklch(60.3% 0.062 120.2)

  • #7380A7

    #7380A7

    oklch(60.4% 0.062 270.2)

  • #977493

    #977493

    oklch(60.4% 0.062 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C875D

    #7C875D

    oklch(60.3% 0.062 120.2)

  • #5F86A3

    #5F86A3

    oklch(60.2% 0.062 241.2)

  • #A1727F

    #A1727F

    oklch(60.4% 0.062 0.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C875D

    #7C875D

    oklch(60.3% 0.062 120.2)

  • #538C96

    #538C96

    oklch(60.5% 0.062 209.9)

  • #8779A1

    #8779A1

    oklch(60.3% 0.062 300.6)

  • #A3746B

    #A3746B

    oklch(60.4% 0.061 31.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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