#ECB22B

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.6% 0.153 82.9), rgb(236, 178, 43).

Aa

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

About this color

#ECB22B 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.009 away. Black text reads best on it, at 10.96:1.

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

Values

HEX#ECB22B
RGBrgb(236, 178, 43)
HSLhsl(42, 84%, 55%)
OKLCHoklch(79.6% 0.153 82.9)

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

    #F5D598

    oklch(88.6% 0.086 83.2)

  4. Step 300

    300 (this color)

    #ECB22B

    oklch(79.6% 0.153 82.9)

  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

    #664A00

    oklch(42.8% 0.088 83.6)

  10. Step 900

    900

    #553D00

    oklch(37.7% 0.077 83.5)

  11. Step 950

    950

    #332300

    oklch(26.8% 0.055 83)

Export this scale for Tailwind in the Tailwind colors tool

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

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB22B

    #ECB22B

    oklch(79.6% 0.153 82.9)

  • #9ABDFF

    #9ABDFF

    oklch(79.8% 0.102 262.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB22B

    #ECB22B

    oklch(79.6% 0.153 82.9)

  • #FFA367

    #FFA367

    oklch(79.6% 0.133 52.8)

  • #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°).

  • #ECB22B

    #ECB22B

    oklch(79.6% 0.153 82.9)

  • #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.

  • #ECB22B

    #ECB22B

    oklch(79.6% 0.153 82.9)

  • #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.

  • #ECB22B

    #ECB22B

    oklch(79.6% 0.153 82.9)

  • #01DCB3

    #01DCB3

    oklch(79.7% 0.153 172.8)

  • #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 #ECB22B, closest first.

Similar named colors

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

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