#DFD862

Closest named color: Dull Yellow (#EEDC5B). oklch(86.5% 0.14 105.8), rgb(223, 216, 98).

Aa

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

About this color

#DFD862 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.140 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.025 away. Black text reads best on it, at 14.13:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.140)
Temperaturewarm
Nearest nameDull Yellow (#EEDC5B)
Black text14.13:1
White text1.48:1

Values

HEX#DFD862
RGBrgb(223, 216, 98)
HSLhsl(57, 66%, 63%)
OKLCHoklch(86.5% 0.14 105.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 #DFD862 1.48:1 Fails Lc -25.9 Dividers and decoration only
Black text on #DFD862 14.13:1 AAA Lc 81.0 Fine for body text
#DFD862 text on white 1.48:1 Fails Lc 22.8 Dividers and decoration only
#DFD862 text on black 14.13:1 AAA Lc -80.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

    #F7F7E5

    oklch(97.1% 0.024 106.8)

  2. Step 100

    100

    #EEEDC5

    oklch(93.7% 0.052 106.2)

  3. Step 200

    200 (this color)

    #DFD862

    oklch(86.5% 0.14 105.8)

  4. Step 300

    300

    #D0C600

    oklch(80.9% 0.172 106)

  5. Step 400

    400

    #AEA500

    oklch(70.7% 0.151 105.7)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7D7700

    oklch(55.7% 0.119 106.2)

  8. Step 700

    700

    #696400

    oklch(49.2% 0.105 106.3)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484400

    oklch(37.8% 0.081 105.9)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#DFD862 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)#E8D1560.020
Deuteranopia (no green cones)#EBD6680.020
Tritanopia (no blue cones)#EECBBE0.127
Achromatopsia (no color)#D4D4D40.140

Harmonies

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

Complementary

The opposite hue (180°).

  • #DFD862

    #DFD862

    oklch(86.5% 0.14 105.8)

  • #CECDFF

    #CECDFF

    oklch(86.6% 0.069 285.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DFD862

    #DFD862

    oklch(86.5% 0.14 105.8)

  • #FFC877

    #FFC877

    oklch(86.5% 0.117 75.8)

  • #A9E789

    #A9E789

    oklch(86.4% 0.139 135.6)

Open the analogous palette in the generator

Split complementary

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

  • #DFD862

    #DFD862

    oklch(86.5% 0.14 105.8)

  • #B6D5FF

    #B6D5FF

    oklch(86.5% 0.067 256.1)

  • #ECBFFF

    #ECBFFF

    oklch(86.5% 0.099 315.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DFD862

    #DFD862

    oklch(86.5% 0.14 105.8)

  • #91DFFF

    #91DFFF

    oklch(86.4% 0.089 225.9)

  • #FFBBDF

    #FFBBDF

    oklch(86.5% 0.09 346.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DFD862

    #DFD862

    oklch(86.5% 0.14 105.8)

  • #32EEF0

    #32EEF0

    oklch(86.4% 0.139 196)

  • #CECDFF

    #CECDFF

    oklch(86.6% 0.069 285.8)

  • #FFC0C2

    #FFC0C2

    oklch(86.5% 0.073 16.6)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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