#E2D770

Closest named color: Sandy (#F1DA7A). oklch(86.7% 0.125 103.2), rgb(226, 215, 112).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.18:1
White text1.48:1

Values

HEX#E2D770
RGBrgb(226, 215, 112)
HSLhsl(54, 66%, 66%)
OKLCHoklch(86.7% 0.125 103.2)

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 #E2D770 1.48:1 Fails Lc -25.7 Dividers and decoration only
Black text on #E2D770 14.18:1 AAA Lc 81.1 Fine for body text
#E2D770 text on white 1.48:1 Fails Lc 22.6 Dividers and decoration only
#E2D770 text on black 14.18:1 AAA Lc -80.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)

    #E2D770

    oklch(86.7% 0.125 103.2)

  4. Step 300

    300

    #D4C427

    oklch(80.9% 0.161 103.1)

  5. Step 400

    400

    #B2A300

    oklch(70.6% 0.148 102.9)

  6. Step 500

    500

    #988C00

    oklch(63.1% 0.133 103.5)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#E2D770 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)#E7D1670.015
Deuteranopia (no green cones)#EBD7750.015
Tritanopia (no blue cones)#F0CBBF0.114
Achromatopsia (no color)#D4D4D40.126

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2D770

    #E2D770

    oklch(86.7% 0.125 103.2)

  • #CCCEFF

    #CCCEFF

    oklch(86.6% 0.068 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2D770

    #E2D770

    oklch(86.7% 0.125 103.2)

  • #FFC880

    #FFC880

    oklch(86.7% 0.109 73)

  • #B2E58F

    #B2E58F

    oklch(86.6% 0.125 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #E2D770

    #E2D770

    oklch(86.7% 0.125 103.2)

  • #B5D7FF

    #B5D7FF

    oklch(86.8% 0.067 252.7)

  • #E9C2FF

    #E9C2FF

    oklch(86.7% 0.092 313.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2D770

    #E2D770

    oklch(86.7% 0.125 103.2)

  • #8EE1FF

    #8EE1FF

    oklch(86.7% 0.091 223.1)

  • #FFBCE3

    #FFBCE3

    oklch(86.8% 0.091 343.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2D770

    #E2D770

    oklch(86.7% 0.125 103.2)

  • #57EDEA

    #57EDEA

    oklch(86.7% 0.125 193.2)

  • #CCCEFF

    #CCCEFF

    oklch(86.6% 0.068 283)

  • #FFC0C6

    #FFC0C6

    oklch(86.6% 0.073 12.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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