#7E8D47

Closest named color: Camo (#7F8F4E). oklch(61.5% 0.096 119.3), rgb(126, 141, 71).

Aa

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

About this color

#7E8D47 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 62%, its chroma 0.096 and its hue 119°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.009 away. Black text reads best on it, at 5.78:1.

Hue familyYellows
Lightnessmedium-dark (62%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.78:1
White text3.62:1

Values

HEX#7E8D47
RGBrgb(126, 141, 71)
HSLhsl(73, 33%, 42%)
OKLCHoklch(61.5% 0.096 119.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 #7E8D47 3.62:1 AA large text Lc -69.3 Content text, not long reading
Black text on #7E8D47 5.78:1 AA Lc 40.2 Non-text elements, placeholder text
#7E8D47 text on white 3.62:1 AA large text Lc 63.8 Content text, not long reading
#7E8D47 text on black 5.78:1 AA Lc -37.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E8EBE1

    oklch(93.5% 0.014 120.3)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BDC5A4

    oklch(80.8% 0.046 118.5)

  5. Step 400

    400

    #9BA872

    oklch(70.8% 0.076 119.4)

  6. Step 500

    500 (this color)

    #7E8D47

    oklch(61.5% 0.096 119.3)

  7. Step 600

    600

    #6C7C2D

    oklch(55.6% 0.106 119.7)

  8. Step 700

    700

    #5B6820

    oklch(49.1% 0.097 118.9)

  9. Step 800

    800

    #4A551C

    oklch(42.7% 0.081 119.2)

  10. Step 900

    900

    #3E461D

    oklch(37.6% 0.063 118.7)

  11. Step 950

    950

    #242912

    oklch(26.9% 0.039 119.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E8D47 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)#9586410.036
Deuteranopia (no green cones)#93874B0.036
Tritanopia (no blue cones)#84877D0.081
Achromatopsia (no color)#8686860.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8D47

    #7E8D47

    oklch(61.5% 0.096 119.3)

  • #8D77B7

    #8D77B7

    oklch(61.5% 0.098 299.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8D47

    #7E8D47

    oklch(61.5% 0.096 119.3)

  • #9C8239

    #9C8239

    oklch(61.6% 0.097 89.6)

  • #599565

    #599565

    oklch(61.6% 0.096 149.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E8D47

    #7E8D47

    oklch(61.5% 0.096 119.3)

  • #6D82BF

    #6D82BF

    oklch(61.5% 0.096 269)

  • #A56FA1

    #A56FA1

    oklch(61.5% 0.097 329.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8D47

    #7E8D47

    oklch(61.5% 0.096 119.3)

  • #488CB8

    #488CB8

    oklch(61.4% 0.096 239.3)

  • #B46B83

    #B46B83

    oklch(61.5% 0.097 359.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8D47

    #7E8D47

    oklch(61.5% 0.096 119.3)

  • #2694A4

    #2694A4

    oklch(61.4% 0.097 209.5)

  • #8D77B7

    #8D77B7

    oklch(61.5% 0.098 299.3)

  • #B86E62

    #B86E62

    oklch(61.6% 0.097 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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