#7E9540

Closest named color: Drab Green (#749551). oklch(63.3% 0.115 122.4), rgb(126, 149, 64).

Aa

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

About this color

#7E9540 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 63%, its chroma 0.115 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab Green (#749551), ΔE 0.020 away. Black text reads best on it, at 6.26:1.

Hue familyYellows
Lightnessmedium-light (63%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameDrab Green (#749551)
Black text6.26:1
White text3.35:1

Values

HEX#7E9540
RGBrgb(126, 149, 64)
HSLhsl(76, 40%, 42%)
OKLCHoklch(63.3% 0.115 122.4)

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 #7E9540 3.35:1 AA large text Lc -66.4 Content text, not long reading
Black text on #7E9540 6.26:1 AA Lc 43.2 Non-text elements, placeholder text
#7E9540 text on white 3.35:1 AA large text Lc 60.9 Content text, not long reading
#7E9540 text on black 6.26:1 AA Lc -40.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 500.

  1. Step 50

    50

    #F4F6F1

    oklch(97% 0.007 124.4)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D5DDC6

    oklch(88.5% 0.032 122.7)

  4. Step 300

    300

    #BAC79F

    oklch(80.9% 0.056 122.3)

  5. Step 400

    400

    #97AA6A

    oklch(70.8% 0.09 122.2)

  6. Step 500

    500 (this color)

    #7E9540

    oklch(63.3% 0.115 122.4)

  7. Step 600

    600

    #677E1A

    oklch(55.6% 0.124 122.2)

  8. Step 700

    700

    #556A08

    oklch(49% 0.116 122.4)

  9. Step 800

    800

    #46570E

    oklch(42.8% 0.096 122.4)

  10. Step 900

    900

    #3B4815

    oklch(37.8% 0.075 122.3)

  11. Step 950

    950

    #222A0E

    oklch(27% 0.047 122.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E9540 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)#9D8D370.047
Deuteranopia (no green cones)#9A8C450.048
Tritanopia (no blue cones)#848E820.095
Achromatopsia (no color)#8C8C8C0.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E9540

    #7E9540

    oklch(63.3% 0.115 122.4)

  • #9878C4

    #9878C4

    oklch(63.3% 0.116 302.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E9540

    #7E9540

    oklch(63.3% 0.115 122.4)

  • #A38728

    #A38728

    oklch(63.3% 0.115 91.8)

  • #4D9E67

    #4D9E67

    oklch(63.3% 0.115 152.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E9540

    #7E9540

    oklch(63.3% 0.115 122.4)

  • #7285D0

    #7285D0

    oklch(63.4% 0.115 272)

  • #B36FA9

    #B36FA9

    oklch(63.4% 0.115 332.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E9540

    #7E9540

    oklch(63.3% 0.115 122.4)

  • #4291CA

    #4291CA

    oklch(63.2% 0.116 243)

  • #C36B84

    #C36B84

    oklch(63.4% 0.115 2.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E9540

    #7E9540

    oklch(63.3% 0.115 122.4)

  • #009BB1

    #009BB1

    oklch(63.3% 0.11 212.3)

  • #9878C4

    #9878C4

    oklch(63.3% 0.116 302.6)

  • #C66E5D

    #C66E5D

    oklch(63.4% 0.115 32)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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