#D9C170

Closest named color: Saffron (#E9C46A). oklch(81.4% 0.105 93.4), rgb(217, 193, 112).

Aa

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

About this color

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

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

Values

HEX#D9C170
RGBrgb(217, 193, 112)
HSLhsl(46, 58%, 65%)
OKLCHoklch(81.4% 0.105 93.4)

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 #D9C170 1.77:1 Fails Lc -36.7 Non-text elements, placeholder text
Black text on #D9C170 11.81:1 AAA Lc 71.2 Content text, not long reading
#D9C170 text on white 1.77:1 Fails Lc 32.7 Non-text elements, placeholder text
#D9C170 text on black 11.81:1 AAA Lc -70.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

    #F8F5EB

    oklch(97% 0.014 93)

  2. Step 100

    100

    #F0EAD4

    oklch(93.6% 0.03 94.4)

  3. Step 200

    200

    #E6D9AE

    oklch(88.5% 0.058 93.2)

  4. Step 300

    300 (this color)

    #D9C170

    oklch(81.4% 0.105 93.4)

  5. Step 400

    400

    #BF9D00

    oklch(70.6% 0.145 93.3)

  6. Step 500

    500

    #A48700

    oklch(63.2% 0.129 93.7)

  7. Step 600

    600

    #8A7100

    oklch(55.6% 0.114 93.5)

  8. Step 700

    700

    #745F00

    oklch(49.2% 0.101 93.8)

  9. Step 800

    800

    #5F4D00

    oklch(42.6% 0.087 93.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #302500

    oklch(26.9% 0.055 91.9)

Export this scale for Tailwind in the Tailwind colors tool

#D9C170 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)#D0BE690.018
Deuteranopia (no green cones)#D7C5730.010
Tritanopia (no blue cones)#E7B6AE0.095
Achromatopsia (no color)#C2C2C20.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9C170

    #D9C170

    oklch(81.4% 0.105 93.4)

  • #AEBEFF

    #AEBEFF

    oklch(81.3% 0.094 273.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9C170

    #D9C170

    oklch(81.4% 0.105 93.4)

  • #F2B379

    #F2B379

    oklch(81.3% 0.105 63.1)

  • #B5CE81

    #B5CE81

    oklch(81.5% 0.105 123.4)

Open the analogous palette in the generator

Split complementary

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

  • #D9C170

    #D9C170

    oklch(81.4% 0.105 93.4)

  • #87CAFF

    #87CAFF

    oklch(81.4% 0.101 243.3)

  • #D0B2FA

    #D0B2FA

    oklch(81.4% 0.104 303.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9C170

    #D9C170

    oklch(81.4% 0.105 93.4)

  • #67D4EB

    #67D4EB

    oklch(81.4% 0.105 213.4)

  • #ECA9DF

    #ECA9DF

    oklch(81.5% 0.105 333.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9C170

    #D9C170

    oklch(81.4% 0.105 93.4)

  • #69D8C9

    #69D8C9

    oklch(81.3% 0.105 183.7)

  • #AEBEFF

    #AEBEFF

    oklch(81.3% 0.094 273.5)

  • #FCA5BB

    #FCA5BB

    oklch(81.3% 0.106 3.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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