#ECF7D0

Closest named color: Light Goldenrod Yellow (#FAFAD2). oklch(95.8% 0.052 120.2), rgb(236, 247, 208).

Aa

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

About this color

#ECF7D0 is a very light, muted yellow. In OKLCH its lightness is 96%, its chroma 0.052 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Goldenrod Yellow (#FAFAD2), ΔE 0.021 away. Black text reads best on it, at 18.78:1.

Hue familyYellows
Lightnessvery light (96%)
Chromamuted (0.052)
Temperaturein between
Nearest nameLight Goldenrod Yellow (#FAFAD2)
Black text18.78:1
White text1.11:1

Values

HEX#ECF7D0
RGBrgb(236, 247, 208)
HSLhsl(77, 71%, 89%)
OKLCHoklch(95.8% 0.052 120.2)

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 #ECF7D0 1.11:1 Fails Lc 0.0 Not readable
Black text on #ECF7D0 18.78:1 AAA Lc 98.4 Preferred for body text
#ECF7D0 text on white 1.11:1 Fails Lc 0.0 Not readable
#ECF7D0 text on black 18.78:1 AAA Lc -99.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 50.

  1. Step 50

    50 (this color)

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D5DDC2

    oklch(88.4% 0.037 120.6)

  4. Step 300

    300

    #BAC897

    oklch(81% 0.068 120.9)

  5. Step 400

    400

    #98AB5B

    oklch(70.8% 0.108 120.2)

  6. Step 500

    500

    #7F9522

    oklch(63.1% 0.137 120.2)

  7. Step 600

    600

    #6A7E00

    oklch(55.7% 0.132 120.1)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485600

    oklch(42.6% 0.101 120)

  10. Step 900

    900

    #3C4800

    oklch(37.7% 0.09 119.9)

  11. Step 950

    950

    #232A06

    oklch(26.9% 0.056 119.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECF7D0 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)#FCF2CE0.023
Deuteranopia (no green cones)#FBF2D20.024
Tritanopia (no blue cones)#F0F3EC0.043
Achromatopsia (no color)#F2F2F20.052

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF7D0

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  • #F3EEFF

    #F3EEFF

    oklch(95.8% 0.023 299.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF7D0

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  • #FFF0CA

    #FFF0CA

    oklch(95.7% 0.052 89)

  • #D9FCDF

    #D9FCDF

    oklch(95.8% 0.053 150.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECF7D0

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  • #ECF1FF

    #ECF1FF

    oklch(95.8% 0.02 270.2)

  • #FFE9FC

    #FFE9FC

    oklch(95.7% 0.034 330.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF7D0

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  • #E4F4FF

    #E4F4FF

    oklch(95.9% 0.023 237.6)

  • #FFEBF0

    #FFEBF0

    oklch(95.7% 0.023 0.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF7D0

    #ECF7D0

    oklch(95.8% 0.052 120.2)

  • #D6F9FF

    #D6F9FF

    oklch(95.9% 0.037 209.1)

  • #F3EEFF

    #F3EEFF

    oklch(95.8% 0.023 299.4)

  • #FFECE9

    #FFECE9

    oklch(95.7% 0.021 28.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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