#D7C472

Closest named color: Sand (#E2CA76). oklch(81.9% 0.105 96.7), rgb(215, 196, 114).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (82%)
Chromamoderately saturated (0.105)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.02:1
White text1.74:1

Values

HEX#D7C472
RGBrgb(215, 196, 114)
HSLhsl(49, 56%, 65%)
OKLCHoklch(81.9% 0.105 96.7)

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 #D7C472 1.74:1 Fails Lc -35.7 Non-text elements, placeholder text
Black text on #D7C472 12.02:1 AAA Lc 72.1 Content text, not long reading
#D7C472 text on white 1.74:1 Fails Lc 31.7 Non-text elements, placeholder text
#D7C472 text on black 12.02:1 AAA Lc -71.0 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

    #F8F6EB

    oklch(97.2% 0.015 98.3)

  2. Step 100

    100

    #EFEAD4

    oklch(93.5% 0.03 96.4)

  3. Step 200

    200

    #E4DAAE

    oklch(88.5% 0.059 96.7)

  4. Step 300

    300 (this color)

    #D7C472

    oklch(81.9% 0.105 96.7)

  5. Step 400

    400

    #BB9F00

    oklch(70.6% 0.145 96.4)

  6. Step 500

    500

    #A08800

    oklch(63% 0.13 96.6)

  7. Step 600

    600

    #877200

    oklch(55.5% 0.114 96.2)

  8. Step 700

    700

    #716000

    oklch(49.1% 0.101 97)

  9. Step 800

    800

    #5D4E00

    oklch(42.6% 0.088 96.3)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#D7C472 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)#D3C06B0.013
Deuteranopia (no green cones)#D8C7750.008
Tritanopia (no blue cones)#E5B9B00.096
Achromatopsia (no color)#C4C4C40.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7C472

    #D7C472

    oklch(81.9% 0.105 96.7)

  • #B4BFFF

    #B4BFFF

    oklch(81.9% 0.091 276.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7C472

    #D7C472

    oklch(81.9% 0.105 96.7)

  • #F2B678

    #F2B678

    oklch(81.8% 0.105 66.4)

  • #B2D085

    #B2D085

    oklch(81.8% 0.104 126.3)

Open the analogous palette in the generator

Split complementary

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

  • #D7C472

    #D7C472

    oklch(81.9% 0.105 96.7)

  • #90CAFF

    #90CAFF

    oklch(81.9% 0.096 246.8)

  • #D5B2F9

    #D5B2F9

    oklch(81.8% 0.104 306.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7C472

    #D7C472

    oklch(81.9% 0.105 96.7)

  • #6AD5F0

    #6AD5F0

    oklch(82% 0.105 216.6)

  • #F0AADD

    #F0AADD

    oklch(82% 0.105 336.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7C472

    #D7C472

    oklch(81.9% 0.105 96.7)

  • #69DACF

    #69DACF

    oklch(81.9% 0.105 186.9)

  • #B4BFFF

    #B4BFFF

    oklch(81.9% 0.091 276.6)

  • #FEA7B8

    #FEA7B8

    oklch(81.8% 0.104 6.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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