#7E802C

Closest named color: Olive (#808000). oklch(58.1% 0.106 110.6), rgb(126, 128, 44).

Aa

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

About this color

#7E802C is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 58%, its chroma 0.106 and its hue 111°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Olive (#808000), ΔE 0.021 away. Black text reads best on it, at 5.01:1.

Hue familyYellows
Lightnessmedium-dark (58%)
Chromamoderately saturated (0.106)
Temperaturein between
Nearest nameOlive (#808000)
Black text5.01:1
White text4.19:1

Values

HEX#7E802C
RGBrgb(126, 128, 44)
HSLhsl(61, 49%, 34%)
OKLCHoklch(58.1% 0.106 110.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 #7E802C 4.19:1 AA large text Lc -74.3 Content text, not long reading
Black text on #7E802C 5.01:1 AA Lc 35.3 Non-text elements, placeholder text
#7E802C text on white 4.19:1 AA large text Lc 68.8 Content text, not long reading
#7E802C text on black 5.01:1 AA Lc -32.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 600.

  1. Step 50

    50

    #F5F6F1

    oklch(97.1% 0.007 115.7)

  2. Step 100

    100

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #D9DBC7

    oklch(88.4% 0.027 111.6)

  4. Step 300

    300

    #C2C4A1

    oklch(81% 0.047 110.1)

  5. Step 400

    400

    #A3A56D

    oklch(70.7% 0.076 109.9)

  6. Step 500

    500

    #8C8F45

    oklch(63.1% 0.097 111)

  7. Step 600

    600 (this color)

    #7E802C

    oklch(58.1% 0.106 110.6)

  8. Step 700

    700

    #646515

    oklch(49.1% 0.098 110.3)

  9. Step 800

    800

    #515315

    oklch(42.7% 0.082 111.2)

  10. Step 900

    900

    #434519

    oklch(37.8% 0.064 111.5)

  11. Step 950

    950

    #272810

    oklch(26.9% 0.04 110.9)

Export this scale for Tailwind in the Tailwind colors tool

#7E802C 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)#8A7A210.022
Deuteranopia (no green cones)#8B7D310.023
Tritanopia (no blue cones)#87786F0.096
Achromatopsia (no color)#7C7C7C0.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E802C

    #7E802C

    oklch(58.1% 0.106 110.6)

  • #7B6FB5

    #7B6FB5

    oklch(58.2% 0.106 290.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E802C

    #7E802C

    oklch(58.1% 0.106 110.6)

  • #9B7323

    #9B7323

    oklch(58.1% 0.106 80.6)

  • #568A4D

    #568A4D

    oklch(58.1% 0.106 140.8)

Open the analogous palette in the generator

Split complementary

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

  • #7E802C

    #7E802C

    oklch(58.1% 0.106 110.6)

  • #567AB9

    #567AB9

    oklch(58.1% 0.106 261)

  • #9765A1

    #9765A1

    oklch(58.2% 0.106 320.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E802C

    #7E802C

    oklch(58.1% 0.106 110.6)

  • #2285AD

    #2285AD

    oklch(58% 0.106 230.5)

  • #A95F83

    #A95F83

    oklch(58.1% 0.106 350.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E802C

    #7E802C

    oklch(58.1% 0.106 110.6)

  • #008C92

    #008C92

    oklch(58.2% 0.099 200.1)

  • #7B6FB5

    #7B6FB5

    oklch(58.2% 0.106 290.6)

  • #B15F60

    #B15F60

    oklch(58.1% 0.106 20.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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