#ECE7CB

Closest named color: Champagne (#F7E7CE). oklch(92.5% 0.037 98.7), rgb(236, 231, 203).

Aa

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

About this color

#ECE7CB is a very light, muted yellow. In OKLCH its lightness is 92%, its chroma 0.037 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Champagne (#F7E7CE), ΔE 0.016 away. Black text reads best on it, at 16.85:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamuted (0.037)
Temperaturewarm
Nearest nameChampagne (#F7E7CE)
Black text16.85:1
White text1.24:1

Values

HEX#ECE7CB
RGBrgb(236, 231, 203)
HSLhsl(51, 46%, 86%)
OKLCHoklch(92.5% 0.037 98.7)

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 #ECE7CB 1.24:1 Fails Lc -14.1 Not readable
Black text on #ECE7CB 16.85:1 AAA Lc 91.4 Preferred for body text
#ECE7CB text on white 1.24:1 Fails Lc 12.2 Not readable
#ECE7CB text on black 16.85:1 AAA Lc -91.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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100 (this color)

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  3. Step 200

    200

    #DDDAC6

    oklch(88.5% 0.027 99.9)

  4. Step 300

    300

    #C8C29E

    oklch(81% 0.049 99.5)

  5. Step 400

    400

    #ACA269

    oklch(70.7% 0.077 99.5)

  6. Step 500

    500

    #998A3E

    oklch(63.1% 0.098 98.3)

  7. Step 600

    600

    #837418

    oklch(55.7% 0.107 99.4)

  8. Step 700

    700

    #6F6107

    oklch(49.1% 0.099 99.1)

  9. Step 800

    800

    #5B4F0D

    oklch(42.7% 0.082 98.1)

  10. Step 900

    900

    #4A4215

    oklch(37.7% 0.064 99.2)

  11. Step 950

    950

    #2B270E

    oklch(27% 0.04 100.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECE7CB 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)#EDE5C90.005
Deuteranopia (no green cones)#EFE7CC0.004
Tritanopia (no blue cones)#F2E3DF0.033
Achromatopsia (no color)#E6E6E60.037

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE7CB

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  • #E0E4FF

    #E0E4FF

    oklch(92.4% 0.037 279)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE7CB

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  • #F7E2CC

    #F7E2CC

    oklch(92.4% 0.037 68.6)

  • #DEEBD1

    #DEEBD1

    oklch(92.3% 0.037 128.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECE7CB

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  • #D4E9FF

    #D4E9FF

    oklch(92.5% 0.037 249.5)

  • #EDE0FA

    #EDE0FA

    oklch(92.5% 0.037 308)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE7CB

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  • #CCEDF7

    #CCEDF7

    oklch(92.5% 0.037 218)

  • #F8DDEF

    #F8DDEF

    oklch(92.5% 0.038 338.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE7CB

    #ECE7CB

    oklch(92.5% 0.037 98.7)

  • #CBEFEB

    #CBEFEB

    oklch(92.5% 0.038 188.3)

  • #E0E4FF

    #E0E4FF

    oklch(92.4% 0.037 279)

  • #FEDCE1

    #FEDCE1

    oklch(92.4% 0.038 7.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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