#7C7E48

Closest named color: Drab (#828344). oklch(57.8% 0.075 110.4), rgb(124, 126, 72).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.075)
Temperaturein between
Nearest nameDrab (#828344)
Black text4.93:1
White text4.25:1

Values

HEX#7C7E48
RGBrgb(124, 126, 72)
HSLhsl(62, 27%, 39%)
OKLCHoklch(57.8% 0.075 110.4)

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 #7C7E48 4.25:1 AA large text Lc -74.9 Content text, not long reading
Black text on #7C7E48 4.93:1 AA Lc 34.7 Non-text elements, placeholder text
#7C7E48 text on white 4.25:1 AA large text Lc 69.4 Content text, not long reading
#7C7E48 text on black 4.93:1 AA Lc -32.3 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

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEAE3

    oklch(93.5% 0.009 106.6)

  3. Step 200

    200

    #D9DACC

    oklch(88.4% 0.019 110.1)

  4. Step 300

    300

    #C1C3AA

    oklch(80.9% 0.034 110.9)

  5. Step 400

    400

    #A2A47D

    oklch(70.7% 0.054 110.1)

  6. Step 500

    500

    #8B8E5C

    oklch(63.2% 0.07 111.1)

  7. Step 600

    600 (this color)

    #7C7E48

    oklch(57.8% 0.075 110.4)

  8. Step 700

    700

    #636433

    oklch(49% 0.07 109.8)

  9. Step 800

    800

    #51522B

    oklch(42.8% 0.058 109.9)

  10. Step 900

    900

    #434427

    oklch(37.8% 0.045 110.1)

  11. Step 950

    950

    #272817

    oklch(27.1% 0.029 111.1)

Export this scale for Tailwind in the Tailwind colors tool

#7C7E48 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)#867A440.017
Deuteranopia (no green cones)#867C4A0.017
Tritanopia (no blue cones)#8378710.067
Achromatopsia (no color)#7B7B7B0.075

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7E48

    #7C7E48

    oklch(57.8% 0.075 110.4)

  • #7972A3

    #7972A3

    oklch(57.8% 0.075 290.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7E48

    #7C7E48

    oklch(57.8% 0.075 110.4)

  • #917544

    #917544

    oklch(57.8% 0.075 80.4)

  • #62855A

    #62855A

    oklch(57.8% 0.075 139.8)

Open the analogous palette in the generator

Split complementary

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

  • #7C7E48

    #7C7E48

    oklch(57.8% 0.075 110.4)

  • #607AA7

    #607AA7

    oklch(57.8% 0.076 261.1)

  • #8E6B95

    #8E6B95

    oklch(57.8% 0.075 320.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7E48

    #7C7E48

    oklch(57.8% 0.075 110.4)

  • #47829E

    #47829E

    oklch(57.8% 0.075 230.5)

  • #9C6780

    #9C6780

    oklch(57.8% 0.076 349.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7E48

    #7C7E48

    oklch(57.8% 0.075 110.4)

  • #3B878C

    #3B878C

    oklch(57.8% 0.075 201.2)

  • #7972A3

    #7972A3

    oklch(57.8% 0.075 290.4)

  • #A26867

    #A26867

    oklch(57.9% 0.075 20.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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