#ECB138

Closest named color: Macaroni And Cheese (#EFB435). oklch(79.5% 0.147 81), rgb(236, 177, 56).

Aa

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

About this color

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

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

Values

HEX#ECB138
RGBrgb(236, 177, 56)
HSLhsl(40, 83%, 57%)
OKLCHoklch(79.5% 0.147 81)

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 #ECB138 1.92:1 Fails Lc -40.9 Non-text elements, placeholder text
Black text on #ECB138 10.91:1 AAA Lc 67.3 Content text, not long reading
#ECB138 text on white 1.92:1 Fails Lc 36.6 Non-text elements, placeholder text
#ECB138 text on black 10.91:1 AAA Lc -65.9 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

    #FCF4E7

    oklch(97% 0.019 80.1)

  2. Step 100

    100

    #F9E8CB

    oklch(93.7% 0.042 81.1)

  3. Step 200

    200

    #F5D49C

    oklch(88.5% 0.081 80.5)

  4. Step 300

    300 (this color)

    #ECB138

    oklch(79.5% 0.147 81)

  5. Step 400

    400

    #CF9500

    oklch(70.7% 0.146 80.7)

  6. Step 500

    500

    #B17F00

    oklch(63% 0.13 80.8)

  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

#ECB138 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)#C9B2230.058
Deuteranopia (no green cones)#D7C13D0.049
Tritanopia (no blue cones)#FFA0990.127
Achromatopsia (no color)#BBBBBB0.147

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECB138

    #ECB138

    oklch(79.5% 0.147 81)

  • #97BDFF

    #97BDFF

    oklch(79.6% 0.103 261.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECB138

    #ECB138

    oklch(79.5% 0.147 81)

  • #FFA26B

    #FFA26B

    oklch(79.5% 0.131 50.6)

  • #C1C446

    #C1C446

    oklch(79.5% 0.146 110.6)

Open the analogous palette in the generator

Split complementary

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

  • #ECB138

    #ECB138

    oklch(79.5% 0.147 81)

  • #56CBFF

    #56CBFF

    oklch(79.6% 0.127 230.6)

  • #BCAFFF

    #BCAFFF

    oklch(79.4% 0.113 291.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECB138

    #ECB138

    oklch(79.5% 0.147 81)

  • #00D5E0

    #00D5E0

    oklch(79.4% 0.135 201.4)

  • #E79BF5

    #E79BF5

    oklch(79.5% 0.147 321.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECB138

    #ECB138

    oklch(79.5% 0.147 81)

  • #2FDAB0

    #2FDAB0

    oklch(79.5% 0.146 171.2)

  • #97BDFF

    #97BDFF

    oklch(79.6% 0.103 261.2)

  • #FF95C7

    #FF95C7

    oklch(79.5% 0.139 351)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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