#D9C162

Closest named color: Saffron (#E9C46A). oklch(81.2% 0.119 95.4), rgb(217, 193, 98).

Aa

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

About this color

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

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

Values

HEX#D9C162
RGBrgb(217, 193, 98)
HSLhsl(48, 61%, 62%)
OKLCHoklch(81.2% 0.119 95.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 #D9C162 1.78:1 Fails Lc -36.9 Non-text elements, placeholder text
Black text on #D9C162 11.75:1 AAA Lc 70.9 Content text, not long reading
#D9C162 text on white 1.78:1 Fails Lc 32.9 Non-text elements, placeholder text
#D9C162 text on black 11.75:1 AAA Lc -69.7 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

    #F8F6EA

    oklch(97.1% 0.016 99)

  2. Step 100

    100

    #F1EAD1

    oklch(93.6% 0.034 94.1)

  3. Step 200

    200

    #E6DAA8

    oklch(88.6% 0.067 96.2)

  4. Step 300

    300 (this color)

    #D9C162

    oklch(81.2% 0.119 95.4)

  5. Step 400

    400

    #BD9F00

    oklch(70.8% 0.146 95.4)

  6. Step 500

    500

    #A28800

    oklch(63.2% 0.13 95.4)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#D9C162 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)#D2BD590.017
Deuteranopia (no green cones)#D8C5660.010
Tritanopia (no blue cones)#E8B5AB0.107
Achromatopsia (no color)#C2C2C20.119

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9C162

    #D9C162

    oklch(81.2% 0.119 95.4)

  • #B0BDFF

    #B0BDFF

    oklch(81.2% 0.094 275.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9C162

    #D9C162

    oklch(81.2% 0.119 95.4)

  • #F6B16B

    #F6B16B

    oklch(81.1% 0.119 65.2)

  • #AFCF78

    #AFCF78

    oklch(81.1% 0.119 125.4)

Open the analogous palette in the generator

Split complementary

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

  • #D9C162

    #D9C162

    oklch(81.2% 0.119 95.4)

  • #89C9FF

    #89C9FF

    oklch(81.3% 0.101 244.9)

  • #D4AEFF

    #D4AEFF

    oklch(81.3% 0.118 305.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9C162

    #D9C162

    oklch(81.2% 0.119 95.4)

  • #53D5F2

    #53D5F2

    oklch(81.3% 0.119 215.3)

  • #F2A4E0

    #F2A4E0

    oklch(81.3% 0.119 335.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9C162

    #D9C162

    oklch(81.2% 0.119 95.4)

  • #53DACC

    #53DACC

    oklch(81.1% 0.118 185.5)

  • #B0BDFF

    #B0BDFF

    oklch(81.2% 0.094 275.5)

  • #FFA3B7

    #FFA3B7

    oklch(81.2% 0.111 5.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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