#E9D78B

Closest named color: Sandy (#F1DA7A). oklch(87.7% 0.098 96.4), rgb(233, 215, 139).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.098)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.55:1
White text1.44:1

Values

HEX#E9D78B
RGBrgb(233, 215, 139)
HSLhsl(49, 68%, 73%)
OKLCHoklch(87.7% 0.098 96.4)

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 #E9D78B 1.44:1 Fails Lc -24.0 Dividers and decoration only
Black text on #E9D78B 14.55:1 AAA Lc 82.6 Fine for body text
#E9D78B text on white 1.44:1 Fails Lc 21.1 Dividers and decoration only
#E9D78B text on black 14.55:1 AAA Lc -82.2 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

    #F1EACF

    oklch(93.5% 0.036 95)

  3. Step 200

    200 (this color)

    #E9D78B

    oklch(87.7% 0.098 96.4)

  4. Step 300

    300

    #D8C059

    oklch(80.8% 0.126 96.3)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  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

#E9D78B 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)#E5D3850.013
Deuteranopia (no green cones)#EAD98E0.006
Tritanopia (no blue cones)#F6CCC40.090
Achromatopsia (no color)#D7D7D70.098

Harmonies

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

Complementary

The opposite hue (180°).

  • #E9D78B

    #E9D78B

    oklch(87.7% 0.098 96.4)

  • #CBD4FF

    #CBD4FF

    oklch(87.7% 0.06 275.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E9D78B

    #E9D78B

    oklch(87.7% 0.098 96.4)

  • #FFCB98

    #FFCB98

    oklch(87.6% 0.088 65.7)

  • #C6E39C

    #C6E39C

    oklch(87.8% 0.098 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #E9D78B

    #E9D78B

    oklch(87.7% 0.098 96.4)

  • #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.

  • #E9D78B

    #E9D78B

    oklch(87.7% 0.098 96.4)

  • #89E7FF

    #89E7FF

    oklch(87.8% 0.095 216.1)

  • #FFBFEE

    #FFBFEE

    oklch(87.7% 0.095 336.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E9D78B

    #E9D78B

    oklch(87.7% 0.098 96.4)

  • #85ECE1

    #85ECE1

    oklch(87.8% 0.098 186.7)

  • #CBD4FF

    #CBD4FF

    oklch(87.7% 0.06 275.8)

  • #FFC5CF

    #FFC5CF

    oklch(87.8% 0.067 7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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