#ECB22C

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.7% 0.153 82.8), rgb(236, 178, 44).

Aa

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

About this color

#ECB22C is a light, vivid orange. In OKLCH its lightness is 80%, its chroma 0.153 and its hue 83°. Its hue sits on the warm side of the wheel. The nearest named color is Macaroni And Cheese (#EFB435), ΔE 0.008 away. Black text reads best on it, at 10.97:1.

Hue familyOranges
Lightnesslight (80%)
Chromavivid (0.153)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text10.97:1
White text1.91:1

Values

HEX#ECB22C
RGBrgb(236, 178, 44)
HSLhsl(42, 83%, 55%)
OKLCHoklch(79.7% 0.153 82.8)

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 #ECB22C 1.91:1 Fails Lc -40.6 Non-text elements, placeholder text
Black text on #ECB22C 10.97:1 AAA Lc 67.6 Content text, not long reading
#ECB22C text on white 1.91:1 Fails Lc 36.3 Non-text elements, placeholder text
#ECB22C text on black 10.97:1 AAA Lc -66.2 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

    #FCF5E6

    oklch(97.2% 0.021 85.9)

  2. Step 100

    100

    #F8E8C9

    oklch(93.6% 0.044 83.9)

  3. Step 200

    200

    #F5D599

    oklch(88.6% 0.085 82.8)

  4. Step 300

    300 (this color)

    #ECB22C

    oklch(79.7% 0.153 82.8)

  5. Step 400

    400

    #CC9600

    oklch(70.6% 0.145 82.8)

  6. Step 500

    500

    #AF8100

    oklch(63.2% 0.13 83.3)

  7. Step 600

    600

    #946C00

    oklch(55.7% 0.115 82.9)

  8. Step 700

    700

    #7C5A00

    oklch(49% 0.101 82.9)

  9. Step 800

    800

    #664900

    oklch(42.6% 0.088 82.4)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950

    #342300

    oklch(27% 0.056 81.4)

Export this scale for Tailwind in the Tailwind colors tool

#ECB22C 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)#CAB3060.057
Deuteranopia (no green cones)#D8C1330.046
Tritanopia (no blue cones)#FFA0990.134
Achromatopsia (no color)#BBBBBB0.153

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB22C

    #ECB22C

    oklch(79.7% 0.153 82.8)

  • #9ABDFF

    #9ABDFF

    oklch(79.8% 0.102 262.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB22C

    #ECB22C

    oklch(79.7% 0.153 82.8)

  • #FFA368

    #FFA368

    oklch(79.6% 0.133 52.4)

  • #BEC641

    #BEC641

    oklch(79.6% 0.153 112.7)

Open the analogous palette in the generator

Split complementary

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

  • #ECB22C

    #ECB22C

    oklch(79.7% 0.153 82.8)

  • #5FCAFF

    #5FCAFF

    oklch(79.7% 0.124 232.8)

  • #BFAFFF

    #BFAFFF

    oklch(79.7% 0.113 292.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB22C

    #ECB22C

    oklch(79.7% 0.153 82.8)

  • #00D5E3

    #00D5E3

    oklch(79.5% 0.135 203.2)

  • #EB99F5

    #EB99F5

    oklch(79.6% 0.153 323)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB22C

    #ECB22C

    oklch(79.7% 0.153 82.8)

  • #07DCB3

    #07DCB3

    oklch(79.8% 0.153 172.7)

  • #9ABDFF

    #9ABDFF

    oklch(79.8% 0.102 262.7)

  • #FF97C4

    #FF97C4

    oklch(79.7% 0.135 353.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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