#ECF7D8

Closest named color: Beige (#F5F5DC). oklch(96% 0.042 123.1), rgb(236, 247, 216).

Aa

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

About this color

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

Hue familyYellows
Lightnessvery light (96%)
Chromamuted (0.042)
Temperaturein between
Nearest nameBeige (#F5F5DC)
Black text18.86:1
White text1.11:1

Values

HEX#ECF7D8
RGBrgb(236, 247, 216)
HSLhsl(81, 66%, 91%)
OKLCHoklch(96% 0.042 123.1)

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 #ECF7D8 1.11:1 Fails Lc 0.0 Not readable
Black text on #ECF7D8 18.86:1 AAA Lc 98.7 Preferred for body text
#ECF7D8 text on white 1.11:1 Fails Lc 0.0 Not readable
#ECF7D8 text on black 18.86:1 AAA Lc -99.8 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)

    #ECF7D8

    oklch(96% 0.042 123.1)

  2. Step 100

    100

    #E8ECE0

    oklch(93.7% 0.017 121.8)

  3. Step 200

    200

    #D5DDC7

    oklch(88.5% 0.031 123.3)

  4. Step 300

    300

    #BAC7A0

    oklch(80.9% 0.055 122.6)

  5. Step 400

    400

    #96AA6C

    oklch(70.7% 0.088 123.2)

  6. Step 500

    500

    #7D9443

    oklch(63% 0.111 122.8)

  7. Step 600

    600

    #667E21

    oklch(55.5% 0.12 123.1)

  8. Step 700

    700

    #556A12

    oklch(49% 0.112 122.8)

  9. Step 800

    800

    #455713

    oklch(42.7% 0.094 123.4)

  10. Step 900

    900

    #3A4818

    oklch(37.8% 0.073 123.6)

  11. Step 950

    950

    #222A0F

    oklch(27% 0.046 123.2)

Export this scale for Tailwind in the Tailwind colors tool

#ECF7D8 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)#FBF3D60.021
Deuteranopia (no green cones)#FAF3D90.021
Tritanopia (no blue cones)#EEF4EE0.033
Achromatopsia (no color)#F3F3F30.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF7D8

    #ECF7D8

    oklch(96% 0.042 123.1)

  • #F5EEFF

    #F5EEFF

    oklch(95.9% 0.024 304.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF7D8

    #ECF7D8

    oklch(96% 0.042 123.1)

  • #FBF2D2

    #FBF2D2

    oklch(96% 0.043 94.1)

  • #DDFBE5

    #DDFBE5

    oklch(96.1% 0.043 153.7)

Open the analogous palette in the generator

Split complementary

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

  • #ECF7D8

    #ECF7D8

    oklch(96% 0.042 123.1)

  • #EDF1FF

    #EDF1FF

    oklch(95.9% 0.019 273.2)

  • #FFEBFB

    #FFEBFB

    oklch(96.1% 0.03 332.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF7D8

    #ECF7D8

    oklch(96% 0.042 123.1)

  • #E6F4FF

    #E6F4FF

    oklch(96% 0.021 241.3)

  • #FFECF0

    #FFECF0

    oklch(95.9% 0.021 3.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF7D8

    #ECF7D8

    oklch(96% 0.042 123.1)

  • #DAF8FF

    #DAF8FF

    oklch(96% 0.033 213.3)

  • #F5EEFF

    #F5EEFF

    oklch(95.9% 0.024 304.5)

  • #FFEDE9

    #FFEDE9

    oklch(95.9% 0.02 32.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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