#E7D98F

Closest named color: Light Gold (#F3DE8A). oklch(88% 0.095 98.8), rgb(231, 217, 143).

Aa

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

About this color

#E7D98F is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.095 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Light Gold (#F3DE8A), ΔE 0.023 away. Black text reads best on it, at 14.71:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameLight Gold (#F3DE8A)
Black text14.71:1
White text1.42:1

Values

HEX#E7D98F
RGBrgb(231, 217, 143)
HSLhsl(50, 65%, 73%)
OKLCHoklch(88% 0.095 98.8)

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 #E7D98F 1.42:1 Fails Lc -23.3 Dividers and decoration only
Black text on #E7D98F 14.71:1 AAA Lc 83.2 Fine for body text
#E7D98F text on white 1.42:1 Fails Lc 20.5 Dividers and decoration only
#E7D98F text on black 14.71:1 AAA Lc -82.9 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

    #EFEBD0

    oklch(93.6% 0.036 100.1)

  3. Step 200

    200 (this color)

    #E7D98F

    oklch(88% 0.095 98.8)

  4. Step 300

    300

    #D4C25E

    oklch(80.9% 0.123 99.3)

  5. Step 400

    400

    #B8A100

    oklch(70.8% 0.147 99)

  6. Step 500

    500

    #9E8A00

    oklch(63.2% 0.131 99)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#E7D98F 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)#E7D58A0.010
Deuteranopia (no green cones)#EBDA920.007
Tritanopia (no blue cones)#F4CFC60.086
Achromatopsia (no color)#D8D8D80.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7D98F

    #E7D98F

    oklch(88% 0.095 98.8)

  • #CED4FF

    #CED4FF

    oklch(87.9% 0.06 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7D98F

    #E7D98F

    oklch(88% 0.095 98.8)

  • #FFCD97

    #FFCD97

    oklch(88% 0.09 68.4)

  • #C4E4A1

    #C4E4A1

    oklch(87.9% 0.095 128.9)

Open the analogous palette in the generator

Split complementary

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

  • #E7D98F

    #E7D98F

    oklch(88% 0.095 98.8)

  • #B9DCFF

    #B9DCFF

    oklch(88.1% 0.061 248.5)

  • #E6CAFF

    #E6CAFF

    oklch(87.9% 0.078 308.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7D98F

    #E7D98F

    oklch(88% 0.095 98.8)

  • #92E6FF

    #92E6FF

    oklch(88% 0.088 218.8)

  • #FFC2EB

    #FFC2EB

    oklch(88.1% 0.087 338.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7D98F

    #E7D98F

    oklch(88% 0.095 98.8)

  • #88ECE4

    #88ECE4

    oklch(88% 0.095 188.9)

  • #CED4FF

    #CED4FF

    oklch(87.9% 0.06 278.9)

  • #FFC6CE

    #FFC6CE

    oklch(87.9% 0.066 9.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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