#DCD27F

Closest named color: Sand (#E2CA76). oklch(85.4% 0.105 102.4), rgb(220, 210, 127).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.56:1
White text1.54:1

Values

HEX#DCD27F
RGBrgb(220, 210, 127)
HSLhsl(54, 57%, 68%)
OKLCHoklch(85.4% 0.105 102.4)

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 #DCD27F 1.54:1 Fails Lc -28.5 Dividers and decoration only
Black text on #DCD27F 13.56:1 AAA Lc 78.6 Fine for body text
#DCD27F text on white 1.54:1 Fails Lc 25.2 Dividers and decoration only
#DCD27F text on black 13.56:1 AAA Lc -77.9 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

    #F7F6E9

    oklch(97% 0.017 103.1)

  2. Step 100

    100

    #EEEBCE

    oklch(93.5% 0.038 102.3)

  3. Step 200

    200 (this color)

    #DCD27F

    oklch(85.4% 0.105 102.4)

  4. Step 300

    300

    #D2C451

    oklch(81% 0.136 102.4)

  5. Step 400

    400

    #B3A300

    oklch(70.7% 0.148 102.4)

  6. Step 500

    500

    #998B00

    oklch(62.9% 0.132 102.3)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#DCD27F 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)#E0CD780.013
Deuteranopia (no green cones)#E3D2820.011
Tritanopia (no blue cones)#E9C8BE0.095
Achromatopsia (no color)#D0D0D00.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCD27F

    #DCD27F

    oklch(85.4% 0.105 102.4)

  • #C7CAFF

    #C7CAFF

    oklch(85.5% 0.074 282.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCD27F

    #DCD27F

    oklch(85.4% 0.105 102.4)

  • #FAC480

    #FAC480

    oklch(85.4% 0.105 72.1)

  • #B5DE96

    #B5DE96

    oklch(85.4% 0.105 132.4)

Open the analogous palette in the generator

Split complementary

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

  • #DCD27F

    #DCD27F

    oklch(85.4% 0.105 102.4)

  • #ACD3FF

    #ACD3FF

    oklch(85.4% 0.074 251.7)

  • #E6BCFF

    #E6BCFF

    oklch(85.4% 0.101 312.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCD27F

    #DCD27F

    oklch(85.4% 0.105 102.4)

  • #7EDEFF

    #7EDEFF

    oklch(85.3% 0.102 222.5)

  • #FFB4E2

    #FFB4E2

    oklch(85.4% 0.104 342.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCD27F

    #DCD27F

    oklch(85.4% 0.105 102.4)

  • #72E5E1

    #72E5E1

    oklch(85.4% 0.105 192.3)

  • #C7CAFF

    #C7CAFF

    oklch(85.5% 0.074 282.2)

  • #FFBAC1

    #FFBAC1

    oklch(85.4% 0.08 12.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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