#DCD08F

Closest named color: Sand (#E2CA76). oklch(85.2% 0.085 99), rgb(220, 208, 143).

Aa

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

About this color

#DCD08F is a light, moderately saturated yellow. In OKLCH its lightness is 85%, its chroma 0.085 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.027 away. Black text reads best on it, at 13.46:1.

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.085)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.46:1
White text1.55:1

Values

HEX#DCD08F
RGBrgb(220, 208, 143)
HSLhsl(51, 52%, 71%)
OKLCHoklch(85.2% 0.085 99)

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 #DCD08F 1.55:1 Fails Lc -29.0 Dividers and decoration only
Black text on #DCD08F 13.46:1 AAA Lc 78.1 Fine for body text
#DCD08F text on white 1.55:1 Fails Lc 25.6 Dividers and decoration only
#DCD08F text on black 13.46:1 AAA Lc -77.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

    #F8F6EB

    oklch(97.2% 0.015 98.3)

  2. Step 100

    100

    #EFEBD3

    oklch(93.7% 0.032 99.2)

  3. Step 200

    200 (this color)

    #DCD08F

    oklch(85.2% 0.085 99)

  4. Step 300

    300

    #D2C26C

    oklch(80.9% 0.109 99)

  5. Step 400

    400

    #B8A100

    oklch(70.8% 0.147 99)

  6. Step 500

    500

    #9E8A00

    oklch(63.2% 0.131 99)

  7. Step 600

    600

    #847300

    oklch(55.5% 0.115 98.9)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#DCD08F 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)#DCCC8A0.010
Deuteranopia (no green cones)#E0D1910.007
Tritanopia (no blue cones)#E7C7BF0.077
Achromatopsia (no color)#CFCFCF0.085

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCD08F

    #DCD08F

    oklch(85.2% 0.085 99)

  • #C3CAFF

    #C3CAFF

    oklch(85.2% 0.074 278.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCD08F

    #DCD08F

    oklch(85.2% 0.085 99)

  • #F3C592

    #F3C592

    oklch(85.2% 0.084 69.2)

  • #BDDA9F

    #BDDA9F

    oklch(85.2% 0.085 129.3)

Open the analogous palette in the generator

Split complementary

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

  • #DCD08F

    #DCD08F

    oklch(85.2% 0.085 99)

  • #A8D3FF

    #A8D3FF

    oklch(85.2% 0.077 249.3)

  • #DFC0F9

    #DFC0F9

    oklch(85.3% 0.084 309.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCD08F

    #DCD08F

    oklch(85.2% 0.085 99)

  • #8DDCF4

    #8DDCF4

    oklch(85.2% 0.084 219.1)

  • #F4B9E1

    #F4B9E1

    oklch(85.1% 0.085 338.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCD08F

    #DCD08F

    oklch(85.2% 0.085 99)

  • #8AE1DA

    #8AE1DA

    oklch(85.3% 0.085 189.1)

  • #C3CAFF

    #C3CAFF

    oklch(85.2% 0.074 278.8)

  • #FFB8C3

    #FFB8C3

    oklch(85.1% 0.083 8.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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