#E8D98A

Closest named color: Sandy (#F1DA7A). oklch(88% 0.101 98.8), rgb(232, 217, 138).

Aa

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

About this color

#E8D98A is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.101 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.021 away. Black text reads best on it, at 14.72:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.101)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.72:1
White text1.42:1

Values

HEX#E8D98A
RGBrgb(232, 217, 138)
HSLhsl(50, 67%, 73%)
OKLCHoklch(88% 0.101 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 #E8D98A 1.42:1 Fails Lc -23.3 Dividers and decoration only
Black text on #E8D98A 14.72:1 AAA Lc 83.3 Fine for body text
#E8D98A text on white 1.42:1 Fails Lc 20.4 Dividers and decoration only
#E8D98A text on black 14.72: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

    #F8F6E9

    oklch(97.1% 0.017 99.6)

  2. Step 100

    100

    #F0EBCF

    oklch(93.7% 0.037 98.7)

  3. Step 200

    200 (this color)

    #E8D98A

    oklch(88% 0.101 98.8)

  4. Step 300

    300

    #D6C256

    oklch(81% 0.13 98.9)

  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

#E8D98A 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)#E7D5840.011
Deuteranopia (no green cones)#ECDA8D0.007
Tritanopia (no blue cones)#F5CEC50.092
Achromatopsia (no color)#D8D8D80.101

Harmonies

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

Complementary

The opposite hue (180°).

  • #E8D98A

    #E8D98A

    oklch(88% 0.101 98.8)

  • #CED4FF

    #CED4FF

    oklch(87.9% 0.06 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E8D98A

    #E8D98A

    oklch(88% 0.101 98.8)

  • #FFCD97

    #FFCD97

    oklch(88% 0.09 68.4)

  • #C3E59D

    #C3E59D

    oklch(88% 0.101 128.8)

Open the analogous palette in the generator

Split complementary

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

  • #E8D98A

    #E8D98A

    oklch(88% 0.101 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.

  • #E8D98A

    #E8D98A

    oklch(88% 0.101 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.

  • #E8D98A

    #E8D98A

    oklch(88% 0.101 98.8)

  • #82EDE5

    #82EDE5

    oklch(88% 0.1 189.2)

  • #CED4FF

    #CED4FF

    oklch(87.9% 0.06 278.9)

  • #FFC6CF

    #FFC6CF

    oklch(88% 0.066 7.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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