#7C854D

Closest named color: Drab (#828344). oklch(59.6% 0.079 116.3), rgb(124, 133, 77).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-dark (60%)
Chromamoderately saturated (0.079)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.31:1
White text3.94:1

Values

HEX#7C854D
RGBrgb(124, 133, 77)
HSLhsl(70, 27%, 41%)
OKLCHoklch(59.6% 0.079 116.3)

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 #7C854D 3.94:1 AA large text Lc -72.3 Content text, not long reading
Black text on #7C854D 5.31:1 AA Lc 37.2 Non-text elements, placeholder text
#7C854D text on white 3.94:1 AA large text Lc 66.8 Content text, not long reading
#7C854D text on black 5.31:1 AA Lc -34.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 500.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #E9EBE3

    oklch(93.6% 0.011 118)

  3. Step 200

    200

    #D8DBCB

    oklch(88.5% 0.022 115.5)

  4. Step 300

    300

    #BFC4A8

    oklch(80.9% 0.039 115.5)

  5. Step 400

    400

    #9EA67A

    oklch(70.7% 0.062 116.4)

  6. Step 500

    500 (this color)

    #7C854D

    oklch(59.6% 0.079 116.3)

  7. Step 600

    600

    #707A3C

    oklch(55.7% 0.086 116.9)

  8. Step 700

    700

    #5E662E

    oklch(49% 0.079 116.1)

  9. Step 800

    800

    #4D5427

    oklch(42.8% 0.067 116.6)

  10. Step 900

    900

    #404524

    oklch(37.7% 0.052 116)

  11. Step 950

    950

    #252916

    oklch(27.1% 0.033 118.4)

Export this scale for Tailwind in the Tailwind colors tool

#7C854D 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)#8C80490.026
Deuteranopia (no green cones)#8B81500.026
Tritanopia (no blue cones)#827F770.068
Achromatopsia (no color)#8080800.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #7C854D

    #7C854D

    oklch(59.6% 0.079 116.3)

  • #8375A9

    #8375A9

    oklch(59.5% 0.079 296.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7C854D

    #7C854D

    oklch(59.6% 0.079 116.3)

  • #947C45

    #947C45

    oklch(59.7% 0.079 86.4)

  • #5F8C63

    #5F8C63

    oklch(59.6% 0.079 146.7)

Open the analogous palette in the generator

Split complementary

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

  • #7C854D

    #7C854D

    oklch(59.6% 0.079 116.3)

  • #697EAF

    #697EAF

    oklch(59.6% 0.079 266.2)

  • #986E98

    #986E98

    oklch(59.5% 0.08 326.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7C854D

    #7C854D

    oklch(59.6% 0.079 116.3)

  • #4E86A8

    #4E86A8

    oklch(59.5% 0.079 236.8)

  • #A56B80

    #A56B80

    oklch(59.6% 0.079 356.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7C854D

    #7C854D

    oklch(59.6% 0.079 116.3)

  • #3C8C96

    #3C8C96

    oklch(59.5% 0.079 206.5)

  • #8375A9

    #8375A9

    oklch(59.5% 0.079 296.3)

  • #A96C66

    #A96C66

    oklch(59.5% 0.079 25.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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