#ECF8D8

Closest named color: Beige (#F5F5DC). oklch(96.2% 0.044 124), rgb(236, 248, 216).

Aa

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

About this color

#ECF8D8 is a very light, muted yellow. In OKLCH its lightness is 96%, its chroma 0.044 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.016 away. Black text reads best on it, at 18.98:1.

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

Values

HEX#ECF8D8
RGBrgb(236, 248, 216)
HSLhsl(82, 70%, 91%)
OKLCHoklch(96.2% 0.044 124)

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

    #ECF8D8

    oklch(96.2% 0.044 124)

  2. Step 100

    100

    #E7ECE0

    oklch(93.6% 0.017 125.3)

  3. Step 200

    200

    #D5DDC7

    oklch(88.5% 0.031 123.3)

  4. Step 300

    300

    #B9C7A0

    oklch(80.9% 0.055 123.7)

  5. Step 400

    400

    #95AA6B

    oklch(70.6% 0.089 123.7)

  6. Step 500

    500

    #7B9541

    oklch(63.1% 0.115 124)

  7. Step 600

    600

    #647F1C

    oklch(55.6% 0.126 124.1)

  8. Step 700

    700

    #536B0C

    oklch(49.1% 0.117 124)

  9. Step 800

    800

    #445710

    oklch(42.6% 0.096 123.9)

  10. Step 900

    900

    #394816

    oklch(37.7% 0.076 124.2)

  11. Step 950

    950

    #222A0E

    oklch(27% 0.047 122.9)

Export this scale for Tailwind in the Tailwind colors tool

#ECF8D8 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)#FCF4D60.022
Deuteranopia (no green cones)#FAF3D90.022
Tritanopia (no blue cones)#EEF5EF0.034
Achromatopsia (no color)#F3F3F30.044

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF8D8

    #ECF8D8

    oklch(96.2% 0.044 124)

  • #F5EFFF

    #F5EFFF

    oklch(96.1% 0.022 302.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF8D8

    #ECF8D8

    oklch(96.2% 0.044 124)

  • #FCF3D2

    #FCF3D2

    oklch(96.3% 0.044 94.5)

  • #DDFCE5

    #DDFCE5

    oklch(96.3% 0.044 153.4)

Open the analogous palette in the generator

Split complementary

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

  • #ECF8D8

    #ECF8D8

    oklch(96.2% 0.044 124)

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

  • #ECF8D8

    #ECF8D8

    oklch(96.2% 0.044 124)

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

  • #ECF8D8

    #ECF8D8

    oklch(96.2% 0.044 124)

  • #DCF8FF

    #DCF8FF

    oklch(96.1% 0.031 214.5)

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

Similar named colors

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

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