#ECD38F

Closest named color: Vanilla (#E9D8A6). oklch(87.2% 0.091 90.1), rgb(236, 211, 143).

Aa

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

About this color

#ECD38F is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.091 and its hue 90°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.026 away. Black text reads best on it, at 14.28:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.091)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text14.28:1
White text1.47:1

Values

HEX#ECD38F
RGBrgb(236, 211, 143)
HSLhsl(44, 71%, 74%)
OKLCHoklch(87.2% 0.091 90.1)

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 #ECD38F 1.47:1 Fails Lc -25.3 Dividers and decoration only
Black text on #ECD38F 14.28:1 AAA Lc 81.5 Fine for body text
#ECD38F text on white 1.47:1 Fails Lc 22.2 Dividers and decoration only
#ECD38F text on black 14.28:1 AAA Lc -81.0 Fine for body text

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 200.

  1. Step 50

    50

    #F9F5EA

    oklch(97% 0.015 90.2)

  2. Step 100

    100

    #F2E9D1

    oklch(93.5% 0.033 89.9)

  3. Step 200

    200 (this color)

    #ECD38F

    oklch(87.2% 0.091 90.1)

  4. Step 300

    300

    #DEBD62

    oklch(80.9% 0.117 89.7)

  5. Step 400

    400

    #C39B00

    oklch(70.6% 0.144 90.2)

  6. Step 500

    500

    #A88500

    oklch(63.2% 0.129 90)

  7. Step 600

    600

    #8D6F00

    oklch(55.5% 0.113 89.9)

  8. Step 700

    700

    #775D00

    oklch(49.1% 0.1 89.6)

  9. Step 800

    800

    #614C00

    oklch(42.6% 0.087 90.4)

  10. Step 900

    900

    #513F00

    oklch(37.6% 0.077 90.4)

  11. Step 950

    950

    #312500

    oklch(27.1% 0.055 90.3)

Export this scale for Tailwind in the Tailwind colors tool

#ECD38F 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)#E2D18A0.017
Deuteranopia (no green cones)#E8D8910.013
Tritanopia (no blue cones)#FAC9C20.082
Achromatopsia (no color)#D5D5D50.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECD38F

    #ECD38F

    oklch(87.2% 0.091 90.1)

  • #C5D4FF

    #C5D4FF

    oklch(87.3% 0.062 270)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECD38F

    #ECD38F

    oklch(87.2% 0.091 90.1)

  • #FFC89D

    #FFC89D

    oklch(87.2% 0.084 59.4)

  • #CDDE9B

    #CDDE9B

    oklch(87.2% 0.09 119.9)

Open the analogous palette in the generator

Split complementary

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

  • #ECD38F

    #ECD38F

    oklch(87.2% 0.091 90.1)

  • #ACDCFF

    #ACDCFF

    oklch(87.3% 0.07 240.2)

  • #DCCBFF

    #DCCBFF

    oklch(87.3% 0.073 299.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECD38F

    #ECD38F

    oklch(87.2% 0.091 90.1)

  • #8AE6F6

    #8AE6F6

    oklch(87.3% 0.09 209.8)

  • #F8C0F2

    #F8C0F2

    oklch(87.3% 0.091 329.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECD38F

    #ECD38F

    oklch(87.2% 0.091 90.1)

  • #8FE9D7

    #8FE9D7

    oklch(87.2% 0.091 179.9)

  • #C5D4FF

    #C5D4FF

    oklch(87.3% 0.062 270)

  • #FFC1D3

    #FFC1D3

    oklch(87.2% 0.074 359.6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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