#DFD877

Closest named color: Sandy (#F1DA7A). oklch(86.8% 0.12 105), rgb(223, 216, 119).

Aa

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

About this color

#DFD877 is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.120 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.027 away. Black text reads best on it, at 14.22:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.120)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.22:1
White text1.47:1

Values

HEX#DFD877
RGBrgb(223, 216, 119)
HSLhsl(56, 62%, 67%)
OKLCHoklch(86.8% 0.12 105)

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 #DFD877 1.47:1 Fails Lc -25.5 Dividers and decoration only
Black text on #DFD877 14.22:1 AAA Lc 81.3 Fine for body text
#DFD877 text on white 1.47:1 Fails Lc 22.4 Dividers and decoration only
#DFD877 text on black 14.22:1 AAA Lc -80.8 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

    #F7F7E7

    oklch(97.2% 0.021 106.8)

  2. Step 100

    100

    #EEECCA

    oklch(93.6% 0.045 104.5)

  3. Step 200

    200 (this color)

    #DFD877

    oklch(86.8% 0.12 105)

  4. Step 300

    300

    #D0C539

    oklch(80.9% 0.153 104.8)

  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

    #575100

    oklch(42.7% 0.09 104.7)

  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

#DFD877 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)#E7D26F0.017
Deuteranopia (no green cones)#EAD77B0.017
Tritanopia (no blue cones)#ECCDC10.108
Achromatopsia (no color)#D4D4D40.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD877

    #DFD877

    oklch(86.8% 0.12 105)

  • #CECEFF

    #CECEFF

    oklch(86.8% 0.068 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD877

    #DFD877

    oklch(86.8% 0.12 105)

  • #FFC97C

    #FFC97C

    oklch(86.8% 0.113 75.2)

  • #B1E595

    #B1E595

    oklch(86.7% 0.119 135.1)

Open the analogous palette in the generator

Split complementary

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

  • #DFD877

    #DFD877

    oklch(86.8% 0.12 105)

  • #B7D6FF

    #B7D6FF

    oklch(86.7% 0.066 255.5)

  • #EBC1FF

    #EBC1FF

    oklch(86.7% 0.095 314.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD877

    #DFD877

    oklch(86.8% 0.12 105)

  • #92E0FF

    #92E0FF

    oklch(86.7% 0.088 225.1)

  • #FFBCE1

    #FFBCE1

    oklch(86.7% 0.09 344.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD877

    #DFD877

    oklch(86.8% 0.12 105)

  • #61ECEC

    #61ECEC

    oklch(86.8% 0.119 195.2)

  • #CECEFF

    #CECEFF

    oklch(86.8% 0.068 284.9)

  • #FFC1C4

    #FFC1C4

    oklch(86.8% 0.071 15.4)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #DFD877.

Similar named colors

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

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