#DFCF98

Closest named color: Vanilla (#E9D8A6). oklch(85.5% 0.074 93.8), rgb(223, 207, 152).

Aa

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

About this color

#DFCF98 is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.074 and its hue 94°. Its hue sits on the warm side of the wheel. The nearest named color is Vanilla (#E9D8A6), ΔE 0.030 away. Black text reads best on it, at 13.51:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.074)
Temperaturewarm
Nearest nameVanilla (#E9D8A6)
Black text13.51:1
White text1.55:1

Values

HEX#DFCF98
RGBrgb(223, 207, 152)
HSLhsl(46, 53%, 74%)
OKLCHoklch(85.5% 0.074 93.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 #DFCF98 1.55:1 Fails Lc -28.8 Dividers and decoration only
Black text on #DFCF98 13.51:1 AAA Lc 78.4 Fine for body text
#DFCF98 text on white 1.55:1 Fails Lc 25.4 Dividers and decoration only
#DFCF98 text on black 13.51:1 AAA Lc -77.7 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

    #F8F5EC

    oklch(97% 0.012 91.5)

  2. Step 100

    100

    #F0EAD6

    oklch(93.6% 0.027 93.1)

  3. Step 200

    200 (this color)

    #DFCF98

    oklch(85.5% 0.074 93.8)

  4. Step 300

    300

    #D5C078

    oklch(81% 0.095 93.7)

  5. Step 400

    400

    #BF9E00

    oklch(70.8% 0.145 93.9)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2500

    oklch(26.8% 0.055 93.5)

Export this scale for Tailwind in the Tailwind colors tool

#DFCF98 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)#DBCC940.010
Deuteranopia (no green cones)#DFD29A0.007
Tritanopia (no blue cones)#EAC7C10.067
Achromatopsia (no color)#CFCFCF0.074

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFCF98

    #DFCF98

    oklch(85.5% 0.074 93.8)

  • #C0CDFF

    #C0CDFF

    oklch(85.5% 0.071 273.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFCF98

    #DFCF98

    oklch(85.5% 0.074 93.8)

  • #F2C69D

    #F2C69D

    oklch(85.5% 0.074 64.6)

  • #C5D8A3

    #C5D8A3

    oklch(85.5% 0.074 124)

Open the analogous palette in the generator

Split complementary

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

  • #DFCF98

    #DFCF98

    oklch(85.5% 0.074 93.8)

  • #A6D5FD

    #A6D5FD

    oklch(85.4% 0.075 244.5)

  • #D9C4F7

    #D9C4F7

    oklch(85.4% 0.073 303.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFCF98

    #DFCF98

    oklch(85.5% 0.074 93.8)

  • #96DCED

    #96DCED

    oklch(85.4% 0.074 214.6)

  • #EEBEE4

    #EEBEE4

    oklch(85.5% 0.074 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFCF98

    #DFCF98

    oklch(85.5% 0.074 93.8)

  • #97E0D4

    #97E0D4

    oklch(85.5% 0.075 183.1)

  • #C0CDFF

    #C0CDFF

    oklch(85.5% 0.071 273.4)

  • #FABCCA

    #FABCCA

    oklch(85.5% 0.073 3.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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