#ECCC68

Closest named color: Sand (#E2CA76). oklch(85.3% 0.125 91.9), rgb(236, 204, 104).

Aa

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

About this color

#ECCC68 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.125 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.021 away. Black text reads best on it, at 13.40:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.40:1
White text1.56:1

Values

HEX#ECCC68
RGBrgb(236, 204, 104)
HSLhsl(45, 78%, 67%)
OKLCHoklch(85.3% 0.125 91.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 #ECCC68 1.56:1 Fails Lc -29.2 Dividers and decoration only
Black text on #ECCC68 13.40:1 AAA Lc 78.0 Fine for body text
#ECCC68 text on white 1.56:1 Fails Lc 25.8 Dividers and decoration only
#ECCC68 text on black 13.40:1 AAA Lc -77.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

    #FAF5E6

    oklch(97% 0.02 91.6)

  2. Step 100

    100

    #F5EAC7

    oklch(93.7% 0.047 92.6)

  3. Step 200

    200 (this color)

    #ECCC68

    oklch(85.3% 0.125 91.9)

  4. Step 300

    300

    #E6BC1C

    oklch(80.9% 0.16 91.9)

  5. Step 400

    400

    #C19C00

    oklch(70.6% 0.144 91.7)

  6. Step 500

    500

    #A68600

    oklch(63.2% 0.129 91.9)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#ECCC68 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)#DFC95F0.023
Deuteranopia (no green cones)#E7D26C0.015
Tritanopia (no blue cones)#FDBEB50.114
Achromatopsia (no color)#CECECE0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #ECCC68

    #ECCC68

    oklch(85.3% 0.125 91.9)

  • #BECDFF

    #BECDFF

    oklch(85.4% 0.072 271.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #ECCC68

    #ECCC68

    oklch(85.3% 0.125 91.9)

  • #FFC089

    #FFC089

    oklch(85.3% 0.101 61.9)

  • #C1DC7C

    #C1DC7C

    oklch(85.3% 0.126 122)

Open the analogous palette in the generator

Split complementary

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

  • #ECCC68

    #ECCC68

    oklch(85.3% 0.125 91.9)

  • #A0D6FF

    #A0D6FF

    oklch(85.3% 0.08 241.6)

  • #D9C2FF

    #D9C2FF

    oklch(85.4% 0.087 301.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #ECCC68

    #ECCC68

    oklch(85.3% 0.125 91.9)

  • #56E4FE

    #56E4FE

    oklch(85.3% 0.125 212.1)

  • #FFB0F3

    #FFB0F3

    oklch(85.3% 0.125 332.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #ECCC68

    #ECCC68

    oklch(85.3% 0.125 91.9)

  • #5DE9D4

    #5DE9D4

    oklch(85.2% 0.125 181.7)

  • #BECDFF

    #BECDFF

    oklch(85.4% 0.072 271.8)

  • #FFB8CA

    #FFB8CA

    oklch(85.3% 0.085 2.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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