#DCC271

Closest named color: Saffron (#E9C46A). oklch(81.9% 0.105 92.1), rgb(220, 194, 113).

Aa

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

About this color

#DCC271 is a light, moderately saturated yellow. In OKLCH its lightness is 82%, its chroma 0.105 and its hue 92°. Its hue sits on the warm side of the wheel. The nearest named color is Saffron (#E9C46A), ΔE 0.021 away. Black text reads best on it, at 11.99:1.

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameSaffron (#E9C46A)
Black text11.99:1
White text1.75:1

Values

HEX#DCC271
RGBrgb(220, 194, 113)
HSLhsl(45, 60%, 65%)
OKLCHoklch(81.9% 0.105 92.1)

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 #DCC271 1.75:1 Fails Lc -35.8 Non-text elements, placeholder text
Black text on #DCC271 11.99:1 AAA Lc 72.0 Content text, not long reading
#DCC271 text on white 1.75:1 Fails Lc 31.9 Non-text elements, placeholder text
#DCC271 text on black 11.99:1 AAA Lc -70.8 Content text, not long reading

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 300.

  1. Step 50

    50

    #F9F5EB

    oklch(97.1% 0.014 88.7)

  2. Step 100

    100

    #F1EAD3

    oklch(93.6% 0.031 92.9)

  3. Step 200

    200

    #E7D9AE

    oklch(88.6% 0.058 92.2)

  4. Step 300

    300 (this color)

    #DCC271

    oklch(81.9% 0.105 92.1)

  5. Step 400

    400

    #C19C00

    oklch(70.6% 0.144 91.7)

  6. Step 500

    500

    #A58600

    oklch(63.1% 0.129 92.4)

  7. Step 600

    600

    #8B7000

    oklch(55.5% 0.114 92)

  8. Step 700

    700

    #755E00

    oklch(49.1% 0.1 92.1)

  9. Step 800

    800

    #604D00

    oklch(42.7% 0.087 92.5)

  10. Step 900

    900

    #504000

    oklch(37.8% 0.077 92.8)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#DCC271 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)#D2BF6A0.019
Deuteranopia (no green cones)#D8C7740.013
Tritanopia (no blue cones)#EBB6AF0.097
Achromatopsia (no color)#C4C4C40.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCC271

    #DCC271

    oklch(81.9% 0.105 92.1)

  • #AFC1FF

    #AFC1FF

    oklch(81.9% 0.09 271.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCC271

    #DCC271

    oklch(81.9% 0.105 92.1)

  • #F5B47B

    #F5B47B

    oklch(81.8% 0.105 61.8)

  • #B8CF81

    #B8CF81

    oklch(81.9% 0.105 122.1)

Open the analogous palette in the generator

Split complementary

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

  • #DCC271

    #DCC271

    oklch(81.9% 0.105 92.1)

  • #88CCFF

    #88CCFF

    oklch(81.9% 0.1 241.9)

  • #D0B4FD

    #D0B4FD

    oklch(81.9% 0.105 301.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCC271

    #DCC271

    oklch(81.9% 0.105 92.1)

  • #67D6EB

    #67D6EB

    oklch(81.9% 0.105 211.7)

  • #EDABE2

    #EDABE2

    oklch(82% 0.105 332.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCC271

    #DCC271

    oklch(81.9% 0.105 92.1)

  • #6BDAC9

    #6BDAC9

    oklch(81.8% 0.105 182.3)

  • #AFC1FF

    #AFC1FF

    oklch(81.9% 0.09 271.8)

  • #FDA7BE

    #FDA7BE

    oklch(81.9% 0.105 2.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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