#DFD198

Closest named color: Vanilla (#E9D8A6). oklch(85.9% 0.076 96), rgb(223, 209, 152).

Aa

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

About this color

#DFD198 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.076 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.027 away. Black text reads best on it, at 13.71:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.076)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text13.71:1
White text1.53:1

Values

HEX#DFD198
RGBrgb(223, 209, 152)
HSLhsl(48, 53%, 74%)
OKLCHoklch(85.9% 0.076 96)

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 #DFD198 1.53:1 Fails Lc -27.9 Dividers and decoration only
Black text on #DFD198 13.71:1 AAA Lc 79.2 Fine for body text
#DFD198 text on white 1.53:1 Fails Lc 24.6 Dividers and decoration only
#DFD198 text on black 13.71:1 AAA Lc -78.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

    #F8F6EC

    oklch(97.2% 0.013 97.4)

  2. Step 100

    100

    #EFEAD5

    oklch(93.5% 0.028 95.9)

  3. Step 200

    200 (this color)

    #DFD198

    oklch(85.9% 0.076 96)

  4. Step 300

    300

    #D3C176

    oklch(80.9% 0.097 96.3)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFD198 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)#DCCE940.010
Deuteranopia (no green cones)#E0D39A0.005
Tritanopia (no blue cones)#EAC9C20.068
Achromatopsia (no color)#D1D1D10.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD198

    #DFD198

    oklch(85.9% 0.076 96)

  • #C3CDFF

    #C3CDFF

    oklch(85.7% 0.07 276)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD198

    #DFD198

    oklch(85.9% 0.076 96)

  • #F3C79C

    #F3C79C

    oklch(85.8% 0.076 65.9)

  • #C4DAA4

    #C4DAA4

    oklch(85.8% 0.076 126)

Open the analogous palette in the generator

Split complementary

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

  • #DFD198

    #DFD198

    oklch(85.9% 0.076 96)

  • #A9D6FF

    #A9D6FF

    oklch(85.8% 0.074 246.3)

  • #DDC4F9

    #DDC4F9

    oklch(85.8% 0.077 306.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD198

    #DFD198

    oklch(85.9% 0.076 96)

  • #96DEF0

    #96DEF0

    oklch(85.9% 0.076 215.2)

  • #F1BEE4

    #F1BEE4

    oklch(85.8% 0.076 335.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD198

    #DFD198

    oklch(85.9% 0.076 96)

  • #96E1D8

    #96E1D8

    oklch(85.8% 0.075 186.4)

  • #C3CDFF

    #C3CDFF

    oklch(85.7% 0.07 276)

  • #FDBCC9

    #FDBCC9

    oklch(85.8% 0.077 5.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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