#ECD97A

Closest named color: Sandy (#F1DA7A). oklch(88.1% 0.118 98.3), rgb(236, 217, 122).

Aa

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

About this color

#ECD97A is a light, moderately saturated yellow. In OKLCH its lightness is 88%, its chroma 0.118 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.008 away. Black text reads best on it, at 14.77:1.

Hue familyYellows
Lightnesslight (88%)
Chromamoderately saturated (0.118)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.77:1
White text1.42:1

Values

HEX#ECD97A
RGBrgb(236, 217, 122)
HSLhsl(50, 75%, 70%)
OKLCHoklch(88.1% 0.118 98.3)

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 #ECD97A 1.42:1 Fails Lc -23.1 Dividers and decoration only
Black text on #ECD97A 14.77:1 AAA Lc 83.5 Fine for body text
#ECD97A text on white 1.42:1 Fails Lc 20.2 Dividers and decoration only
#ECD97A text on black 14.77:1 AAA Lc -83.2 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

    #F9F6E7

    oklch(97.1% 0.02 97.5)

  2. Step 100

    100

    #F1EBCA

    oklch(93.6% 0.044 98.7)

  3. Step 200

    200 (this color)

    #ECD97A

    oklch(88.1% 0.118 98.3)

  4. Step 300

    300

    #DAC136

    oklch(80.9% 0.152 98.5)

  5. Step 400

    400

    #B9A000

    oklch(70.6% 0.146 97.9)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4D4100

    oklch(37.6% 0.078 97.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#ECD97A 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)#E9D4720.014
Deuteranopia (no green cones)#EFDB7E0.008
Tritanopia (no blue cones)#FBCDC30.108
Achromatopsia (no color)#D8D8D80.118

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECD97A

    #ECD97A

    oklch(88.1% 0.118 98.3)

  • #CED5FF

    #CED5FF

    oklch(88.1% 0.058 277.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECD97A

    #ECD97A

    oklch(88.1% 0.118 98.3)

  • #FFCE98

    #FFCE98

    oklch(88.2% 0.089 69)

  • #C1E792

    #C1E792

    oklch(88.1% 0.118 128.2)

Open the analogous palette in the generator

Split complementary

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

  • #ECD97A

    #ECD97A

    oklch(88.1% 0.118 98.3)

  • #B9DCFF

    #B9DCFF

    oklch(88.1% 0.061 248.5)

  • #E6CBFF

    #E6CBFF

    oklch(88.1% 0.076 308.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECD97A

    #ECD97A

    oklch(88.1% 0.118 98.3)

  • #92E6FF

    #92E6FF

    oklch(88% 0.088 218.8)

  • #FFC2EC

    #FFC2EC

    oklch(88.1% 0.088 338.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECD97A

    #ECD97A

    oklch(88.1% 0.118 98.3)

  • #6CF1E7

    #6CF1E7

    oklch(88.1% 0.118 188.5)

  • #CED5FF

    #CED5FF

    oklch(88.1% 0.058 277.7)

  • #FFC7CF

    #FFC7CF

    oklch(88.1% 0.065 8.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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