#ECF8D4

Closest named color: Beige (#F5F5DC). oklch(96.1% 0.049 122.3), rgb(236, 248, 212).

Aa

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

About this color

#ECF8D4 is a very light, muted yellow. In OKLCH its lightness is 96%, its chroma 0.049 and its hue 122°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Beige (#F5F5DC), ΔE 0.019 away. Black text reads best on it, at 18.94:1.

Hue familyYellows
Lightnessvery light (96%)
Chromamuted (0.049)
Temperaturein between
Nearest nameBeige (#F5F5DC)
Black text18.94:1
White text1.10:1

Values

HEX#ECF8D4
RGBrgb(236, 248, 212)
HSLhsl(80, 72%, 90%)
OKLCHoklch(96.1% 0.049 122.3)

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 #ECF8D4 1.10:1 Fails Lc 0.0 Not readable
Black text on #ECF8D4 18.94:1 AAA Lc 99.0 Preferred for body text
#ECF8D4 text on white 1.10:1 Fails Lc 0.0 Not readable
#ECF8D4 text on black 18.94:1 AAA Lc -100.1 Preferred 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 50.

  1. Step 50

    50 (this color)

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  2. Step 100

    100

    #E7ECDF

    oklch(93.6% 0.018 124)

  3. Step 200

    200

    #D5DDC4

    oklch(88.5% 0.035 121.6)

  4. Step 300

    300

    #B9C89B

    oklch(81% 0.063 122.8)

  5. Step 400

    400

    #96AB62

    oklch(70.8% 0.101 122.1)

  6. Step 500

    500

    #7C9532

    oklch(63% 0.128 122.3)

  7. Step 600

    600

    #667F00

    oklch(55.6% 0.135 122.3)

  8. Step 700

    700

    #556B00

    oklch(49.2% 0.12 122.6)

  9. Step 800

    800

    #455700

    oklch(42.6% 0.104 122.4)

  10. Step 900

    900

    #3A480C

    oklch(37.7% 0.083 122.2)

  11. Step 950

    950

    #222A0A

    oklch(26.9% 0.052 121.9)

Export this scale for Tailwind in the Tailwind colors tool

#ECF8D4 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)#FDF3D20.024
Deuteranopia (no green cones)#FBF3D50.023
Tritanopia (no blue cones)#EFF4EE0.040
Achromatopsia (no color)#F3F3F30.049

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF8D4

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  • #F5EFFF

    #F5EFFF

    oklch(96.1% 0.022 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF8D4

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  • #FEF2CE

    #FEF2CE

    oklch(96.1% 0.049 91.8)

  • #DBFCE2

    #DBFCE2

    oklch(96% 0.049 151.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECF8D4

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  • #EEF2FF

    #EEF2FF

    oklch(96.2% 0.018 272.3)

  • #FFEBFB

    #FFEBFB

    oklch(96.1% 0.03 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF8D4

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  • #E7F4FF

    #E7F4FF

    oklch(96.1% 0.02 243.4)

  • #FFEDF1

    #FFEDF1

    oklch(96.1% 0.02 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF8D4

    #ECF8D4

    oklch(96.1% 0.049 122.3)

  • #DAF8FF

    #DAF8FF

    oklch(96% 0.033 213.3)

  • #F5EFFF

    #F5EFFF

    oklch(96.1% 0.022 302.9)

  • #FFEEEA

    #FFEEEA

    oklch(96.1% 0.019 33.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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