#ECF2D9

Closest named color: Beige (#F5F5DC). oklch(95% 0.034 118), rgb(236, 242, 217).

Aa

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

About this color

#ECF2D9 is a very light, muted yellow. In OKLCH its lightness is 95%, its chroma 0.034 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.26:1.

Hue familyYellows
Lightnessvery light (95%)
Chromamuted (0.034)
Temperaturein between
Nearest nameBeige (#F5F5DC)
Black text18.26:1
White text1.14:1

Values

HEX#ECF2D9
RGBrgb(236, 242, 217)
HSLhsl(74, 49%, 90%)
OKLCHoklch(95% 0.034 118)

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 #ECF2D9 1.14:1 Fails Lc -8.2 Not readable
Black text on #ECF2D9 18.26:1 AAA Lc 96.6 Preferred for body text
#ECF2D9 text on white 1.14:1 Fails Lc 0.0 Not readable
#ECF2D9 text on black 18.26: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)

    #ECF2D9

    oklch(95% 0.034 118)

  3. Step 200

    200

    #D7DCCA

    oklch(88.6% 0.025 119.5)

  4. Step 300

    300

    #BEC5A6

    oklch(81% 0.043 117.7)

  5. Step 400

    400

    #9CA776

    oklch(70.7% 0.069 118.5)

  6. Step 500

    500

    #859151

    oklch(63.2% 0.089 117.7)

  7. Step 600

    600

    #6E7B35

    oklch(55.6% 0.096 118.4)

  8. Step 700

    700

    #5C6727

    oklch(49% 0.089 118)

  9. Step 800

    800

    #4B5422

    oklch(42.6% 0.073 118.1)

  10. Step 900

    900

    #3F4621

    oklch(37.8% 0.058 118.1)

  11. Step 950

    950

    #252914

    oklch(27.1% 0.036 117.7)

Export this scale for Tailwind in the Tailwind colors tool

#ECF2D9 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)#F6EFD80.014
Deuteranopia (no green cones)#F5EFDA0.014
Tritanopia (no blue cones)#EFEFEB0.028
Achromatopsia (no color)#EFEFEF0.034

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF2D9

    #ECF2D9

    oklch(95% 0.034 118)

  • #F0EBFF

    #F0EBFF

    oklch(95% 0.027 297.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF2D9

    #ECF2D9

    oklch(95% 0.034 118)

  • #F8EED6

    #F8EED6

    oklch(95.1% 0.033 88.1)

  • #E0F5E2

    #E0F5E2

    oklch(95% 0.034 148)

Open the analogous palette in the generator

Split complementary

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

  • #ECF2D9

    #ECF2D9

    oklch(95% 0.034 118)

  • #E8EEFF

    #E8EEFF

    oklch(95% 0.024 270.3)

  • #FCE7FA

    #FCE7FA

    oklch(95% 0.034 328.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF2D9

    #ECF2D9

    oklch(95% 0.034 118)

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

  • #ECF2D9

    #ECF2D9

    oklch(95% 0.034 118)

  • #D6F5FA

    #D6F5FA

    oklch(94.9% 0.033 208.4)

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

Similar named colors

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

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