#7E9F2E

Closest named color: Pea Soup (#929901). oklch(65.6% 0.143 124.5), rgb(126, 159, 46).

Aa

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

About this color

#7E9F2E is a medium-light, vivid yellow. In OKLCH its lightness is 66%, its chroma 0.143 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Pea Soup (#929901), ΔE 0.029 away. Black text reads best on it, at 6.88:1.

Hue familyYellows
Lightnessmedium-light (66%)
Chromavivid (0.143)
Temperaturein between
Nearest namePea Soup (#929901)
Black text6.88:1
White text3.04:1

Values

HEX#7E9F2E
RGBrgb(126, 159, 46)
HSLhsl(78, 55%, 40%)
OKLCHoklch(65.6% 0.143 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 #7E9F2E 3.04:1 AA large text Lc -62.6 Content text, not long reading
Black text on #7E9F2E 6.88:1 AA Lc 46.9 Large or bold text, headings
#7E9F2E text on white 3.04:1 AA large text Lc 57.2 Large or bold text, headings
#7E9F2E text on black 6.88:1 AA Lc -44.6 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

    #F4F7F0

    oklch(97.2% 0.01 125.7)

  2. Step 100

    100

    #E7ECDE

    oklch(93.5% 0.019 122.8)

  3. Step 200

    200

    #D3DEC2

    oklch(88.5% 0.039 124.7)

  4. Step 300

    300

    #B7C997

    oklch(80.9% 0.07 124)

  5. Step 400

    400

    #91AD5C

    oklch(70.8% 0.112 124.8)

  6. Step 500

    500 (this color)

    #7E9F2E

    oklch(65.6% 0.143 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

    #374901

    oklch(37.6% 0.093 124.2)

  11. Step 950

    950

    #202B06

    oklch(27% 0.059 124.6)

Export this scale for Tailwind in the Tailwind colors tool

#7E9F2E 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)#A8951B0.061
Deuteranopia (no green cones)#A493380.065
Tritanopia (no blue cones)#8497890.118
Achromatopsia (no color)#9494940.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E9F2E

    #7E9F2E

    oklch(65.6% 0.143 124.5)

  • #A578D7

    #A578D7

    oklch(65.6% 0.144 304.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E9F2E

    #7E9F2E

    oklch(65.6% 0.143 124.5)

  • #AB8F00

    #AB8F00

    oklch(65.6% 0.135 95)

  • #34AA68

    #34AA68

    oklch(65.7% 0.143 154.4)

Open the analogous palette in the generator

Split complementary

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

  • #7E9F2E

    #7E9F2E

    oklch(65.6% 0.143 124.5)

  • #7788E7

    #7788E7

    oklch(65.6% 0.142 274.2)

  • #C56CB4

    #C56CB4

    oklch(65.6% 0.144 334.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E9F2E

    #7E9F2E

    oklch(65.6% 0.143 124.5)

  • #3198E1

    #3198E1

    oklch(65.6% 0.142 244.4)

  • #D76786

    #D76786

    oklch(65.6% 0.144 4.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E9F2E

    #7E9F2E

    oklch(65.6% 0.143 124.5)

  • #00A2BC

    #00A2BC

    oklch(65.5% 0.115 214.5)

  • #A578D7

    #A578D7

    oklch(65.6% 0.144 304.6)

  • #D96C53

    #D96C53

    oklch(65.4% 0.142 34.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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