#7E8000

Closest named color: Olive (#808000). oklch(57.9% 0.127 110.9), rgb(126, 128, 0).

Aa

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

About this color

#7E8000 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.127 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.003 away. Black text reads best on it, at 4.97:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.127)
Temperaturein between
Nearest nameOlive (#808000)
Black text4.97:1
White text4.22:1

Values

HEX#7E8000
RGBrgb(126, 128, 0)
HSLhsl(61, 100%, 25%)
OKLCHoklch(57.9% 0.127 110.9)

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 #7E8000 4.22:1 AA large text Lc -74.5 Content text, not long reading
Black text on #7E8000 4.97:1 AA Lc 35.1 Non-text elements, placeholder text
#7E8000 text on white 4.22:1 AA large text Lc 69.0 Content text, not long reading
#7E8000 text on black 4.97:1 AA Lc -32.7 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #EAEBDF

    oklch(93.6% 0.016 110.6)

  3. Step 200

    200

    #DADBC4

    oklch(88.4% 0.031 109)

  4. Step 300

    300

    #C2C59A

    oklch(81% 0.058 110.9)

  5. Step 400

    400

    #A3A661

    oklch(70.7% 0.091 110.7)

  6. Step 500

    500

    #8D9030

    oklch(63.2% 0.117 111.1)

  7. Step 600

    600 (this color)

    #7E8000

    oklch(57.9% 0.127 110.9)

  8. Step 700

    700

    #646600

    oklch(49.2% 0.108 111.1)

  9. Step 800

    800

    #525300

    oklch(42.7% 0.094 110.6)

  10. Step 900

    900

    #44450A

    oklch(37.8% 0.076 110.6)

  11. Step 950

    950

    #282809

    oklch(26.9% 0.048 109.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E8000 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)#8B7A000.026
Deuteranopia (no green cones)#8C7D140.026
Tritanopia (no blue cones)#88776C0.114
Achromatopsia (no color)#7B7B7B0.127

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

  • #7B6ABF

    #7B6ABF

    oklch(57.8% 0.128 291)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

  • #9E7100

    #9E7100

    oklch(57.9% 0.12 80.8)

  • #4C8C41

    #4C8C41

    oklch(57.9% 0.127 140.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

  • #4D78C5

    #4D78C5

    oklch(57.8% 0.128 261.2)

  • #9B5FA7

    #9B5FA7

    oklch(57.9% 0.126 320.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

  • #0085B2

    #0085B2

    oklch(57.8% 0.117 231.1)

  • #B15783

    #B15783

    oklch(57.9% 0.127 351.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8000

    #7E8000

    oklch(57.9% 0.127 110.9)

  • #008B92

    #008B92

    oklch(57.9% 0.098 201.1)

  • #7B6ABF

    #7B6ABF

    oklch(57.8% 0.128 291)

  • #B95759

    #B95759

    oklch(57.8% 0.127 20.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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