#DFD978

Closest named color: Sandy (#F1DA7A). oklch(87% 0.12 105.5), rgb(223, 217, 120).

Aa

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

About this color

#DFD978 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.026 away. Black text reads best on it, at 14.33:1.

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

Values

HEX#DFD978
RGBrgb(223, 217, 120)
HSLhsl(57, 62%, 67%)
OKLCHoklch(87% 0.12 105.5)

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 #DFD978 1.46:1 Fails Lc -25.0 Dividers and decoration only
Black text on #DFD978 14.33:1 AAA Lc 81.7 Fine for body text
#DFD978 text on white 1.46:1 Fails Lc 22.0 Dividers and decoration only
#DFD978 text on black 14.33:1 AAA Lc -81.3 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

    #EDECCA

    oklch(93.5% 0.045 105.8)

  3. Step 200

    200 (this color)

    #DFD978

    oklch(87% 0.12 105.5)

  4. Step 300

    300

    #CFC639

    oklch(81% 0.154 105.7)

  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

    #7E7600

    oklch(55.5% 0.118 104.9)

  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

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#DFD978 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)#E8D3700.018
Deuteranopia (no green cones)#EAD77C0.018
Tritanopia (no blue cones)#ECCEC20.108
Achromatopsia (no color)#D5D5D50.120

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD978

    #DFD978

    oklch(87% 0.12 105.5)

  • #CFCFFF

    #CFCFFF

    oklch(87% 0.066 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD978

    #DFD978

    oklch(87% 0.12 105.5)

  • #FFCA7D

    #FFCA7D

    oklch(87% 0.112 75.7)

  • #B1E696

    #B1E696

    oklch(86.9% 0.119 135.5)

Open the analogous palette in the generator

Split complementary

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

  • #DFD978

    #DFD978

    oklch(87% 0.12 105.5)

  • #B8D7FF

    #B8D7FF

    oklch(87% 0.065 254.9)

  • #ECC2FF

    #ECC2FF

    oklch(87% 0.094 315.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD978

    #DFD978

    oklch(87% 0.12 105.5)

  • #95E1FF

    #95E1FF

    oklch(87.1% 0.086 224.9)

  • #FFBDE1

    #FFBDE1

    oklch(86.9% 0.088 345.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD978

    #DFD978

    oklch(87% 0.12 105.5)

  • #61EDED

    #61EDED

    oklch(87.1% 0.12 195.2)

  • #CFCFFF

    #CFCFFF

    oklch(87% 0.066 284.9)

  • #FFC2C5

    #FFC2C5

    oklch(87% 0.07 15.3)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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