#E2CF7E

Closest named color: Sand (#E2CA76). oklch(85.3% 0.104 96.5), rgb(226, 207, 126).

Aa

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

About this color

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

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

Values

HEX#E2CF7E
RGBrgb(226, 207, 126)
HSLhsl(49, 63%, 69%)
OKLCHoklch(85.3% 0.104 96.5)

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 #E2CF7E 1.56:1 Fails Lc -29.0 Dividers and decoration only
Black text on #E2CF7E 13.46:1 AAA Lc 78.2 Fine for body text
#E2CF7E text on white 1.56:1 Fails Lc 25.6 Dividers and decoration only
#E2CF7E text on black 13.46:1 AAA Lc -77.5 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

    #F9F6E8

    oklch(97.2% 0.019 96.9)

  2. Step 100

    100

    #F1EACE

    oklch(93.5% 0.038 95.5)

  3. Step 200

    200 (this color)

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  4. Step 300

    300

    #D9C050

    oklch(80.8% 0.133 96.7)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#E2CF7E 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)#DECB780.013
Deuteranopia (no green cones)#E3D2810.008
Tritanopia (no blue cones)#F0C4BB0.094
Achromatopsia (no color)#CFCFCF0.104

Harmonies

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

Complementary

The opposite hue (180°).

  • #E2CF7E

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  • #C1CBFF

    #C1CBFF

    oklch(85.2% 0.073 276.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E2CF7E

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  • #FDC184

    #FDC184

    oklch(85.2% 0.104 66.1)

  • #BDDB91

    #BDDB91

    oklch(85.2% 0.103 126.4)

Open the analogous palette in the generator

Split complementary

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

  • #E2CF7E

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  • #A6D4FF

    #A6D4FF

    oklch(85.2% 0.077 247)

  • #DEBFFF

    #DEBFFF

    oklch(85.2% 0.093 306.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E2CF7E

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  • #77E0FA

    #77E0FA

    oklch(85.3% 0.104 215.9)

  • #FBB5E8

    #FBB5E8

    oklch(85.3% 0.104 336.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E2CF7E

    #E2CF7E

    oklch(85.3% 0.104 96.5)

  • #76E5D9

    #76E5D9

    oklch(85.3% 0.104 186.2)

  • #C1CBFF

    #C1CBFF

    oklch(85.2% 0.073 276.2)

  • #FFB8C6

    #FFB8C6

    oklch(85.2% 0.084 6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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