#ECB22D

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.7% 0.152 82.7), rgb(236, 178, 45).

Aa

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

About this color

#ECB22D is a light, vivid orange. In OKLCH its lightness is 80%, its chroma 0.152 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.152)
Temperaturewarm
Nearest nameMacaroni And Cheese (#EFB435)
Black text10.97:1
White text1.91:1

Values

HEX#ECB22D
RGBrgb(236, 178, 45)
HSLhsl(42, 83%, 55%)
OKLCHoklch(79.7% 0.152 82.7)

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

    #FCF5E7

    oklch(97.2% 0.02 84.6)

  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)

    #ECB22D

    oklch(79.7% 0.152 82.7)

  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

#ECB22D 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)#CAB30A0.057
Deuteranopia (no green cones)#D8C1340.046
Tritanopia (no blue cones)#FFA0990.134
Achromatopsia (no color)#BBBBBB0.152

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB22D

    #ECB22D

    oklch(79.7% 0.152 82.7)

  • #9ABDFF

    #9ABDFF

    oklch(79.8% 0.102 262.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB22D

    #ECB22D

    oklch(79.7% 0.152 82.7)

  • #FFA368

    #FFA368

    oklch(79.6% 0.133 52.4)

  • #BEC642

    #BEC642

    oklch(79.6% 0.152 112.7)

Open the analogous palette in the generator

Split complementary

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

  • #ECB22D

    #ECB22D

    oklch(79.7% 0.152 82.7)

  • #5ECAFF

    #5ECAFF

    oklch(79.7% 0.124 232.7)

  • #BFAFFF

    #BFAFFF

    oklch(79.7% 0.113 292.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB22D

    #ECB22D

    oklch(79.7% 0.152 82.7)

  • #00D6E3

    #00D6E3

    oklch(79.8% 0.136 202.6)

  • #EB9AF5

    #EB9AF5

    oklch(79.7% 0.151 322.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB22D

    #ECB22D

    oklch(79.7% 0.152 82.7)

  • #0DDCB3

    #0DDCB3

    oklch(79.8% 0.152 172.7)

  • #9ABDFF

    #9ABDFF

    oklch(79.8% 0.102 262.7)

  • #FF97C5

    #FF97C5

    oklch(79.7% 0.135 352.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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