#DCD771

Closest named color: Greenish Beige (#C9D179). oklch(86.2% 0.125 106.2), rgb(220, 215, 113).

Aa

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

About this color

#DCD771 is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.125 and its hue 106°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.033 away. Black text reads best on it, at 14.00:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.125)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text14.00:1
White text1.49:1

Values

HEX#DCD771
RGBrgb(220, 215, 113)
HSLhsl(57, 60%, 65%)
OKLCHoklch(86.2% 0.125 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 #DCD771 1.49:1 Fails Lc -26.5 Dividers and decoration only
Black text on #DCD771 14.00:1 AAA Lc 80.4 Fine for body text
#DCD771 text on white 1.49:1 Fails Lc 23.4 Dividers and decoration only
#DCD771 text on black 14.00:1 AAA Lc -79.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

    #F7F7E6

    oklch(97.2% 0.022 106.8)

  2. Step 100

    100

    #EDECC9

    oklch(93.5% 0.046 105.9)

  3. Step 200

    200 (this color)

    #DCD771

    oklch(86.2% 0.125 106.2)

  4. Step 300

    300

    #CEC62E

    oklch(80.8% 0.16 106.3)

  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

#DCD771 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)#E6D0680.020
Deuteranopia (no green cones)#E8D5760.019
Tritanopia (no blue cones)#E9CCBF0.111
Achromatopsia (no color)#D3D3D30.125

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCD771

    #DCD771

    oklch(86.2% 0.125 106.2)

  • #CDCCFF

    #CDCCFF

    oklch(86.3% 0.07 285.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCD771

    #DCD771

    oklch(86.2% 0.125 106.2)

  • #FFC772

    #FFC772

    oklch(86.3% 0.121 76.4)

  • #ACE592

    #ACE592

    oklch(86.3% 0.125 136.3)

Open the analogous palette in the generator

Split complementary

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

  • #DCD771

    #DCD771

    oklch(86.2% 0.125 106.2)

  • #B5D4FF

    #B5D4FF

    oklch(86.2% 0.069 256.6)

  • #ECBDFF

    #ECBDFF

    oklch(86.1% 0.102 316.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCD771

    #DCD771

    oklch(86.2% 0.125 106.2)

  • #90DEFF

    #90DEFF

    oklch(86.2% 0.089 226.7)

  • #FFBADE

    #FFBADE

    oklch(86.3% 0.091 346.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCD771

    #DCD771

    oklch(86.2% 0.125 106.2)

  • #55EBED

    #55EBED

    oklch(86.3% 0.125 196.4)

  • #CDCCFF

    #CDCCFF

    oklch(86.3% 0.07 285.7)

  • #FFBEC1

    #FFBEC1

    oklch(86.1% 0.075 15.7)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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