#E3D972

Closest named color: Sandy (#F1DA7A). oklch(87.2% 0.126 103.7), rgb(227, 217, 114).

Aa

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

About this color

#E3D972 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.126 and its hue 104°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.023 away. Black text reads best on it, at 14.43:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.126)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.43:1
White text1.45:1

Values

HEX#E3D972
RGBrgb(227, 217, 114)
HSLhsl(55, 67%, 67%)
OKLCHoklch(87.2% 0.126 103.7)

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 #E3D972 1.45:1 Fails Lc -24.6 Dividers and decoration only
Black text on #E3D972 14.43:1 AAA Lc 82.1 Fine for body text
#E3D972 text on white 1.45:1 Fails Lc 21.6 Dividers and decoration only
#E3D972 text on black 14.43:1 AAA Lc -81.7 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

    #F8F6E6

    oklch(97% 0.021 101)

  2. Step 100

    100

    #EFECC8

    oklch(93.6% 0.047 103.3)

  3. Step 200

    200 (this color)

    #E3D972

    oklch(87.2% 0.126 103.7)

  4. Step 300

    300

    #D3C428

    oklch(80.8% 0.161 103.5)

  5. Step 400

    400

    #B1A400

    oklch(70.7% 0.149 103.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  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

#E3D972 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)#E9D3690.016
Deuteranopia (no green cones)#ECD8770.015
Tritanopia (no blue cones)#F1CDC10.114
Achromatopsia (no color)#D6D6D60.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #E3D972

    #E3D972

    oklch(87.2% 0.126 103.7)

  • #CFD0FF

    #CFD0FF

    oklch(87.2% 0.065 284)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E3D972

    #E3D972

    oklch(87.2% 0.126 103.7)

  • #FFCB85

    #FFCB85

    oklch(87.3% 0.105 73.9)

  • #B3E791

    #B3E791

    oklch(87.2% 0.125 133.8)

Open the analogous palette in the generator

Split complementary

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

  • #E3D972

    #E3D972

    oklch(87.2% 0.126 103.7)

  • #B8D8FF

    #B8D8FF

    oklch(87.2% 0.064 253.6)

  • #EAC4FF

    #EAC4FF

    oklch(87.2% 0.089 313.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E3D972

    #E3D972

    oklch(87.2% 0.126 103.7)

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

  • #E3D972

    #E3D972

    oklch(87.2% 0.126 103.7)

  • #59EFED

    #59EFED

    oklch(87.3% 0.126 193.8)

  • #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 #E3D972, closest first.

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

Similar named colors

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

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