#7E7612

Closest named color: Hazel (#8E7618). oklch(55.6% 0.112 104.5), rgb(126, 118, 18).

Aa

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

About this color

#7E7612 is a medium-dark, moderately saturated yellow. In OKLCH its lightness is 56%, its chroma 0.112 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Hazel (#8E7618), ΔE 0.027 away. White text reads best on it, at 4.67:1.

Hue familyYellows
Lightnessmedium-dark (56%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameHazel (#8E7618)
Black text4.48:1
White text4.67:1

Values

HEX#7E7612
RGBrgb(126, 118, 18)
HSLhsl(56, 75%, 28%)
OKLCHoklch(55.6% 0.112 104.5)

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 #7E7612 4.67:1 AA Lc -77.8 Fine for body text
Black text on #7E7612 4.48:1 AA large text Lc 31.7 Non-text elements, placeholder text
#7E7612 text on white 4.67:1 AA Lc 72.4 Content text, not long reading
#7E7612 text on black 4.48:1 AA large text Lc -29.3 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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEBE0

    oklch(93.7% 0.015 106.7)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C5C39E

    oklch(80.9% 0.05 104.9)

  5. Step 400

    400

    #A8A467

    oklch(70.8% 0.082 105.1)

  6. Step 500

    500

    #938D3C

    oklch(63.2% 0.103 105)

  7. Step 600

    600 (this color)

    #7E7612

    oklch(55.6% 0.112 104.5)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575109

    oklch(42.8% 0.086 104.3)

  10. Step 900

    900

    #474313

    oklch(37.6% 0.067 104.5)

  11. Step 950

    950

    #2A270D

    oklch(26.9% 0.042 102.8)

Export this scale for Tailwind in the Tailwind colors tool

#7E7612 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)#8172000.011
Deuteranopia (no green cones)#84761B0.012
Tritanopia (no blue cones)#886D640.102
Achromatopsia (no color)#7474740.112

Harmonies

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

Complementary

The opposite hue (180°).

  • #7E7612

    #7E7612

    oklch(55.6% 0.112 104.5)

  • #6D69B2

    #6D69B2

    oklch(55.7% 0.111 284.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #7E7612

    #7E7612

    oklch(55.6% 0.112 104.5)

  • #996811

    #996811

    oklch(55.6% 0.112 74.8)

  • #56813A

    #56813A

    oklch(55.5% 0.112 134.5)

Open the analogous palette in the generator

Split complementary

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

  • #7E7612

    #7E7612

    oklch(55.6% 0.112 104.5)

  • #4275B3

    #4275B3

    oklch(55.6% 0.112 254.4)

  • #8B5EA0

    #8B5EA0

    oklch(55.6% 0.111 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #7E7612

    #7E7612

    oklch(55.6% 0.112 104.5)

  • #007FA1

    #007FA1

    oklch(55.5% 0.105 225)

  • #A05683

    #A05683

    oklch(55.5% 0.113 344.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #7E7612

    #7E7612

    oklch(55.6% 0.112 104.5)

  • #008484

    #008484

    oklch(55.5% 0.095 194.8)

  • #6D69B2

    #6D69B2

    oklch(55.7% 0.111 284.7)

  • #AA555F

    #AA555F

    oklch(55.5% 0.112 14)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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