#E7D792

Closest named color: Vanilla (#E9D8A6). oklch(87.6% 0.09 96.7), rgb(231, 215, 146).

Aa

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

About this color

#E7D792 is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.090 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.024 away. Black text reads best on it, at 14.53:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.090)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.53:1
White text1.44:1

Values

HEX#E7D792
RGBrgb(231, 215, 146)
HSLhsl(49, 64%, 74%)
OKLCHoklch(87.6% 0.09 96.7)

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 #E7D792 1.44:1 Fails Lc -24.2 Dividers and decoration only
Black text on #E7D792 14.53:1 AAA Lc 82.5 Fine for body text
#E7D792 text on white 1.44:1 Fails Lc 21.2 Dividers and decoration only
#E7D792 text on black 14.53:1 AAA Lc -82.1 Fine for body 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 200.

  1. Step 50

    50

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #F0EAD2

    oklch(93.5% 0.032 95.4)

  3. Step 200

    200 (this color)

    #E7D792

    oklch(87.6% 0.09 96.7)

  4. Step 300

    300

    #D6C165

    oklch(81% 0.115 96.7)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#E7D792 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)#E4D38D0.012
Deuteranopia (no green cones)#E9D9940.006
Tritanopia (no blue cones)#F3CDC50.081
Achromatopsia (no color)#D7D7D70.090

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7D792

    #E7D792

    oklch(87.6% 0.09 96.7)

  • #CBD4FF

    #CBD4FF

    oklch(87.7% 0.06 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7D792

    #E7D792

    oklch(87.6% 0.09 96.7)

  • #FFCB97

    #FFCB97

    oklch(87.6% 0.089 66.2)

  • #C7E2A1

    #C7E2A1

    oklch(87.7% 0.09 126.5)

Open the analogous palette in the generator

Split complementary

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

  • #E7D792

    #E7D792

    oklch(87.6% 0.09 96.7)

  • #B5DBFF

    #B5DBFF

    oklch(87.6% 0.064 247.1)

  • #E3CAFF

    #E3CAFF

    oklch(87.7% 0.077 306.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7D792

    #E7D792

    oklch(87.6% 0.09 96.7)

  • #8FE6FD

    #8FE6FD

    oklch(87.8% 0.09 216.5)

  • #FDC0EC

    #FDC0EC

    oklch(87.6% 0.089 336.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7D792

    #E7D792

    oklch(87.6% 0.09 96.7)

  • #8EEAE0

    #8EEAE0

    oklch(87.7% 0.089 186.8)

  • #CBD4FF

    #CBD4FF

    oklch(87.7% 0.06 275.8)

  • #FFC4CF

    #FFC4CF

    oklch(87.6% 0.069 6.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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