#ECF8D9

Closest named color: Beige (#F5F5DC). oklch(96.2% 0.043 124.5), rgb(236, 248, 217).

Aa

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

About this color

#ECF8D9 is a very light, muted yellow. In OKLCH its lightness is 96%, its chroma 0.043 and its hue 124°. 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.99:1.

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

Values

HEX#ECF8D9
RGBrgb(236, 248, 217)
HSLhsl(83, 69%, 91%)
OKLCHoklch(96.2% 0.043 124.5)

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 #ECF8D9 1.10:1 Fails Lc 0.0 Not readable
Black text on #ECF8D9 18.99:1 AAA Lc 99.1 Preferred for body text
#ECF8D9 text on white 1.10:1 Fails Lc 0.0 Not readable
#ECF8D9 text on black 18.99:1 AAA Lc -100.3 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)

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D4DDC7

    oklch(88.5% 0.031 125.2)

  4. Step 300

    300

    #B9C7A1

    oklch(80.9% 0.054 124)

  5. Step 400

    400

    #95AA6D

    oklch(70.7% 0.087 124)

  6. Step 500

    500

    #7B9544

    oklch(63.2% 0.112 124.3)

  7. Step 600

    600

    #647F22

    oklch(55.7% 0.122 124.5)

  8. Step 700

    700

    #536B13

    oklch(49.1% 0.113 124.4)

  9. Step 800

    800

    #445714

    oklch(42.6% 0.093 124.2)

  10. Step 900

    900

    #394818

    oklch(37.7% 0.074 124.5)

  11. Step 950

    950

    #212A0F

    oklch(26.9% 0.047 124.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECF8D9 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)#FCF4D70.022
Deuteranopia (no green cones)#FAF3DA0.022
Tritanopia (no blue cones)#EEF5EF0.033
Achromatopsia (no color)#F3F3F30.043

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF8D9

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  • #F6EFFF

    #F6EFFF

    oklch(96.2% 0.022 305.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF8D9

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  • #FBF3D3

    #FBF3D3

    oklch(96.2% 0.043 95.5)

  • #DDFCE6

    #DDFCE6

    oklch(96.3% 0.043 154.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECF8D9

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  • #EEF2FF

    #EEF2FF

    oklch(96.2% 0.018 272.3)

  • #FFECFA

    #FFECFA

    oklch(96.2% 0.027 334.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF8D9

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  • #E8F4FF

    #E8F4FF

    oklch(96.1% 0.02 245.6)

  • #FFEDF1

    #FFEDF1

    oklch(96.1% 0.02 2.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF8D9

    #ECF8D9

    oklch(96.2% 0.043 124.5)

  • #DDF8FF

    #DDF8FF

    oklch(96.2% 0.03 215.1)

  • #F6EFFF

    #F6EFFF

    oklch(96.2% 0.022 305.6)

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

Similar named colors

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

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