#DFD772

Closest named color: Sandy (#F1DA7A). oklch(86.5% 0.124 104.6), rgb(223, 215, 114).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.124)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.10:1
White text1.48:1

Values

HEX#DFD772
RGBrgb(223, 215, 114)
HSLhsl(56, 63%, 66%)
OKLCHoklch(86.5% 0.124 104.6)

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 #DFD772 1.48:1 Fails Lc -26.1 Dividers and decoration only
Black text on #DFD772 14.10:1 AAA Lc 80.8 Fine for body text
#DFD772 text on white 1.48:1 Fails Lc 22.9 Dividers and decoration only
#DFD772 text on black 14.10:1 AAA Lc -80.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

    #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)

    #DFD772

    oklch(86.5% 0.124 104.6)

  4. Step 300

    300

    #D1C52F

    oklch(80.9% 0.159 104.6)

  5. Step 400

    400

    #B0A400

    oklch(70.6% 0.149 104.3)

  6. Step 500

    500

    #978D00

    oklch(63.2% 0.134 104.6)

  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

#DFD772 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)#E6D1690.016
Deuteranopia (no green cones)#E9D6770.016
Tritanopia (no blue cones)#EDCBC00.113
Achromatopsia (no color)#D4D4D40.124

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD772

    #DFD772

    oklch(86.5% 0.124 104.6)

  • #CDCDFF

    #CDCDFF

    oklch(86.5% 0.069 284.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD772

    #DFD772

    oklch(86.5% 0.124 104.6)

  • #FFC87A

    #FFC87A

    oklch(86.6% 0.114 75)

  • #B0E591

    #B0E591

    oklch(86.5% 0.124 134.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFD772

    #DFD772

    oklch(86.5% 0.124 104.6)

  • #B5D5FF

    #B5D5FF

    oklch(86.4% 0.068 255.3)

  • #EAC0FF

    #EAC0FF

    oklch(86.5% 0.096 314.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD772

    #DFD772

    oklch(86.5% 0.124 104.6)

  • #8FE0FF

    #8FE0FF

    oklch(86.6% 0.09 224.3)

  • #FFBBE1

    #FFBBE1

    oklch(86.5% 0.092 344.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD772

    #DFD772

    oklch(86.5% 0.124 104.6)

  • #59ECEB

    #59ECEB

    oklch(86.5% 0.124 194.5)

  • #CDCDFF

    #CDCDFF

    oklch(86.5% 0.069 284.9)

  • #FFBFC3

    #FFBFC3

    oklch(86.4% 0.074 14.5)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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