#7E8348

Closest named color: Drab (#828344). oklch(59.2% 0.081 112.8), rgb(126, 131, 72).

Aa

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

About this color

#7E8348 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 59%, its chroma 0.081 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Drab (#828344), ΔE 0.007 away. Black text reads best on it, at 5.22:1.

Hue familyYellows
Lightnessmedium-dark (59%)
Chromamoderately saturated (0.081)
Temperaturein between
Nearest nameDrab (#828344)
Black text5.22:1
White text4.01:1

Values

HEX#7E8348
RGBrgb(126, 131, 72)
HSLhsl(65, 29%, 40%)
OKLCHoklch(59.2% 0.081 112.8)

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 #7E8348 4.01:1 AA large text Lc -72.9 Content text, not long reading
Black text on #7E8348 5.22:1 AA Lc 36.7 Non-text elements, placeholder text
#7E8348 text on white 4.01:1 AA large text Lc 67.4 Content text, not long reading
#7E8348 text on black 5.22:1 AA Lc -34.2 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

    #EAEBE3

    oklch(93.7% 0.011 112.4)

  3. Step 200

    200

    #D9DBCC

    oklch(88.6% 0.02 113)

  4. Step 300

    300

    #C0C4A9

    oklch(81% 0.037 114.1)

  5. Step 400

    400

    #A0A57B

    oklch(70.7% 0.058 113.4)

  6. Step 500

    500

    #8A8F59

    oklch(63.3% 0.075 112.9)

  7. Step 600

    600 (this color)

    #7E8348

    oklch(59.2% 0.081 112.8)

  8. Step 700

    700

    #616530

    oklch(49.1% 0.075 112.7)

  9. Step 800

    800

    #4F5328

    oklch(42.8% 0.064 113.5)

  10. Step 900

    900

    #424425

    oklch(37.6% 0.048 111.7)

  11. Step 950

    950

    #262816

    oklch(26.9% 0.031 113.7)

Export this scale for Tailwind in the Tailwind colors tool

#7E8348 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)#8B7E430.022
Deuteranopia (no green cones)#8B804B0.022
Tritanopia (no blue cones)#857D750.072
Achromatopsia (no color)#7F7F7F0.082

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E8348

    #7E8348

    oklch(59.2% 0.081 112.8)

  • #7F75AA

    #7F75AA

    oklch(59.2% 0.08 292.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E8348

    #7E8348

    oklch(59.2% 0.081 112.8)

  • #957942

    #957942

    oklch(59.1% 0.081 82.9)

  • #618A5D

    #618A5D

    oklch(59.1% 0.081 142.3)

Open the analogous palette in the generator

Split complementary

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

  • #7E8348

    #7E8348

    oklch(59.2% 0.081 112.8)

  • #647EAF

    #647EAF

    oklch(59.3% 0.081 262.6)

  • #956D9A

    #956D9A

    oklch(59.1% 0.082 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E8348

    #7E8348

    oklch(59.2% 0.081 112.8)

  • #4786A6

    #4786A6

    oklch(59.1% 0.081 232.5)

  • #A46982

    #A46982

    oklch(59.2% 0.082 352.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E8348

    #7E8348

    oklch(59.2% 0.081 112.8)

  • #368C93

    #368C93

    oklch(59.2% 0.082 202.7)

  • #7F75AA

    #7F75AA

    oklch(59.2% 0.08 292.4)

  • #A96A67

    #A96A67

    oklch(59.2% 0.081 22.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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