#ECE268

Closest named color: Dull Yellow (#EEDC5B). oklch(89.7% 0.143 104.6), rgb(236, 226, 104).

Aa

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

About this color

#ECE268 is a light, vivid yellow. In OKLCH its lightness is 90%, its chroma 0.143 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.015 away. Black text reads best on it, at 15.64:1.

Hue familyYellows
Lightnesslight (90%)
Chromavivid (0.143)
Temperaturewarm
Nearest nameDull Yellow (#EEDC5B)
Black text15.64:1
White text1.34:1

Values

HEX#ECE268
RGBrgb(236, 226, 104)
HSLhsl(55, 78%, 67%)
OKLCHoklch(89.7% 0.143 104.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 #ECE268 1.34:1 Fails Lc -19.2 Dividers and decoration only
Black text on #ECE268 15.64:1 AAA Lc 86.9 Fine for body text
#ECE268 text on white 1.34:1 Fails Lc 16.7 Dividers and decoration only
#ECE268 text on black 15.64:1 AAA Lc -86.9 Fine 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 200.

  1. Step 50

    50

    #F8F7E4

    oklch(97.2% 0.025 104.4)

  2. Step 100

    100

    #EFECC4

    oklch(93.5% 0.052 103.8)

  3. Step 200

    200 (this color)

    #ECE268

    oklch(89.7% 0.143 104.6)

  4. Step 300

    300

    #D3C500

    oklch(80.9% 0.171 104.4)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #575100

    oklch(42.7% 0.09 104.7)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#ECE268 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)#F3DB5B0.018
Deuteranopia (no green cones)#F7E16E0.018
Tritanopia (no blue cones)#FCD5C70.130
Achromatopsia (no color)#DEDEDE0.143

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECE268

    #ECE268

    oklch(89.7% 0.143 104.6)

  • #D9D9FF

    #D9D9FF

    oklch(89.7% 0.052 285.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECE268

    #ECE268

    oklch(89.7% 0.143 104.6)

  • #FFD69E

    #FFD69E

    oklch(89.8% 0.085 75)

  • #B4F28F

    #B4F28F

    oklch(89.7% 0.143 134.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECE268

    #ECE268

    oklch(89.7% 0.143 104.6)

  • #C7E0FF

    #C7E0FF

    oklch(89.8% 0.05 253.9)

  • #EFCFFF

    #EFCFFF

    oklch(89.6% 0.073 314.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECE268

    #ECE268

    oklch(89.7% 0.143 104.6)

  • #ADE7FF

    #ADE7FF

    oklch(89.6% 0.067 225.4)

  • #FFCCE8

    #FFCCE8

    oklch(89.8% 0.068 344.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECE268

    #ECE268

    oklch(89.7% 0.143 104.6)

  • #3BFAFA

    #3BFAFA

    oklch(89.7% 0.143 194.9)

  • #D9D9FF

    #D9D9FF

    oklch(89.7% 0.052 285.3)

  • #FFCFD2

    #FFCFD2

    oklch(89.7% 0.054 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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