#E4E173

Closest named color: Dull Yellow (#EEDC5B). oklch(89% 0.133 107.4), rgb(228, 225, 115).

Aa

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

About this color

#E4E173 is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.133 and its hue 107°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.022 away. Black text reads best on it, at 15.31:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.133)
Temperaturewarm
Nearest nameDull Yellow (#EEDC5B)
Black text15.31:1
White text1.37:1

Values

HEX#E4E173
RGBrgb(228, 225, 115)
HSLhsl(58, 68%, 67%)
OKLCHoklch(89% 0.133 107.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 #E4E173 1.37:1 Fails Lc -20.7 Dividers and decoration only
Black text on #E4E173 15.31:1 AAA Lc 85.6 Fine for body text
#E4E173 text on white 1.37:1 Fails Lc 18.1 Dividers and decoration only
#E4E173 text on black 15.31:1 AAA Lc -85.5 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDEDC7

    oklch(93.6% 0.05 107.3)

  3. Step 200

    200 (this color)

    #E4E173

    oklch(89% 0.133 107.4)

  4. Step 300

    300

    #CDC714

    oklch(80.9% 0.171 107.4)

  5. Step 400

    400

    #ABA600

    oklch(70.6% 0.152 107.6)

  6. Step 500

    500

    #938E00

    oklch(63.1% 0.135 107.2)

  7. Step 600

    600

    #7B7700

    oklch(55.5% 0.119 107.4)

  8. Step 700

    700

    #686400

    oklch(49.1% 0.105 107)

  9. Step 800

    800

    #555200

    oklch(42.8% 0.092 107.3)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#E4E173 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)#F1DA690.023
Deuteranopia (no green cones)#F3DE780.024
Tritanopia (no blue cones)#F2D5C80.120
Achromatopsia (no color)#DCDCDC0.133

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4E173

    #E4E173

    oklch(89% 0.133 107.4)

  • #D8D6FF

    #D8D6FF

    oklch(89.1% 0.056 287.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4E173

    #E4E173

    oklch(89% 0.133 107.4)

  • #FFD390

    #FFD390

    oklch(89% 0.098 77.5)

  • #B0EF98

    #B0EF98

    oklch(88.9% 0.132 137.4)

Open the analogous palette in the generator

Split complementary

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

  • #E4E173

    #E4E173

    oklch(89% 0.133 107.4)

  • #C5DDFF

    #C5DDFF

    oklch(89.1% 0.054 257.1)

  • #F2CAFF

    #F2CAFF

    oklch(89% 0.083 317.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4E173

    #E4E173

    oklch(89% 0.133 107.4)

  • #AAE5FF

    #AAE5FF

    oklch(89% 0.07 227)

  • #FFC8E3

    #FFC8E3

    oklch(88.9% 0.071 347.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4E173

    #E4E173

    oklch(89% 0.133 107.4)

  • #51F5F9

    #51F5F9

    oklch(88.9% 0.132 197.4)

  • #D8D6FF

    #D8D6FF

    oklch(89.1% 0.056 287.4)

  • #FFCCCD

    #FFCCCD

    oklch(89% 0.058 17)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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