#7E8D34

Closest named color: Camo (#7F8F4E). oklch(61.3% 0.115 118), rgb(126, 141, 52).

Aa

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

About this color

#7E8D34 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 61%, its chroma 0.115 and its hue 118°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Camo (#7F8F4E), ΔE 0.026 away. Black text reads best on it, at 5.74:1.

Hue familyYellows
Lightnessmedium-dark (61%)
Chromamoderately saturated (0.115)
Temperaturein between
Nearest nameCamo (#7F8F4E)
Black text5.74:1
White text3.65:1

Values

HEX#7E8D34
RGBrgb(126, 141, 52)
HSLhsl(70, 46%, 38%)
OKLCHoklch(61.3% 0.115 118)

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 #7E8D34 3.65:1 AA large text Lc -69.5 Content text, not long reading
Black text on #7E8D34 5.74:1 AA Lc 40.0 Non-text elements, placeholder text
#7E8D34 text on white 3.65:1 AA large text Lc 64.1 Content text, not long reading
#7E8D34 text on black 5.74:1 AA Lc -37.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

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #E9EBDF

    oklch(93.5% 0.016 114.4)

  3. Step 200

    200

    #D7DCC5

    oklch(88.4% 0.031 117)

  4. Step 300

    300

    #BDC69D

    oklch(80.9% 0.056 117.7)

  5. Step 400

    400

    #9BA867

    oklch(70.6% 0.089 118)

  6. Step 500

    500 (this color)

    #7E8D34

    oklch(61.3% 0.115 118)

  7. Step 600

    600

    #6D7C0E

    oklch(55.5% 0.125 118)

  8. Step 700

    700

    #5B6900

    oklch(49.2% 0.115 118.5)

  9. Step 800

    800

    #4B5506

    oklch(42.6% 0.095 117.4)

  10. Step 900

    900

    #3E4712

    oklch(37.8% 0.075 118.5)

  11. Step 950

    950

    #24290C

    oklch(26.8% 0.047 117.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E8D34 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)#9686290.037
Deuteranopia (no green cones)#94863A0.039
Tritanopia (no blue cones)#85867A0.098
Achromatopsia (no color)#8686860.115

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8D34

    #7E8D34

    oklch(61.3% 0.115 118)

  • #8D74C0

    #8D74C0

    oklch(61.4% 0.115 298.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8D34

    #7E8D34

    oklch(61.3% 0.115 118)

  • #A17F1F

    #A17F1F

    oklch(61.3% 0.115 87.7)

  • #4F975B

    #4F975B

    oklch(61.4% 0.116 147.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E8D34

    #7E8D34

    oklch(61.3% 0.115 118)

  • #6680C9

    #6680C9

    oklch(61.2% 0.115 268)

  • #A96AA7

    #A96AA7

    oklch(61.3% 0.115 328)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8D34

    #7E8D34

    oklch(61.3% 0.115 118)

  • #328DC1

    #328DC1

    oklch(61.3% 0.115 238.2)

  • #BA6584

    #BA6584

    oklch(61.3% 0.114 357.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8D34

    #7E8D34

    oklch(61.3% 0.115 118)

  • #0095A5

    #0095A5

    oklch(61.3% 0.105 208.1)

  • #8D74C0

    #8D74C0

    oklch(61.4% 0.115 298.1)

  • #BF675C

    #BF675C

    oklch(61.2% 0.115 28.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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