#ECF2D8

Closest named color: Beige (#F5F5DC). oklch(95% 0.035 117.6), rgb(236, 242, 216).

Aa

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

About this color

#ECF2D8 is a very light, muted yellow. In OKLCH its lightness is 95%, its chroma 0.035 and its hue 118°. 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.25:1.

Hue familyYellows
Lightnessvery light (95%)
Chromamuted (0.035)
Temperaturein between
Nearest nameBeige (#F5F5DC)
Black text18.25:1
White text1.15:1

Values

HEX#ECF2D8
RGBrgb(236, 242, 216)
HSLhsl(74, 50%, 90%)
OKLCHoklch(95% 0.035 117.6)

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 #ECF2D8 1.15:1 Fails Lc -8.3 Not readable
Black text on #ECF2D8 18.25:1 AAA Lc 96.5 Preferred for body text
#ECF2D8 text on white 1.15:1 Fails Lc 0.0 Not readable
#ECF2D8 text on black 18.25:1 AAA Lc -97.4 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 100.

  1. Step 50

    50

    #F5F6F2

    oklch(97.1% 0.005 117.9)

  2. Step 100

    100 (this color)

    #ECF2D8

    oklch(95% 0.035 117.6)

  3. Step 200

    200

    #D7DCC9

    oklch(88.5% 0.026 118.9)

  4. Step 300

    300

    #BEC5A5

    oklch(80.9% 0.044 117.4)

  5. Step 400

    400

    #9DA774

    oklch(70.7% 0.071 117.3)

  6. Step 500

    500

    #85914E

    oklch(63.1% 0.092 117.5)

  7. Step 600

    600

    #6F7B31

    oklch(55.7% 0.1 117.5)

  8. Step 700

    700

    #5D6723

    oklch(49% 0.092 117)

  9. Step 800

    800

    #4C541F

    oklch(42.6% 0.076 116.9)

  10. Step 900

    900

    #3F461F

    oklch(37.8% 0.06 117.8)

  11. Step 950

    950

    #252913

    oklch(27% 0.038 117.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECF2D8 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)#F6EFD70.014
Deuteranopia (no green cones)#F5EFD90.014
Tritanopia (no blue cones)#EFEFEA0.028
Achromatopsia (no color)#EFEFEF0.035

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF2D8

    #ECF2D8

    oklch(95% 0.035 117.6)

  • #F0EBFF

    #F0EBFF

    oklch(95% 0.027 297.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF2D8

    #ECF2D8

    oklch(95% 0.035 117.6)

  • #F8EED5

    #F8EED5

    oklch(95% 0.035 88.8)

  • #E0F5E1

    #E0F5E1

    oklch(94.9% 0.035 146.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECF2D8

    #ECF2D8

    oklch(95% 0.035 117.6)

  • #E7EEFF

    #E7EEFF

    oklch(94.9% 0.024 267.9)

  • #FCE7FB

    #FCE7FB

    oklch(95.1% 0.035 327.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF2D8

    #ECF2D8

    oklch(95% 0.035 117.6)

  • #DEF2FF

    #DEF2FF

    oklch(95% 0.028 236.2)

  • #FFE7EE

    #FFE7EE

    oklch(94.9% 0.028 358)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF2D8

    #ECF2D8

    oklch(95% 0.035 117.6)

  • #D5F6FB

    #D5F6FB

    oklch(95.1% 0.035 207.7)

  • #F0EBFF

    #F0EBFF

    oklch(95% 0.027 297.3)

  • #FFE9E5

    #FFE9E5

    oklch(95.1% 0.025 29.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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