#7E9940

Closest named color: Flat Green (#699D4C). oklch(64.3% 0.12 123.9), rgb(126, 153, 64).

Aa

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

About this color

#7E9940 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 64%, its chroma 0.120 and its hue 124°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Flat Green (#699D4C), ΔE 0.025 away. Black text reads best on it, at 6.51:1.

Hue familyYellows
Lightnessmedium-light (64%)
Chromamoderately saturated (0.120)
Temperaturein between
Nearest nameFlat Green (#699D4C)
Black text6.51:1
White text3.22:1

Values

HEX#7E9940
RGBrgb(126, 153, 64)
HSLhsl(78, 41%, 43%)
OKLCHoklch(64.3% 0.12 123.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 #7E9940 3.22:1 AA large text Lc -64.8 Content text, not long reading
Black text on #7E9940 6.51:1 AA Lc 44.7 Non-text elements, placeholder text
#7E9940 text on white 3.22:1 AA large text Lc 59.4 Large or bold text, headings
#7E9940 text on black 6.51:1 AA Lc -42.3 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

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC6

    oklch(88.4% 0.032 124.5)

  4. Step 300

    300

    #B9C89E

    oklch(81% 0.059 123.7)

  5. Step 400

    400

    #94AB68

    oklch(70.7% 0.095 124.2)

  6. Step 500

    500 (this color)

    #7E9940

    oklch(64.3% 0.12 123.9)

  7. Step 600

    600

    #647F13

    oklch(55.6% 0.13 123.7)

  8. Step 700

    700

    #536B00

    oklch(49% 0.121 123.6)

  9. Step 800

    800

    #445809

    oklch(42.8% 0.101 123.9)

  10. Step 900

    900

    #394813

    oklch(37.6% 0.078 123.7)

  11. Step 950

    950

    #212A0D

    oklch(26.8% 0.049 124.1)

Export this scale for Tailwind in the Tailwind colors tool

#7E9940 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)#A190370.052
Deuteranopia (no green cones)#9D8F460.053
Tritanopia (no blue cones)#8392860.099
Achromatopsia (no color)#8F8F8F0.121

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E9940

    #7E9940

    oklch(64.3% 0.12 123.9)

  • #9D79C8

    #9D79C8

    oklch(64.2% 0.121 304.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E9940

    #7E9940

    oklch(64.3% 0.12 123.9)

  • #A58B23

    #A58B23

    oklch(64.3% 0.12 94.1)

  • #49A26A

    #49A26A

    oklch(64.3% 0.12 153.6)

Open the analogous palette in the generator

Split complementary

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

  • #7E9940

    #7E9940

    oklch(64.3% 0.12 123.9)

  • #7686D6

    #7686D6

    oklch(64.2% 0.121 273.9)

  • #B970AB

    #B970AB

    oklch(64.4% 0.12 334.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E9940

    #7E9940

    oklch(64.3% 0.12 123.9)

  • #4394D0

    #4394D0

    oklch(64.3% 0.12 243.7)

  • #C96C85

    #C96C85

    oklch(64.4% 0.12 3.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E9940

    #7E9940

    oklch(64.3% 0.12 123.9)

  • #009EB7

    #009EB7

    oklch(64.3% 0.113 214.2)

  • #9D79C8

    #9D79C8

    oklch(64.2% 0.121 304.2)

  • #CB705B

    #CB705B

    oklch(64.3% 0.12 34)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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