#7EA402

Closest named color: Avocado Green (#87A922). oklch(66.6% 0.166 124.5), rgb(126, 164, 2).

Aa

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

About this color

#7EA402 is a medium-light, vivid yellow. In OKLCH its lightness is 67%, its chroma 0.166 and its hue 125°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Avocado Green (#87A922), ΔE 0.021 away. Black text reads best on it, at 7.19:1.

Hue familyYellows
Lightnessmedium-light (67%)
Chromavivid (0.166)
Temperaturein between
Nearest nameAvocado Green (#87A922)
Black text7.19:1
White text2.91:1

Values

HEX#7EA402
RGBrgb(126, 164, 2)
HSLhsl(74, 98%, 33%)
OKLCHoklch(66.6% 0.166 124.5)

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 #7EA402 2.91:1 Fails Lc -60.6 Content text, not long reading
Black text on #7EA402 7.19:1 AAA Lc 48.7 Large or bold text, headings
#7EA402 text on white 2.91:1 Fails Lc 55.3 Large or bold text, headings
#7EA402 text on black 7.19:1 AAA Lc -46.5 Large or bold text, headings

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

    #F4F7EF

    oklch(97.2% 0.011 123.5)

  2. Step 100

    100

    #E6EDDC

    oklch(93.6% 0.024 125.2)

  3. Step 200

    200

    #D2DFBF

    oklch(88.5% 0.045 125.3)

  4. Step 300

    300

    #B5CA90

    oklch(80.9% 0.081 124.4)

  5. Step 400

    400

    #8FAE4D

    oklch(70.7% 0.13 124.4)

  6. Step 500

    500 (this color)

    #7EA402

    oklch(66.6% 0.166 124.5)

  7. Step 600

    600

    #628000

    oklch(55.6% 0.139 124.4)

  8. Step 700

    700

    #526C00

    oklch(49.2% 0.123 124.5)

  9. Step 800

    800

    #425800

    oklch(42.6% 0.107 124.6)

  10. Step 900

    900

    #374900

    oklch(37.6% 0.094 124.1)

  11. Step 950

    950

    #1F2C00

    oklch(27.1% 0.068 125.1)

Export this scale for Tailwind in the Tailwind colors tool

#7EA402 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)#AE98000.073
Deuteranopia (no green cones)#A9971F0.072
Tritanopia (no blue cones)#859B8B0.137
Achromatopsia (no color)#9797970.166

Harmonies

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

Complementary

The opposite hue (180°).

  • #7EA402

    #7EA402

    oklch(66.6% 0.166 124.5)

  • #AB76E5

    #AB76E5

    oklch(66.6% 0.166 304.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7EA402

    #7EA402

    oklch(66.6% 0.166 124.5)

  • #AF9200

    #AF9200

    oklch(66.7% 0.137 94.8)

  • #01B064

    #01B064

    oklch(66.5% 0.165 154.7)

Open the analogous palette in the generator

Split complementary

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

  • #7EA402

    #7EA402

    oklch(66.6% 0.166 124.5)

  • #7788F8

    #7788F8

    oklch(66.6% 0.166 274.5)

  • #CF68BD

    #CF68BD

    oklch(66.6% 0.166 334.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7EA402

    #7EA402

    oklch(66.6% 0.166 124.5)

  • #009BF1

    #009BF1

    oklch(66.5% 0.166 244.5)

  • #E46187

    #E46187

    oklch(66.6% 0.166 4.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7EA402

    #7EA402

    oklch(66.6% 0.166 124.5)

  • #00A6C0

    #00A6C0

    oklch(66.7% 0.117 214.1)

  • #AB76E5

    #AB76E5

    oklch(66.6% 0.166 304.3)

  • #E76749

    #E76749

    oklch(66.6% 0.166 34.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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