#E4D962

Closest named color: Dull Yellow (#EEDC5B). oklch(87.1% 0.14 104), rgb(228, 217, 98).

Aa

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

About this color

#E4D962 is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.140 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.018 away. Black text reads best on it, at 14.40:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.140)
Temperaturewarm
Nearest nameDull Yellow (#EEDC5B)
Black text14.40:1
White text1.45:1

Values

HEX#E4D962
RGBrgb(228, 217, 98)
HSLhsl(55, 71%, 64%)
OKLCHoklch(87.1% 0.14 104)

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 #E4D962 1.45:1 Fails Lc -24.7 Dividers and decoration only
Black text on #E4D962 14.40:1 AAA Lc 82.0 Fine for body text
#E4D962 text on white 1.45:1 Fails Lc 21.7 Dividers and decoration only
#E4D962 text on black 14.40:1 AAA Lc -81.6 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

    #F8F7E4

    oklch(97.2% 0.025 104.4)

  2. Step 100

    100

    #EFECC4

    oklch(93.5% 0.052 103.8)

  3. Step 200

    200 (this color)

    #E4D962

    oklch(87.1% 0.14 104)

  4. Step 300

    300

    #D4C500

    oklch(81% 0.171 104)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #978C00

    oklch(63% 0.133 104)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2700

    oklch(26.9% 0.057 103.7)

Export this scale for Tailwind in the Tailwind colors tool

#E4D962 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)#EAD2560.018
Deuteranopia (no green cones)#EED8680.017
Tritanopia (no blue cones)#F3CCBF0.127
Achromatopsia (no color)#D6D6D60.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #E4D962

    #E4D962

    oklch(87.1% 0.14 104)

  • #CFD0FF

    #CFD0FF

    oklch(87.2% 0.065 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E4D962

    #E4D962

    oklch(87.1% 0.14 104)

  • #FFCA83

    #FFCA83

    oklch(87.1% 0.107 73.8)

  • #AEE988

    #AEE988

    oklch(87.2% 0.14 134.1)

Open the analogous palette in the generator

Split complementary

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

  • #E4D962

    #E4D962

    oklch(87.1% 0.14 104)

  • #B8D8FF

    #B8D8FF

    oklch(87.2% 0.064 253.6)

  • #EBC3FF

    #EBC3FF

    oklch(87.1% 0.092 314.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E4D962

    #E4D962

    oklch(87.1% 0.14 104)

  • #94E2FF

    #94E2FF

    oklch(87.2% 0.086 223.5)

  • #FFBEE3

    #FFBEE3

    oklch(87.1% 0.088 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E4D962

    #E4D962

    oklch(87.1% 0.14 104)

  • #35F1F0

    #35F1F0

    oklch(87.1% 0.14 194.3)

  • #CFD0FF

    #CFD0FF

    oklch(87.2% 0.065 284)

  • #FFC3C7

    #FFC3C7

    oklch(87.2% 0.069 14.1)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #E4D962.

Similar named colors

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

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