#7E8D56

Closest named color: Camo (#7F8F4E). oklch(61.8% 0.079 121.2), rgb(126, 141, 86).

Aa

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

About this color

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

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

Values

HEX#7E8D56
RGBrgb(126, 141, 86)
HSLhsl(76, 24%, 45%)
OKLCHoklch(61.8% 0.079 121.2)

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 #7E8D56 3.60:1 AA large text Lc -69.1 Content text, not long reading
Black text on #7E8D56 5.83:1 AA Lc 40.5 Non-text elements, placeholder text
#7E8D56 text on white 3.60:1 AA large text Lc 63.6 Content text, not long reading
#7E8D56 text on black 5.83:1 AA Lc -38.1 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

    #E8EBE3

    oklch(93.6% 0.011 123.5)

  3. Step 200

    200

    #D7DCCC

    oklch(88.6% 0.022 121)

  4. Step 300

    300

    #BCC5A9

    oklch(80.9% 0.04 121.8)

  5. Step 400

    400

    #9AA77C

    oklch(70.7% 0.062 121.6)

  6. Step 500

    500 (this color)

    #7E8D56

    oklch(61.8% 0.079 121.2)

  7. Step 600

    600

    #6C7B3F

    oklch(55.6% 0.086 120.8)

  8. Step 700

    700

    #5A6831

    oklch(49.2% 0.081 121.2)

  9. Step 800

    800

    #495529

    oklch(42.8% 0.068 121.9)

  10. Step 900

    900

    #3D4626

    oklch(37.7% 0.052 121.7)

  11. Step 950

    950

    #242917

    oklch(27% 0.032 121.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E8D56 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)#9387520.033
Deuteranopia (no green cones)#9187590.033
Tritanopia (no blue cones)#82887F0.065
Achromatopsia (no color)#8787870.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8D56

    #7E8D56

    oklch(61.8% 0.079 121.2)

  • #8E7AAE

    #8E7AAE

    oklch(61.7% 0.08 301.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8D56

    #7E8D56

    oklch(61.8% 0.079 121.2)

  • #97844B

    #97844B

    oklch(61.8% 0.08 91.5)

  • #61936D

    #61936D

    oklch(61.7% 0.079 151.1)

Open the analogous palette in the generator

Split complementary

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

  • #7E8D56

    #7E8D56

    oklch(61.8% 0.079 121.2)

  • #7483B6

    #7483B6

    oklch(61.8% 0.079 271.3)

  • #A1749B

    #A1749B

    oklch(61.7% 0.078 331.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8D56

    #7E8D56

    oklch(61.8% 0.079 121.2)

  • #588CB1

    #588CB1

    oklch(61.8% 0.079 240.7)

  • #AD7182

    #AD7182

    oklch(61.7% 0.079 1.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8D56

    #7E8D56

    oklch(61.8% 0.079 121.2)

  • #4492A1

    #4492A1

    oklch(61.7% 0.079 212)

  • #8E7AAE

    #8E7AAE

    oklch(61.7% 0.08 301.7)

  • #B07368

    #B07368

    oklch(61.7% 0.08 30.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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