#7E8028

Closest named color: Olive (#808000). oklch(58.1% 0.109 110.6), rgb(126, 128, 40).

Aa

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

About this color

#7E8028 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.109 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive (#808000), ΔE 0.018 away. Black text reads best on it, at 5.00:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.109)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.00:1
White text4.19:1

Values

HEX#7E8028
RGBrgb(126, 128, 40)
HSLhsl(61, 52%, 33%)
OKLCHoklch(58.1% 0.109 110.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 #7E8028 4.19:1 AA large text Lc -74.3 Content text, not long reading
Black text on #7E8028 5.00:1 AA Lc 35.2 Non-text elements, placeholder text
#7E8028 text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#7E8028 text on black 5.00:1 AA Lc -32.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C2C4A0

    oklch(80.9% 0.049 110.1)

  5. Step 400

    400

    #A3A56B

    oklch(70.6% 0.078 109.9)

  6. Step 500

    500

    #8C8F42

    oklch(63.1% 0.101 111)

  7. Step 600

    600 (this color)

    #7E8028

    oklch(58.1% 0.109 110.6)

  8. Step 700

    700

    #646510

    oklch(49% 0.101 110.3)

  9. Step 800

    800

    #515312

    oklch(42.7% 0.084 111.3)

  10. Step 900

    900

    #434517

    oklch(37.8% 0.066 111.5)

  11. Step 950

    950

    #27280F

    oklch(26.9% 0.041 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E8028 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)#8A7A1B0.022
Deuteranopia (no green cones)#8B7D2E0.023
Tritanopia (no blue cones)#87786E0.097
Achromatopsia (no color)#7C7C7C0.109

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #7B6EB6

    #7B6EB6

    oklch(58.1% 0.109 290.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #9C731E

    #9C731E

    oklch(58.2% 0.109 80.8)

  • #558A4B

    #558A4B

    oklch(58% 0.109 140.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #547ABB

    #547ABB

    oklch(58.1% 0.109 260.6)

  • #9764A2

    #9764A2

    oklch(58% 0.109 320.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #1C85AF

    #1C85AF

    oklch(58% 0.109 231.1)

  • #AA5E83

    #AA5E83

    oklch(58.1% 0.108 350.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8028

    #7E8028

    oklch(58.1% 0.109 110.6)

  • #008C92

    #008C92

    oklch(58.2% 0.099 200.1)

  • #7B6EB6

    #7B6EB6

    oklch(58.1% 0.109 290.9)

  • #B25E5F

    #B25E5F

    oklch(58.1% 0.109 20.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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