#E7DFA2

Closest named color: Vanilla (#E9D8A6). oklch(89.6% 0.079 101.5), rgb(231, 223, 162).

Aa

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

About this color

#E7DFA2 is a light, moderately saturated yellow. In OKLCH its lightness is 90%, its chroma 0.079 and its hue 102°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.021 away. Black text reads best on it, at 15.47:1.

Hue familyYellows
Lightnesslight (90%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text15.47:1
White text1.35:1

Values

HEX#E7DFA2
RGBrgb(231, 223, 162)
HSLhsl(53, 59%, 77%)
OKLCHoklch(89.6% 0.079 101.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 #E7DFA2 1.35:1 Fails Lc -20.0 Dividers and decoration only
Black text on #E7DFA2 15.47:1 AAA Lc 86.2 Fine for body text
#E7DFA2 text on white 1.35:1 Fails Lc 17.5 Dividers and decoration only
#E7DFA2 text on black 15.47:1 AAA Lc -86.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

    #F7F6EC

    oklch(97.1% 0.013 102)

  2. Step 100

    100

    #EEEBD5

    oklch(93.7% 0.029 100.6)

  3. Step 200

    200 (this color)

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  4. Step 300

    300

    #CEC373

    oklch(80.9% 0.102 101.5)

  5. Step 400

    400

    #B4A200

    oklch(70.6% 0.147 101.4)

  6. Step 500

    500

    #9A8B00

    oklch(63% 0.132 101.8)

  7. Step 600

    600

    #827500

    oklch(55.7% 0.116 101.7)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4200

    oklch(37.6% 0.079 101.6)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#E7DFA2 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)#EADB9E0.010
Deuteranopia (no green cones)#EDDFA40.009
Tritanopia (no blue cones)#F1D7CF0.071
Achromatopsia (no color)#DDDDDD0.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7DFA2

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  • #D6D9FF

    #D6D9FF

    oklch(89.5% 0.052 281.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7DFA2

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  • #FED5A3

    #FED5A3

    oklch(89.6% 0.079 72.1)

  • #CAE8B2

    #CAE8B2

    oklch(89.5% 0.078 131.5)

Open the analogous palette in the generator

Split complementary

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

  • #E7DFA2

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  • #C4E0FF

    #C4E0FF

    oklch(89.6% 0.052 251.1)

  • #ECD0FF

    #ECD0FF

    oklch(89.6% 0.07 311.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7DFA2

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  • #A7E8FF

    #A7E8FF

    oklch(89.5% 0.072 221.9)

  • #FFCAEA

    #FFCAEA

    oklch(89.5% 0.072 341.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7DFA2

    #E7DFA2

    oklch(89.6% 0.079 101.5)

  • #9DEEE9

    #9DEEE9

    oklch(89.6% 0.079 190.9)

  • #D6D9FF

    #D6D9FF

    oklch(89.5% 0.052 281.7)

  • #FFCED3

    #FFCED3

    oklch(89.5% 0.056 11.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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