#DFDD02

Closest named color: Dandelion (#FEDF08). oklch(87% 0.189 109.1), rgb(223, 221, 2).

Aa

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

About this color

#DFDD02 is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.189 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Dandelion (#FEDF08), ΔE 0.046 away. Black text reads best on it, at 14.48:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.189)
Temperaturewarm
Nearest nameDandelion (#FEDF08)
Black text14.48:1
White text1.45:1

Values

HEX#DFDD02
RGBrgb(223, 221, 2)
HSLhsl(59, 98%, 44%)
OKLCHoklch(87% 0.189 109.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 #DFDD02 1.45:1 Fails Lc -24.2 Dividers and decoration only
Black text on #DFDD02 14.48:1 AAA Lc 82.5 Fine for body text
#DFDD02 text on white 1.45:1 Fails Lc 21.2 Dividers and decoration only
#DFDD02 text on black 14.48:1 AAA Lc -82.1 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

    #F7F8DF

    oklch(97.2% 0.033 108.9)

  2. Step 100

    100

    #EDEEB8

    oklch(93.5% 0.07 108.6)

  3. Step 200

    200 (this color)

    #DFDD02

    oklch(87% 0.189 109.1)

  4. Step 300

    300

    #CAC800

    oklch(80.8% 0.175 109)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535200

    oklch(42.6% 0.092 108.9)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#DFDD02 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)#F0D3000.034
Deuteranopia (no green cones)#F3D92A0.034
Tritanopia (no blue cones)#F0CEBC0.170
Achromatopsia (no color)#D6D6D60.189

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFDD02

    #DFDD02

    oklch(87% 0.189 109.1)

  • #D2CEFF

    #D2CEFF

    oklch(87.1% 0.067 288.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFDD02

    #DFDD02

    oklch(87% 0.189 109.1)

  • #FFCB74

    #FFCB74

    oklch(87% 0.12 79)

  • #8FF172

    #8FF172

    oklch(87% 0.188 139)

Open the analogous palette in the generator

Split complementary

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

  • #DFDD02

    #DFDD02

    oklch(87% 0.189 109.1)

  • #BCD6FF

    #BCD6FF

    oklch(87.1% 0.064 259.4)

  • #F2BFFF

    #F2BFFF

    oklch(87% 0.102 319.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFDD02

    #DFDD02

    oklch(87% 0.189 109.1)

  • #9CDFFF

    #9CDFFF

    oklch(87% 0.081 229.3)

  • #FFBFDD

    #FFBFDD

    oklch(87.1% 0.082 349.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFDD02

    #DFDD02

    oklch(87% 0.189 109.1)

  • #00F1F9

    #00F1F9

    oklch(87% 0.148 199.1)

  • #D2CEFF

    #D2CEFF

    oklch(87.1% 0.067 288.7)

  • #FFC3C2

    #FFC3C2

    oklch(87.1% 0.069 19.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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