#E0CA4F

Closest named color: Maize (#F4D054). oklch(83.5% 0.142 99.1), rgb(224, 202, 79).

Aa

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

About this color

#E0CA4F is a light, vivid yellow. In OKLCH its lightness is 83%, its chroma 0.142 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Maize (#F4D054), ΔE 0.035 away. Black text reads best on it, at 12.73:1.

Hue familyYellows
Lightnesslight (83%)
Chromavivid (0.142)
Temperaturewarm
Nearest nameMaize (#F4D054)
Black text12.73:1
White text1.64:1

Values

HEX#E0CA4F
RGBrgb(224, 202, 79)
HSLhsl(51, 70%, 59%)
OKLCHoklch(83.5% 0.142 99.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 #E0CA4F 1.64:1 Fails Lc -32.3 Non-text elements, placeholder text
Black text on #E0CA4F 12.73:1 AAA Lc 75.2 Fine for body text
#E0CA4F text on white 1.64:1 Fails Lc 28.6 Dividers and decoration only
#E0CA4F text on black 12.73:1 AAA Lc -74.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

    #F8F6E8

    oklch(97.1% 0.019 100.1)

  2. Step 100

    100

    #F0EBCC

    oklch(93.6% 0.041 99.6)

  3. Step 200

    200

    #E6DB9E

    oklch(88.6% 0.08 99.1)

  4. Step 300

    300 (this color)

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  5. Step 400

    400

    #B8A100

    oklch(70.8% 0.147 99)

  6. Step 500

    500

    #9D8A00

    oklch(63.1% 0.131 99.5)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#E0CA4F 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)#DCC5400.016
Deuteranopia (no green cones)#E2CD560.009
Tritanopia (no blue cones)#F1BCB00.130
Achromatopsia (no color)#C9C9C90.142

Harmonies

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

Complementary

The opposite hue (180°).

  • #E0CA4F

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  • #BDC4FF

    #BDC4FF

    oklch(83.5% 0.083 279.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E0CA4F

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  • #FFB966

    #FFB966

    oklch(83.5% 0.128 69.1)

  • #ACDB73

    #ACDB73

    oklch(83.5% 0.142 129.1)

Open the analogous palette in the generator

Split complementary

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

  • #E0CA4F

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  • #9ECEFF

    #9ECEFF

    oklch(83.5% 0.086 249.4)

  • #DEB5FF

    #DEB5FF

    oklch(83.4% 0.11 309.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E0CA4F

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  • #5ADCFF

    #5ADCFF

    oklch(83.6% 0.123 218.8)

  • #FFA8E4

    #FFA8E4

    oklch(83.5% 0.126 339)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E0CA4F

    #E0CA4F

    oklch(83.5% 0.142 99.1)

  • #17E6DC

    #17E6DC

    oklch(83.5% 0.142 189.2)

  • #BDC4FF

    #BDC4FF

    oklch(83.5% 0.083 279.2)

  • #FFB0BC

    #FFB0BC

    oklch(83.6% 0.093 9.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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