#ECF0C7

Closest named color: Beige (#F5F5DC). oklch(94.2% 0.054 112), rgb(236, 240, 199).

Aa

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

About this color

#ECF0C7 is a very light, muted yellow. In OKLCH its lightness is 94%, its chroma 0.054 and its hue 112°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Beige (#F5F5DC), ΔE 0.031 away. Black text reads best on it, at 17.85:1.

Hue familyYellows
Lightnessvery light (94%)
Chromamuted (0.054)
Temperaturein between
Nearest nameBeige (#F5F5DC)
Black text17.85:1
White text1.17:1

Values

HEX#ECF0C7
RGBrgb(236, 240, 199)
HSLhsl(66, 58%, 86%)
OKLCHoklch(94.2% 0.054 112)

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 #ECF0C7 1.17:1 Fails Lc -9.9 Not readable
Black text on #ECF0C7 17.85:1 AAA Lc 95.1 Preferred for body text
#ECF0C7 text on white 1.17:1 Fails Lc 8.5 Not readable
#ECF0C7 text on black 17.85:1 AAA Lc -95.8 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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100 (this color)

    #ECF0C7

    oklch(94.2% 0.054 112)

  3. Step 200

    200

    #D9DCBF

    oklch(88.4% 0.039 112)

  4. Step 300

    300

    #C1C692

    oklch(81% 0.07 112.4)

  5. Step 400

    400

    #A2A751

    oklch(70.6% 0.11 111.9)

  6. Step 500

    500

    #8C9100

    oklch(63.1% 0.14 112.2)

  7. Step 600

    600

    #767A00

    oklch(55.7% 0.123 112.1)

  8. Step 700

    700

    #636600

    oklch(49.1% 0.109 111.8)

  9. Step 800

    800

    #515300

    oklch(42.6% 0.094 111.4)

  10. Step 900

    900

    #434500

    oklch(37.6% 0.083 111.6)

  11. Step 950

    950

    #272901

    oklch(27% 0.059 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#ECF0C7 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)#F7ECC50.017
Deuteranopia (no green cones)#F7EDC90.017
Tritanopia (no blue cones)#F2EBE50.047
Achromatopsia (no color)#ECECEC0.054

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECF0C7

    #ECF0C7

    oklch(94.2% 0.054 112)

  • #ECE9FF

    #ECE9FF

    oklch(94.3% 0.03 292.1)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECF0C7

    #ECF0C7

    oklch(94.2% 0.054 112)

  • #FEE9C4

    #FEE9C4

    oklch(94.2% 0.053 81.8)

  • #D8F6D4

    #D8F6D4

    oklch(94.2% 0.055 141.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECF0C7

    #ECF0C7

    oklch(94.2% 0.054 112)

  • #E2ECFF

    #E2ECFF

    oklch(94.1% 0.028 263.4)

  • #FBE2FF

    #FBE2FF

    oklch(94.2% 0.047 321.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECF0C7

    #ECF0C7

    oklch(94.2% 0.054 112)

  • #D6F0FF

    #D6F0FF

    oklch(94.1% 0.034 233)

  • #FFE3EE

    #FFE3EE

    oklch(94.2% 0.034 352)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECF0C7

    #ECF0C7

    oklch(94.2% 0.054 112)

  • #C2F7FB

    #C2F7FB

    oklch(94.1% 0.054 202)

  • #ECE9FF

    #ECE9FF

    oklch(94.3% 0.03 292.1)

  • #FFE5E3

    #FFE5E3

    oklch(94.2% 0.029 23)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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