#ECB24C

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.9% 0.135 78.6), rgb(236, 178, 76).

Aa

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

About this color

#ECB24C is a light, moderately saturated orange. In OKLCH its lightness is 80%, its chroma 0.135 and its hue 79°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.018 away. Black text reads best on it, at 11.03:1.

Hue familyOranges
Lightnesslight (80%)
Chromamoderately saturated (0.135)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text11.03:1
White text1.90:1

Values

HEX#ECB24C
RGBrgb(236, 178, 76)
HSLhsl(38, 81%, 61%)
OKLCHoklch(79.9% 0.135 78.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 #ECB24C 1.90:1 Fails Lc -40.3 Non-text elements, placeholder text
Black text on #ECB24C 11.03:1 AAA Lc 67.8 Content text, not long reading
#ECB24C text on white 1.90:1 Fails Lc 36.1 Non-text elements, placeholder text
#ECB24C text on black 11.03:1 AAA Lc -66.4 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

    #FCF4E8

    oklch(97% 0.018 78.2)

  2. Step 100

    100

    #F8E7CD

    oklch(93.5% 0.039 78.6)

  3. Step 200

    200

    #F4D4A1

    oklch(88.5% 0.075 79.1)

  4. Step 300

    300 (this color)

    #ECB24C

    oklch(79.9% 0.135 78.6)

  5. Step 400

    400

    #D19300

    oklch(70.6% 0.147 78.6)

  6. Step 500

    500

    #B47E00

    oklch(63.1% 0.131 78.5)

  7. Step 600

    600

    #976900

    oklch(55.4% 0.115 78.5)

  8. Step 700

    700

    #805800

    oklch(49.1% 0.102 78.1)

  9. Step 800

    800

    #694800

    oklch(42.7% 0.089 78.7)

  10. Step 900

    900

    #583C00

    oklch(37.8% 0.079 79.1)

  11. Step 950

    950

    #352200

    oklch(26.9% 0.056 77.8)

Export this scale for Tailwind in the Tailwind colors tool

#ECB24C 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)#C9B3400.057
Deuteranopia (no green cones)#D6C2500.050
Tritanopia (no blue cones)#FFA29C0.115
Achromatopsia (no color)#BCBCBC0.135

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB24C

    #ECB24C

    oklch(79.9% 0.135 78.6)

  • #95BFFF

    #95BFFF

    oklch(79.9% 0.102 258.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB24C

    #ECB24C

    oklch(79.9% 0.135 78.6)

  • #FFA472

    #FFA472

    oklch(79.9% 0.126 49)

  • #C5C453

    #C5C453

    oklch(79.9% 0.135 108.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECB24C

    #ECB24C

    oklch(79.9% 0.135 78.6)

  • #51CDFF

    #51CDFF

    oklch(79.9% 0.129 228.5)

  • #BAB2FF

    #BAB2FF

    oklch(79.8% 0.108 288.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB24C

    #ECB24C

    oklch(79.9% 0.135 78.6)

  • #0CD7DD

    #0CD7DD

    oklch(79.9% 0.135 198.4)

  • #E2A1F5

    #E2A1F5

    oklch(80% 0.134 318.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB24C

    #ECB24C

    oklch(79.9% 0.135 78.6)

  • #4FD9AE

    #4FD9AE

    oklch(79.9% 0.135 168.7)

  • #95BFFF

    #95BFFF

    oklch(79.9% 0.102 258.6)

  • #FD98CC

    #FD98CC

    oklch(79.9% 0.135 348.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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