#ECAF2A

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

Aa

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

About this color

#ECAF2A 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.73:1.

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

Values

HEX#ECAF2A
RGBrgb(236, 175, 42)
HSLhsl(41, 84%, 55%)
OKLCHoklch(79.1% 0.153 81.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 #ECAF2A 1.95:1 Fails Lc -41.8 Non-text elements, placeholder text
Black text on #ECAF2A 10.73:1 AAA Lc 66.5 Content text, not long reading
#ECAF2A text on white 1.95:1 Fails Lc 37.4 Non-text elements, placeholder text
#ECAF2A text on black 10.73: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

    #FDF4E7

    oklch(97.1% 0.02 77.3)

  2. Step 100

    100

    #F9E8C9

    oklch(93.7% 0.045 82.6)

  3. Step 200

    200

    #F6D499

    oklch(88.5% 0.084 81)

  4. Step 300

    300 (this color)

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  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

    #7E5900

    oklch(49% 0.101 80.5)

  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

#ECAF2A 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)#C7B0020.062
Deuteranopia (no green cones)#D6C0310.051
Tritanopia (no blue cones)#FF9D970.134
Achromatopsia (no color)#B9B9B90.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECAF2A

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  • #95BBFF

    #95BBFF

    oklch(79% 0.106 261.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECAF2A

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  • #FFA066

    #FFA066

    oklch(79.1% 0.135 51.1)

  • #BFC33C

    #BFC33C

    oklch(79% 0.152 111.1)

Open the analogous palette in the generator

Split complementary

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

  • #ECAF2A

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  • #51C9FF

    #51C9FF

    oklch(79% 0.13 231.3)

  • #BBADFF

    #BBADFF

    oklch(79% 0.116 291.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECAF2A

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  • #00D4DE

    #00D4DE

    oklch(79.1% 0.135 200.9)

  • #E798F6

    #E798F6

    oklch(79.1% 0.153 321)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECAF2A

    #ECAF2A

    oklch(79.1% 0.153 81.2)

  • #11DAAE

    #11DAAE

    oklch(79.2% 0.153 171.1)

  • #95BBFF

    #95BBFF

    oklch(79% 0.106 261.7)

  • #FF93C6

    #FF93C6

    oklch(79.2% 0.142 351.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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