#ECAF28

Closest named color: Squash (#F2AB15). oklch(79.1% 0.153 81.4), rgb(236, 175, 40).

Aa

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

About this color

#ECAF28 is a light, vivid orange. In OKLCH its lightness is 79%, its chroma 0.153 and its hue 81°. Its hue sits on the warm side of the wheel. The nearest named color is Squash (#F2AB15), ΔE 0.012 away. Black text reads best on it, at 10.72:1.

Hue familyOranges
Lightnesslight (79%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameSquash (#F2AB15)
Black text10.72:1
White text1.95:1

Values

HEX#ECAF28
RGBrgb(236, 175, 40)
HSLhsl(41, 84%, 54%)
OKLCHoklch(79.1% 0.153 81.4)

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 #ECAF28 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #ECAF28 10.72:1 AAA Lc 66.5 Content text, not long reading
#ECAF28 text on white 1.95:1 Fails Lc 37.4 Non-text elements, placeholder text
#ECAF28 text on black 10.72:1 AAA Lc -65.0 Content text, not long reading

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 300.

  1. Step 50

    50

    #FDF4E6

    oklch(97% 0.021 79.1)

  2. Step 100

    100

    #F9E8C9

    oklch(93.7% 0.045 82.6)

  3. Step 200

    200

    #F6D498

    oklch(88.5% 0.086 81.4)

  4. Step 300

    300 (this color)

    #ECAF28

    oklch(79.1% 0.153 81.4)

  5. Step 400

    400

    #CE9500

    oklch(70.6% 0.146 81.2)

  6. Step 500

    500

    #B18000

    oklch(63.2% 0.13 81.5)

  7. Step 600

    600

    #956B00

    oklch(55.6% 0.115 81.4)

  8. Step 700

    700

    #7D5A00

    oklch(49.1% 0.101 82.2)

  9. Step 800

    800

    #674900

    oklch(42.7% 0.088 81.6)

  10. Step 900

    900

    #563C00

    oklch(37.6% 0.078 81.1)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECAF28 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)#C8B0000.060
Deuteranopia (no green cones)#D6C0300.051
Tritanopia (no blue cones)#FF9D960.133
Achromatopsia (no color)#B9B9B90.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAF28

    #ECAF28

    oklch(79.1% 0.153 81.4)

  • #95BBFF

    #95BBFF

    oklch(79% 0.106 261.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAF28

    #ECAF28

    oklch(79.1% 0.153 81.4)

  • #FFA065

    #FFA065

    oklch(79.1% 0.136 51.5)

  • #BFC33B

    #BFC33B

    oklch(79% 0.153 111.1)

Open the analogous palette in the generator

Split complementary

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

  • #ECAF28

    #ECAF28

    oklch(79.1% 0.153 81.4)

  • #52C9FF

    #52C9FF

    oklch(79.1% 0.13 231.4)

  • #BBADFF

    #BBADFF

    oklch(79% 0.116 291.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAF28

    #ECAF28

    oklch(79.1% 0.153 81.4)

  • #00D4DF

    #00D4DF

    oklch(79.2% 0.135 201.5)

  • #E898F6

    #E898F6

    oklch(79.2% 0.154 321.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAF28

    #ECAF28

    oklch(79.1% 0.153 81.4)

  • #08DAAE

    #08DAAE

    oklch(79.1% 0.154 171.2)

  • #95BBFF

    #95BBFF

    oklch(79% 0.106 261.7)

  • #FF93C5

    #FF93C5

    oklch(79.1% 0.141 351.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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