#7E8D50

Closest named color: Camo (#7F8F4E). oklch(61.7% 0.086 120.3), rgb(126, 141, 80).

Aa

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

About this color

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

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

Values

HEX#7E8D50
RGBrgb(126, 141, 80)
HSLhsl(75, 28%, 43%)
OKLCHoklch(61.7% 0.086 120.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 #7E8D50 3.61:1 AA large text Lc -69.2 Content text, not long reading
Black text on #7E8D50 5.81:1 AA Lc 40.4 Non-text elements, placeholder text
#7E8D50 text on white 3.61:1 AA large text Lc 63.7 Content text, not long reading
#7E8D50 text on black 5.81:1 AA Lc -38.0 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

    #E8EBE2

    oklch(93.5% 0.012 121.7)

  3. Step 200

    200

    #D7DCCB

    oklch(88.6% 0.023 120.2)

  4. Step 300

    300

    #BDC5A7

    oklch(80.9% 0.042 119.5)

  5. Step 400

    400

    #9BA778

    oklch(70.7% 0.067 119.8)

  6. Step 500

    500 (this color)

    #7E8D50

    oklch(61.7% 0.086 120.3)

  7. Step 600

    600

    #6C7B38

    oklch(55.5% 0.094 120)

  8. Step 700

    700

    #5A682B

    oklch(49.1% 0.087 120.5)

  9. Step 800

    800

    #4A5524

    oklch(42.8% 0.073 120.1)

  10. Step 900

    900

    #3D4622

    oklch(37.6% 0.057 120.7)

  11. Step 950

    950

    #242915

    oklch(27% 0.035 120.3)

Export this scale for Tailwind in the Tailwind colors tool

#7E8D50 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)#94874B0.034
Deuteranopia (no green cones)#9287530.034
Tritanopia (no blue cones)#83877E0.072
Achromatopsia (no color)#8787870.087

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8D50

    #7E8D50

    oklch(61.7% 0.086 120.3)

  • #8D79B1

    #8D79B1

    oklch(61.6% 0.086 300.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8D50

    #7E8D50

    oklch(61.7% 0.086 120.3)

  • #998344

    #998344

    oklch(61.7% 0.087 90.5)

  • #5E946A

    #5E946A

    oklch(61.7% 0.086 150.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E8D50

    #7E8D50

    oklch(61.7% 0.086 120.3)

  • #7182BA

    #7182BA

    oklch(61.6% 0.088 270.7)

  • #A3729E

    #A3729E

    oklch(61.7% 0.087 330.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8D50

    #7E8D50

    oklch(61.7% 0.086 120.3)

  • #528CB4

    #528CB4

    oklch(61.7% 0.086 240.3)

  • #B06F83

    #B06F83

    oklch(61.7% 0.086 0)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8D50

    #7E8D50

    oklch(61.7% 0.086 120.3)

  • #3A93A2

    #3A93A2

    oklch(61.6% 0.086 210.5)

  • #8D79B1

    #8D79B1

    oklch(61.6% 0.086 300.3)

  • #B37166

    #B37166

    oklch(61.6% 0.086 30)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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