#7E8D22

Closest named color: Dark Yellow Green (#728F02). oklch(61.1% 0.128 117.4), rgb(126, 141, 34).

Aa

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

About this color

#7E8D22 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.128 and its hue 117°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Yellow Green (#728F02), ΔE 0.024 away. Black text reads best on it, at 5.72:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.128)
Temperaturein between
Nearest nameDark Yellow Green (#728F02)
Black text5.72:1
White text3.67:1

Values

HEX#7E8D22
RGBrgb(126, 141, 34)
HSLhsl(68, 61%, 34%)
OKLCHoklch(61.1% 0.128 117.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 #7E8D22 3.67:1 AA large text Lc -69.7 Content text, not long reading
Black text on #7E8D22 5.72:1 AA Lc 39.9 Non-text elements, placeholder text
#7E8D22 text on white 3.67:1 AA large text Lc 64.2 Content text, not long reading
#7E8D22 text on black 5.72:1 AA Lc -37.5 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

    #F5F6F0

    oklch(97.1% 0.008 114.2)

  2. Step 100

    100

    #E9ECDE

    oklch(93.7% 0.019 116.6)

  3. Step 200

    200

    #D7DDC3

    oklch(88.6% 0.035 117.7)

  4. Step 300

    300

    #BDC799

    oklch(81% 0.063 117.8)

  5. Step 400

    400

    #9CA95E

    oklch(70.7% 0.1 117.1)

  6. Step 500

    500 (this color)

    #7E8D22

    oklch(61.1% 0.128 117.4)

  7. Step 600

    600

    #6E7C00

    oklch(55.5% 0.128 117.3)

  8. Step 700

    700

    #5C6800

    oklch(49% 0.113 117.4)

  9. Step 800

    800

    #4B5500

    oklch(42.6% 0.098 117.3)

  10. Step 900

    900

    #3E4705

    oklch(37.7% 0.084 117.8)

  11. Step 950

    950

    #242A08

    oklch(27.1% 0.053 118.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E8D22 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)#97850B0.040
Deuteranopia (no green cones)#95862B0.041
Tritanopia (no blue cones)#8685790.111
Achromatopsia (no color)#8585850.128

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8D22

    #7E8D22

    oklch(61.1% 0.128 117.4)

  • #8D71C6

    #8D71C6

    oklch(61.1% 0.128 297.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8D22

    #7E8D22

    oklch(61.1% 0.128 117.4)

  • #A37E00

    #A37E00

    oklch(61.2% 0.125 87.9)

  • #479854

    #479854

    oklch(61.2% 0.129 147.2)

Open the analogous palette in the generator

Split complementary

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

  • #7E8D22

    #7E8D22

    oklch(61.1% 0.128 117.4)

  • #627FD0

    #627FD0

    oklch(61.1% 0.128 267.7)

  • #AC66AB

    #AC66AB

    oklch(61.2% 0.128 327.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8D22

    #7E8D22

    oklch(61.1% 0.128 117.4)

  • #188DC6

    #188DC6

    oklch(61.1% 0.128 237.3)

  • #BF6084

    #BF6084

    oklch(61.2% 0.128 357.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8D22

    #7E8D22

    oklch(61.1% 0.128 117.4)

  • #0095A4

    #0095A4

    oklch(61.2% 0.105 207.3)

  • #8D71C6

    #8D71C6

    oklch(61.1% 0.128 297.7)

  • #C56258

    #C56258

    oklch(61.2% 0.128 27.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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