#EFE87E

Closest named color: Khaki (#F0E68C). oklch(91.5% 0.129 105.3), rgb(239, 232, 126).

Aa

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

About this color

#EFE87E is a very light, moderately saturated yellow. In OKLCH its lightness is 91%, its chroma 0.129 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Khaki (#F0E68C), ΔE 0.017 away. Black text reads best on it, at 16.51:1.

Hue familyYellows
Lightnessvery light (91%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameKhaki (#F0E68C)
Black text16.51:1
White text1.27:1

Values

HEX#EFE87E
RGBrgb(239, 232, 126)
HSLhsl(56, 78%, 72%)
OKLCHoklch(91.5% 0.129 105.3)

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 #EFE87E 1.27:1 Fails Lc -15.5 Dividers and decoration only
Black text on #EFE87E 16.51:1 AAA Lc 90.2 Preferred for body text
#EFE87E text on white 1.27:1 Fails Lc 13.4 Not readable
#EFE87E text on black 16.51:1 AAA Lc -90.5 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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100 (this color)

    #EFE87E

    oklch(91.5% 0.129 105.3)

  3. Step 200

    200

    #E1DD95

    oklch(88.4% 0.092 105.4)

  4. Step 300

    300

    #D1C621

    oklch(81% 0.165 105.3)

  5. Step 400

    400

    #AFA500

    oklch(70.8% 0.15 105.3)

  6. Step 500

    500

    #968D00

    oklch(63.1% 0.134 105.1)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #6A6300

    oklch(49.1% 0.104 104.8)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#EFE87E 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)#F8E1750.019
Deuteranopia (no green cones)#FBE6830.019
Tritanopia (no blue cones)#FDDCCF0.116
Achromatopsia (no color)#E4E4E40.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #EFE87E

    #EFE87E

    oklch(91.5% 0.129 105.3)

  • #DFDFFF

    #DFDFFF

    oklch(91.4% 0.043 285.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #EFE87E

    #EFE87E

    oklch(91.5% 0.129 105.3)

  • #FFDDAF

    #FFDDAF

    oklch(91.5% 0.071 75.1)

  • #BDF69F

    #BDF69F

    oklch(91.4% 0.128 135.3)

Open the analogous palette in the generator

Split complementary

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

  • #EFE87E

    #EFE87E

    oklch(91.5% 0.129 105.3)

  • #D1E5FF

    #D1E5FF

    oklch(91.5% 0.042 255)

  • #F3D7FF

    #F3D7FF

    oklch(91.4% 0.061 315.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #EFE87E

    #EFE87E

    oklch(91.5% 0.129 105.3)

  • #BCEBFF

    #BCEBFF

    oklch(91.4% 0.056 225.7)

  • #FFD5EB

    #FFD5EB

    oklch(91.5% 0.055 345.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #EFE87E

    #EFE87E

    oklch(91.5% 0.129 105.3)

  • #64FDFE

    #64FDFE

    oklch(91.4% 0.128 195.8)

  • #DFDFFF

    #DFDFFF

    oklch(91.4% 0.043 285.5)

  • #FFD8D9

    #FFD8D9

    oklch(91.5% 0.044 16.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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