#D4C98F

Closest named color: Sand (#E2CA76). oklch(83.1% 0.077 98.7), rgb(212, 201, 143).

Aa

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

About this color

#D4C98F is a light, moderately saturated yellow. In OKLCH its lightness is 83%, its chroma 0.077 and its hue 99°. Its hue sits on the warm side of the wheel. The nearest named color is Sand (#E2CA76), ΔE 0.034 away. Black text reads best on it, at 12.55:1.

Hue familyYellows
Lightnesslight (83%)
Chromamoderately saturated (0.077)
Temperaturewarm
Nearest nameSand (#E2CA76)
Black text12.55:1
White text1.67:1

Values

HEX#D4C98F
RGBrgb(212, 201, 143)
HSLhsl(50, 45%, 70%)
OKLCHoklch(83.1% 0.077 98.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 #D4C98F 1.67:1 Fails Lc -33.2 Non-text elements, placeholder text
Black text on #D4C98F 12.55:1 AAA Lc 74.3 Content text, not long reading
#D4C98F text on white 1.67:1 Fails Lc 29.5 Dividers and decoration only
#D4C98F text on black 12.55:1 AAA Lc -73.3 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

    #F7F6EE

    oklch(97.2% 0.011 100.8)

  2. Step 100

    100

    #EDEADA

    oklch(93.5% 0.021 98.1)

  3. Step 200

    200

    #E0DABA

    oklch(88.5% 0.043 98.4)

  4. Step 300

    300 (this color)

    #D4C98F

    oklch(83.1% 0.077 98.7)

  5. Step 400

    400

    #B4A13A

    oklch(70.6% 0.123 98.7)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4C4200

    oklch(37.8% 0.078 99.5)

  11. Step 950

    950

    #2D2600

    oklch(26.8% 0.056 98.7)

Export this scale for Tailwind in the Tailwind colors tool

#D4C98F 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)#D4C68B0.008
Deuteranopia (no green cones)#D7CA910.006
Tritanopia (no blue cones)#DEC1BA0.070
Achromatopsia (no color)#C8C8C80.077

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4C98F

    #D4C98F

    oklch(83.1% 0.077 98.7)

  • #BCC3FA

    #BCC3FA

    oklch(83.1% 0.077 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4C98F

    #D4C98F

    oklch(83.1% 0.077 98.7)

  • #E9BF92

    #E9BF92

    oklch(83.1% 0.076 68.4)

  • #B9D29D

    #B9D29D

    oklch(83.2% 0.076 128.5)

Open the analogous palette in the generator

Split complementary

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

  • #D4C98F

    #D4C98F

    oklch(83.1% 0.077 98.7)

  • #A1CDF8

    #A1CDF8

    oklch(83.2% 0.076 248.2)

  • #D6BBEE

    #D6BBEE

    oklch(83.2% 0.076 308.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4C98F

    #D4C98F

    oklch(83.1% 0.077 98.7)

  • #8DD4E9

    #8DD4E9

    oklch(83% 0.077 218.4)

  • #EAB5D9

    #EAB5D9

    oklch(83.2% 0.077 338.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4C98F

    #D4C98F

    oklch(83.1% 0.077 98.7)

  • #8BD8D1

    #8BD8D1

    oklch(83% 0.077 188.5)

  • #BCC3FA

    #BCC3FA

    oklch(83.1% 0.077 278.9)

  • #F5B3BD

    #F5B3BD

    oklch(83.1% 0.078 8.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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