#DCD98F

Closest named color: Sandy (#F1DA7A). oklch(87.1% 0.095 106.2), rgb(220, 217, 143).

Aa

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

About this color

#DCD98F is a light, moderately saturated yellow. In OKLCH its lightness is 87%, its chroma 0.095 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Sandy (#F1DA7A), ΔE 0.035 away. Black text reads best on it, at 14.36:1.

Hue familyYellows
Lightnesslight (87%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameSandy (#F1DA7A)
Black text14.36:1
White text1.46:1

Values

HEX#DCD98F
RGBrgb(220, 217, 143)
HSLhsl(58, 52%, 71%)
OKLCHoklch(87.1% 0.095 106.2)

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 #DCD98F 1.46:1 Fails Lc -24.9 Dividers and decoration only
Black text on #DCD98F 14.36:1 AAA Lc 81.8 Fine for body text
#DCD98F text on white 1.46:1 Fails Lc 21.9 Dividers and decoration only
#DCD98F text on black 14.36:1 AAA Lc -81.4 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

    #F6F6EA

    oklch(97% 0.016 106.7)

  2. Step 100

    100

    #ECECD1

    oklch(93.6% 0.036 107.1)

  3. Step 200

    200 (this color)

    #DCD98F

    oklch(87.1% 0.095 106.2)

  4. Step 300

    300

    #CBC663

    oklch(81% 0.122 106.2)

  5. Step 400

    400

    #ADA500

    oklch(70.6% 0.151 106.2)

  6. Step 500

    500

    #948E00

    oklch(63.1% 0.135 106.7)

  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

    #474400

    oklch(37.7% 0.081 106.8)

  11. Step 950

    950

    #2A2800

    oklch(27% 0.058 106.8)

Export this scale for Tailwind in the Tailwind colors tool

#DCD98F 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)#E5D38A0.018
Deuteranopia (no green cones)#E7D7920.017
Tritanopia (no blue cones)#E7D0C60.085
Achromatopsia (no color)#D5D5D50.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCD98F

    #DCD98F

    oklch(87.1% 0.095 106.2)

  • #D0CFFF

    #D0CFFF

    oklch(87.1% 0.066 285.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCD98F

    #DCD98F

    oklch(87.1% 0.095 106.2)

  • #F8CD8D

    #F8CD8D

    oklch(87.1% 0.095 76.9)

  • #B8E3A5

    #B8E3A5

    oklch(87% 0.095 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #DCD98F

    #DCD98F

    oklch(87.1% 0.095 106.2)

  • #BAD7FF

    #BAD7FF

    oklch(87.1% 0.064 256.5)

  • #EDC2FF

    #EDC2FF

    oklch(87.1% 0.094 315.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCD98F

    #DCD98F

    oklch(87.1% 0.095 106.2)

  • #98E0FF

    #98E0FF

    oklch(87% 0.083 226.9)

  • #FFBEE0

    #FFBEE0

    oklch(87% 0.086 346.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCD98F

    #DCD98F

    oklch(87.1% 0.095 106.2)

  • #84E8E9

    #84E8E9

    oklch(87.1% 0.094 196.4)

  • #D0CFFF

    #D0CFFF

    oklch(87.1% 0.066 285.9)

  • #FFC3C5

    #FFC3C5

    oklch(87.1% 0.069 16.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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