#DFD981

Closest named color: Sandy (#F1DA7A). oklch(87.1% 0.11 105.1), rgb(223, 217, 129).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.110)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.37:1
White text1.46:1

Values

HEX#DFD981
RGBrgb(223, 217, 129)
HSLhsl(56, 59%, 69%)
OKLCHoklch(87.1% 0.11 105.1)

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 #DFD981 1.46:1 Fails Lc -24.8 Dividers and decoration only
Black text on #DFD981 14.37:1 AAA Lc 81.9 Fine for body text
#DFD981 text on white 1.46:1 Fails Lc 21.8 Dividers and decoration only
#DFD981 text on black 14.37:1 AAA Lc -81.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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EDECCD

    oklch(93.6% 0.041 105.6)

  3. Step 200

    200 (this color)

    #DFD981

    oklch(87.1% 0.11 105.1)

  4. Step 300

    300

    #CEC54B

    oklch(80.8% 0.141 105.1)

  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

#DFD981 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)#E7D37A0.017
Deuteranopia (no green cones)#E9D8850.016
Tritanopia (no blue cones)#EBCEC40.101
Achromatopsia (no color)#D6D6D60.110

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD981

    #DFD981

    oklch(87.1% 0.11 105.1)

  • #CFCFFF

    #CFCFFF

    oklch(87% 0.066 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD981

    #DFD981

    oklch(87.1% 0.11 105.1)

  • #FFCA80

    #FFCA80

    oklch(87% 0.11 74.8)

  • #B5E59B

    #B5E59B

    oklch(87% 0.11 135)

Open the analogous palette in the generator

Split complementary

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

  • #DFD981

    #DFD981

    oklch(87.1% 0.11 105.1)

  • #B9D7FF

    #B9D7FF

    oklch(87.1% 0.064 255.7)

  • #ECC3FF

    #ECC3FF

    oklch(87.2% 0.092 315)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD981

    #DFD981

    oklch(87.1% 0.11 105.1)

  • #96E1FF

    #96E1FF

    oklch(87.1% 0.085 225.2)

  • #FFBEE2

    #FFBEE2

    oklch(87.1% 0.087 344.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD981

    #DFD981

    oklch(87.1% 0.11 105.1)

  • #70EBEB

    #70EBEB

    oklch(87% 0.11 195.3)

  • #CFCFFF

    #CFCFFF

    oklch(87% 0.066 284.9)

  • #FFC3C6

    #FFC3C6

    oklch(87.2% 0.069 15.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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