#DFD18A

Closest named color: Sand (#E2CA76). oklch(85.6% 0.092 98.4), rgb(223, 209, 138).

Aa

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

About this color

#DFD18A is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.092 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.023 away. Black text reads best on it, at 13.62:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.092)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.62:1
White text1.54:1

Values

HEX#DFD18A
RGBrgb(223, 209, 138)
HSLhsl(50, 57%, 71%)
OKLCHoklch(85.6% 0.092 98.4)

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 #DFD18A 1.54:1 Fails Lc -28.2 Dividers and decoration only
Black text on #DFD18A 13.62:1 AAA Lc 78.8 Fine for body text
#DFD18A text on white 1.54:1 Fails Lc 24.9 Dividers and decoration only
#DFD18A text on black 13.62:1 AAA Lc -78.2 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

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #EFEBD1

    oklch(93.6% 0.035 99.9)

  3. Step 200

    200 (this color)

    #DFD18A

    oklch(85.6% 0.092 98.4)

  4. Step 300

    300

    #D4C262

    oklch(81% 0.119 98.9)

  5. Step 400

    400

    #B9A000

    oklch(70.6% 0.146 97.9)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4C4100

    oklch(37.5% 0.078 98.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#DFD18A 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)#DECD850.010
Deuteranopia (no green cones)#E2D28D0.006
Tritanopia (no blue cones)#EBC7BF0.084
Achromatopsia (no color)#D0D0D00.092

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD18A

    #DFD18A

    oklch(85.6% 0.092 98.4)

  • #C4CCFF

    #C4CCFF

    oklch(85.6% 0.072 277.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD18A

    #DFD18A

    oklch(85.6% 0.092 98.4)

  • #F8C58E

    #F8C58E

    oklch(85.6% 0.092 68.2)

  • #BEDC9B

    #BEDC9B

    oklch(85.7% 0.092 128.3)

Open the analogous palette in the generator

Split complementary

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

  • #DFD18A

    #DFD18A

    oklch(85.6% 0.092 98.4)

  • #AAD5FF

    #AAD5FF

    oklch(85.7% 0.074 248.1)

  • #E1C0FE

    #E1C0FE

    oklch(85.6% 0.091 308.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD18A

    #DFD18A

    oklch(85.6% 0.092 98.4)

  • #86DFF8

    #86DFF8

    oklch(85.7% 0.092 217.8)

  • #F8B9E4

    #F8B9E4

    oklch(85.6% 0.091 338.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD18A

    #DFD18A

    oklch(85.6% 0.092 98.4)

  • #84E4DB

    #84E4DB

    oklch(85.7% 0.092 187.8)

  • #C4CCFF

    #C4CCFF

    oklch(85.6% 0.072 277.8)

  • #FFBAC5

    #FFBAC5

    oklch(85.5% 0.081 8.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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