#DFD199

Closest named color: Vanilla (#E9D8A6). oklch(85.9% 0.074 95.8), rgb(223, 209, 153).

Aa

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

About this color

#DFD199 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.074 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.074)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text13.71:1
White text1.53:1

Values

HEX#DFD199
RGBrgb(223, 209, 153)
HSLhsl(48, 52%, 74%)
OKLCHoklch(85.9% 0.074 95.8)

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

    #EFEAD6

    oklch(93.6% 0.027 95.4)

  3. Step 200

    200 (this color)

    #DFD199

    oklch(85.9% 0.074 95.8)

  4. Step 300

    300

    #D3C177

    oklch(81% 0.096 96.1)

  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

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #726000

    oklch(49.2% 0.101 96.3)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  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

#DFD199 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)#DCCE950.010
Deuteranopia (no green cones)#E0D39B0.005
Tritanopia (no blue cones)#EAC9C20.067
Achromatopsia (no color)#D1D1D10.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD199

    #DFD199

    oklch(85.9% 0.074 95.8)

  • #C3CEFF

    #C3CEFF

    oklch(85.9% 0.069 275)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD199

    #DFD199

    oklch(85.9% 0.074 95.8)

  • #F3C79D

    #F3C79D

    oklch(85.8% 0.075 65.2)

  • #C5DAA5

    #C5DAA5

    oklch(85.9% 0.074 125.5)

Open the analogous palette in the generator

Split complementary

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

  • #DFD199

    #DFD199

    oklch(85.9% 0.074 95.8)

  • #A9D6FF

    #A9D6FF

    oklch(85.8% 0.074 246.3)

  • #DCC5F8

    #DCC5F8

    oklch(85.9% 0.074 305.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD199

    #DFD199

    oklch(85.9% 0.074 95.8)

  • #97DDF0

    #97DDF0

    oklch(85.8% 0.075 216.6)

  • #F1BFE4

    #F1BFE4

    oklch(86% 0.075 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD199

    #DFD199

    oklch(85.9% 0.074 95.8)

  • #97E1D8

    #97E1D8

    oklch(85.9% 0.075 186.3)

  • #C3CEFF

    #C3CEFF

    oklch(85.9% 0.069 275)

  • #FCBDC9

    #FCBDC9

    oklch(85.9% 0.074 6.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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