#E7E17B

Closest named color: Sandy (#F1DA7A). oklch(89.3% 0.125 105.7), rgb(231, 225, 123).

Aa

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

About this color

#E7E17B is a light, moderately saturated yellow. In OKLCH its lightness is 89%, its chroma 0.125 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.022 away. Black text reads best on it, at 15.45:1.

Hue familyYellows
Lightnesslight (89%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text15.45:1
White text1.35:1

Values

HEX#E7E17B
RGBrgb(231, 225, 123)
HSLhsl(57, 69%, 69%)
OKLCHoklch(89.3% 0.125 105.7)

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 #E7E17B 1.35:1 Fails Lc -20.1 Dividers and decoration only
Black text on #E7E17B 15.45:1 AAA Lc 86.1 Fine for body text
#E7E17B text on white 1.35:1 Fails Lc 17.5 Dividers and decoration only
#E7E17B text on black 15.45:1 AAA Lc -86.1 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EEECC9

    oklch(93.6% 0.046 104.6)

  3. Step 200

    200 (this color)

    #E7E17B

    oklch(89.3% 0.125 105.7)

  4. Step 300

    300

    #CFC62E

    oklch(80.9% 0.16 105.9)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#E7E17B 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)#F0DA720.019
Deuteranopia (no green cones)#F3DF800.019
Tritanopia (no blue cones)#F5D5C90.113
Achromatopsia (no color)#DDDDDD0.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #E7E17B

    #E7E17B

    oklch(89.3% 0.125 105.7)

  • #D8D7FF

    #D8D7FF

    oklch(89.3% 0.055 286.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #E7E17B

    #E7E17B

    oklch(89.3% 0.125 105.7)

  • #FFD498

    #FFD498

    oklch(89.3% 0.09 75.4)

  • #B7EF9B

    #B7EF9B

    oklch(89.4% 0.125 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #E7E17B

    #E7E17B

    oklch(89.3% 0.125 105.7)

  • #C5DEFF

    #C5DEFF

    oklch(89.3% 0.053 255.4)

  • #F0CDFF

    #F0CDFF

    oklch(89.3% 0.077 315.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #E7E17B

    #E7E17B

    oklch(89.3% 0.125 105.7)

  • #ABE6FF

    #ABE6FF

    oklch(89.3% 0.069 226)

  • #FFCAE6

    #FFCAE6

    oklch(89.3% 0.07 345.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #E7E17B

    #E7E17B

    oklch(89.3% 0.125 105.7)

  • #62F5F6

    #62F5F6

    oklch(89.2% 0.124 195.8)

  • #D8D7FF

    #D8D7FF

    oklch(89.3% 0.055 286.4)

  • #FFCECF

    #FFCECF

    oklch(89.4% 0.056 16.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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