#7C7D40

Closest named color: Drab (#828344). oklch(57.5% 0.083 109.6), rgb(124, 125, 64).

Aa

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

About this color

#7C7D40 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 57%, its chroma 0.083 and its hue 110°. 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.86:1.

Hue familyYellows
Lightnessmedium-dark (57%)
Chromamoderately saturated (0.083)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.86:1
White text4.31:1

Values

HEX#7C7D40
RGBrgb(124, 125, 64)
HSLhsl(61, 32%, 37%)
OKLCHoklch(57.5% 0.083 109.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 #7C7D40 4.31:1 AA large text Lc -75.3 Fine for body text
Black text on #7C7D40 4.86:1 AA Lc 34.2 Non-text elements, placeholder text
#7C7D40 text on white 4.31:1 AA large text Lc 69.8 Content text, not long reading
#7C7D40 text on black 4.86:1 AA Lc -31.8 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

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADBCB

    oklch(88.6% 0.022 109.7)

  4. Step 300

    300

    #C2C3A8

    oklch(80.9% 0.037 108.9)

  5. Step 400

    400

    #A3A479

    oklch(70.7% 0.059 108.9)

  6. Step 500

    500

    #8C8E56

    oklch(63.2% 0.077 110.2)

  7. Step 600

    600 (this color)

    #7C7D40

    oklch(57.5% 0.083 109.6)

  8. Step 700

    700

    #64642D

    oklch(49% 0.076 108.9)

  9. Step 800

    800

    #515226

    oklch(42.7% 0.064 110)

  10. Step 900

    900

    #434424

    oklch(37.7% 0.049 110.1)

  11. Step 950

    950

    #272815

    oklch(27% 0.032 111)

Export this scale for Tailwind in the Tailwind colors tool

#7C7D40 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)#85783B0.018
Deuteranopia (no green cones)#867B430.017
Tritanopia (no blue cones)#83766F0.075
Achromatopsia (no color)#7A7A7A0.083

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C7D40

    #7C7D40

    oklch(57.5% 0.083 109.6)

  • #7870A7

    #7870A7

    oklch(57.5% 0.084 290.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C7D40

    #7C7D40

    oklch(57.5% 0.083 109.6)

  • #93733C

    #93733C

    oklch(57.5% 0.083 79.4)

  • #5E8555

    #5E8555

    oklch(57.5% 0.084 139.8)

Open the analogous palette in the generator

Split complementary

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

  • #7C7D40

    #7C7D40

    oklch(57.5% 0.083 109.6)

  • #5B79AA

    #5B79AA

    oklch(57.4% 0.084 259.9)

  • #8E6998

    #8E6998

    oklch(57.5% 0.082 319)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C7D40

    #7C7D40

    oklch(57.5% 0.083 109.6)

  • #3D82A0

    #3D82A0

    oklch(57.5% 0.083 229.1)

  • #9E6480

    #9E6480

    oklch(57.5% 0.083 349.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C7D40

    #7C7D40

    oklch(57.5% 0.083 109.6)

  • #2D888C

    #2D888C

    oklch(57.6% 0.084 199.3)

  • #7870A7

    #7870A7

    oklch(57.5% 0.084 290.2)

  • #A46465

    #A46465

    oklch(57.4% 0.083 19)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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