#7E7F3E

Closest named color: Drab (#828344). oklch(58.1% 0.088 109.6), rgb(126, 127, 62).

Aa

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

About this color

#7E7F3E is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.088 and its hue 110°. Its hue sits on the warm side of the wheel. The nearest named color is Drab (#828344), ΔE 0.014 away. Black text reads best on it, at 4.99:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.088)
Temperaturewarm
Nearest nameDrab (#828344)
Black text4.99:1
White text4.20:1

Values

HEX#7E7F3E
RGBrgb(126, 127, 62)
HSLhsl(61, 34%, 37%)
OKLCHoklch(58.1% 0.088 109.6)

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 #7E7F3E 4.20:1 AA large text Lc -74.5 Content text, not long reading
Black text on #7E7F3E 4.99:1 AA Lc 35.1 Non-text elements, placeholder text
#7E7F3E text on white 4.20:1 AA large text Lc 69.0 Content text, not long reading
#7E7F3E text on black 4.99:1 AA Lc -32.7 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 600.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100

    #EAEBE2

    oklch(93.7% 0.012 111.8)

  3. Step 200

    200

    #DADBCA

    oklch(88.6% 0.023 109.6)

  4. Step 300

    300

    #C2C3A6

    oklch(80.9% 0.04 108.9)

  5. Step 400

    400

    #A3A477

    oklch(70.6% 0.062 109)

  6. Step 500

    500

    #8C8E53

    oklch(63.1% 0.081 110.2)

  7. Step 600

    600 (this color)

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  8. Step 700

    700

    #646429

    oklch(49% 0.081 109)

  9. Step 800

    800

    #515223

    oklch(42.6% 0.068 110.1)

  10. Step 900

    900

    #434422

    oklch(37.7% 0.052 110.1)

  11. Step 950

    950

    #272814

    oklch(27% 0.034 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E7F3E 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)#887A380.019
Deuteranopia (no green cones)#897D410.019
Tritanopia (no blue cones)#8678700.078
Achromatopsia (no color)#7B7B7B0.088

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7F3E

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  • #7972AB

    #7972AB

    oklch(58.1% 0.087 289)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7F3E

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  • #967439

    #967439

    oklch(58% 0.088 79.3)

  • #5F8755

    #5F8755

    oklch(58% 0.086 139.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E7F3E

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  • #5B7BAE

    #5B7BAE

    oklch(58% 0.087 259.5)

  • #91699B

    #91699B

    oklch(58% 0.088 319.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7F3E

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  • #3B84A4

    #3B84A4

    oklch(58.1% 0.087 229.7)

  • #A26582

    #A26582

    oklch(58.2% 0.087 350.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7F3E

    #7E7F3E

    oklch(58.1% 0.088 109.6)

  • #288A8F

    #288A8F

    oklch(58.1% 0.087 200.1)

  • #7972AB

    #7972AB

    oklch(58.1% 0.087 289)

  • #A86565

    #A86565

    oklch(58.1% 0.087 20)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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