#DCD37F

Closest named color: Sand (#E2CA76). oklch(85.6% 0.106 103), rgb(220, 211, 127).

Aa

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

About this color

#DCD37F is a light, moderately saturated yellow. In OKLCH its lightness is 86%, its chroma 0.106 and its hue 103°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.022 away. Black text reads best on it, at 13.66:1.

Hue familyYellows
Lightnesslight (86%)
Chromamoderately saturated (0.106)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text13.66:1
White text1.53:1

Values

HEX#DCD37F
RGBrgb(220, 211, 127)
HSLhsl(54, 57%, 68%)
OKLCHoklch(85.6% 0.106 103)

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 #DCD37F 1.53:1 Fails Lc -28.0 Dividers and decoration only
Black text on #DCD37F 13.66:1 AAA Lc 79.0 Fine for body text
#DCD37F text on white 1.53:1 Fails Lc 24.8 Dividers and decoration only
#DCD37F text on black 13.66:1 AAA Lc -78.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

    #F7F6E8

    oklch(97% 0.018 103.4)

  2. Step 100

    100

    #EEECCE

    oklch(93.7% 0.04 104)

  3. Step 200

    200 (this color)

    #DCD37F

    oklch(85.6% 0.106 103)

  4. Step 300

    300

    #D1C450

    oklch(80.9% 0.136 102.9)

  5. Step 400

    400

    #B2A300

    oklch(70.6% 0.148 102.9)

  6. Step 500

    500

    #998C00

    oklch(63.2% 0.133 102.9)

  7. Step 600

    600

    #807500

    oklch(55.5% 0.117 103)

  8. Step 700

    700

    #6C6200

    oklch(49% 0.103 102.5)

  9. Step 800

    800

    #585000

    oklch(42.6% 0.089 102.9)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2C2700

    oklch(27% 0.057 102.1)

Export this scale for Tailwind in the Tailwind colors tool

#DCD37F 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)#E1CE780.013
Deuteranopia (no green cones)#E4D3830.013
Tritanopia (no blue cones)#E8C9BF0.096
Achromatopsia (no color)#D0D0D00.106

Harmonies

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

Complementary

The opposite hue (180°).

  • #DCD37F

    #DCD37F

    oklch(85.6% 0.106 103)

  • #C8CAFF

    #C8CAFF

    oklch(85.5% 0.074 283)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #DCD37F

    #DCD37F

    oklch(85.6% 0.106 103)

  • #FAC57F

    #FAC57F

    oklch(85.6% 0.106 73.3)

  • #B4DF97

    #B4DF97

    oklch(85.6% 0.106 133.3)

Open the analogous palette in the generator

Split complementary

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

  • #DCD37F

    #DCD37F

    oklch(85.6% 0.106 103)

  • #AED3FF

    #AED3FF

    oklch(85.5% 0.073 253)

  • #E7BDFF

    #E7BDFF

    oklch(85.7% 0.1 313)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #DCD37F

    #DCD37F

    oklch(85.6% 0.106 103)

  • #82DEFF

    #82DEFF

    oklch(85.5% 0.099 223.3)

  • #FFB5E1

    #FFB5E1

    oklch(85.5% 0.102 343)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #DCD37F

    #DCD37F

    oklch(85.6% 0.106 103)

  • #71E6E3

    #71E6E3

    oklch(85.6% 0.106 193.1)

  • #C8CAFF

    #C8CAFF

    oklch(85.5% 0.074 283)

  • #FFBBC1

    #FFBBC1

    oklch(85.6% 0.079 13)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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