#E7E8AF

Closest named color: Pale Goldenrod (#EEE8AA). oklch(91.6% 0.074 108.6), rgb(231, 232, 175).

Aa

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

About this color

#E7E8AF is a very light, moderately saturated yellow. In OKLCH its lightness is 92%, its chroma 0.074 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Pale Goldenrod (#EEE8AA), ΔE 0.010 away. Black text reads best on it, at 16.55:1.

Hue familyYellows
Lightnessvery light (92%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest namePale Goldenrod (#EEE8AA)
Black text16.55:1
White text1.26:1

Values

HEX#E7E8AF
RGBrgb(231, 232, 175)
HSLhsl(61, 55%, 80%)
OKLCHoklch(91.6% 0.074 108.6)

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 #E7E8AF 1.26:1 Fails Lc -15.4 Dividers and decoration only
Black text on #E7E8AF 16.55:1 AAA Lc 90.3 Preferred for body text
#E7E8AF text on white 1.26:1 Fails Lc 13.3 Not readable
#E7E8AF text on black 16.55:1 AAA Lc -90.6 Preferred 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 100.

  1. Step 50

    50

    #F6F6ED

    oklch(97.1% 0.012 106.6)

  2. Step 100

    100 (this color)

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  3. Step 200

    200

    #DBDCB5

    oklch(88.4% 0.052 108.6)

  4. Step 300

    300

    #C5C67C

    oklch(80.9% 0.096 109)

  5. Step 400

    400

    #A9A706

    oklch(70.7% 0.152 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#E7E8AF 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)#F1E3AB0.017
Deuteranopia (no green cones)#F2E5B10.017
Tritanopia (no blue cones)#EFE1D90.065
Achromatopsia (no color)#E4E4E40.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7E8AF

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  • #E2DFFF

    #E2DFFF

    oklch(91.6% 0.043 289.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7E8AF

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  • #FFDEAC

    #FFDEAC

    oklch(91.6% 0.074 77.9)

  • #CBF0C1

    #CBF0C1

    oklch(91.7% 0.074 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #E7E8AF

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  • #D3E5FF

    #D3E5FF

    oklch(91.7% 0.04 257.5)

  • #F6D7FF

    #F6D7FF

    oklch(91.7% 0.063 318.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7E8AF

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  • #C1EBFF

    #C1EBFF

    oklch(91.7% 0.051 228.4)

  • #FFD6E9

    #FFD6E9

    oklch(91.6% 0.052 348.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7E8AF

    #E7E8AF

    oklch(91.6% 0.074 108.6)

  • #A8F3F6

    #A8F3F6

    oklch(91.6% 0.074 199.1)

  • #E2DFFF

    #E2DFFF

    oklch(91.6% 0.043 289.8)

  • #FFD9D8

    #FFD9D8

    oklch(91.7% 0.043 19.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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