#7E7804

Closest named color: Olive (#808000). oklch(56% 0.118 106.1), rgb(126, 120, 4).

Aa

White text reads best on this color (4.58:1).

About this color

#7E7804 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.118 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Olive (#808000), ΔE 0.023 away. White text reads best on it, at 4.58:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameOlive (#808000)
Black text4.57:1
White text4.58:1

Values

HEX#7E7804
RGBrgb(126, 120, 4)
HSLhsl(57, 94%, 25%)
OKLCHoklch(56% 0.118 106.1)

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 #7E7804 4.58:1 AA Lc -77.2 Fine for body text
Black text on #7E7804 4.57:1 AA Lc 32.4 Non-text elements, placeholder text
#7E7804 text on white 4.58:1 AA Lc 71.7 Content text, not long reading
#7E7804 text on black 4.57:1 AA Lc -30.0 Dividers and decoration only

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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDF

    oklch(93.7% 0.016 106.7)

  3. Step 200

    200

    #DBDBC5

    oklch(88.6% 0.029 107)

  4. Step 300

    300

    #C5C39C

    oklch(80.9% 0.053 105.1)

  5. Step 400

    400

    #A7A464

    oklch(70.6% 0.085 106.1)

  6. Step 500

    500

    #928D36

    oklch(63% 0.109 106)

  7. Step 600

    600 (this color)

    #7E7804

    oklch(56% 0.118 106.1)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #47440F

    oklch(37.8% 0.071 106.1)

  11. Step 950

    950

    #29280B

    oklch(27.1% 0.045 107.2)

Export this scale for Tailwind in the Tailwind colors tool

#7E7804 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)#8473000.016
Deuteranopia (no green cones)#8677140.016
Tritanopia (no blue cones)#886F650.107
Achromatopsia (no color)#7575750.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7804

    #7E7804

    oklch(56% 0.118 106.1)

  • #7068B6

    #7068B6

    oklch(56% 0.119 286.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7804

    #7E7804

    oklch(56% 0.118 106.1)

  • #9B6900

    #9B6900

    oklch(55.9% 0.117 76.1)

  • #538439

    #538439

    oklch(56.1% 0.119 136)

Open the analogous palette in the generator

Split complementary

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

  • #7E7804

    #7E7804

    oklch(56% 0.118 106.1)

  • #4375B9

    #4375B9

    oklch(56% 0.119 256.6)

  • #8F5DA3

    #8F5DA3

    oklch(56% 0.118 315.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7804

    #7E7804

    oklch(56% 0.118 106.1)

  • #0080A4

    #0080A4

    oklch(55.9% 0.107 226.2)

  • #A55583

    #A55583

    oklch(56% 0.119 346.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7804

    #7E7804

    oklch(56% 0.118 106.1)

  • #008587

    #008587

    oklch(55.9% 0.095 196.6)

  • #7068B6

    #7068B6

    oklch(56% 0.119 286.6)

  • #AF545C

    #AF545C

    oklch(56% 0.119 16.2)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #7E7804.

Similar named colors

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

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