#D1D960

Closest named color: Greenish Beige (#C9D179). oklch(85.5% 0.145 112.5), rgb(209, 217, 96).

Aa

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

About this color

#D1D960 is a light, vivid yellow. In OKLCH its lightness is 86%, its chroma 0.145 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.038 away. Black text reads best on it, at 13.80:1.

Hue familyYellows
Lightnesslight (86%)
Chromavivid (0.145)
Temperaturein between
Nearest nameGreenish Beige (#C9D179)
Black text13.80:1
White text1.52:1

Values

HEX#D1D960
RGBrgb(209, 217, 96)
HSLhsl(64, 61%, 61%)
OKLCHoklch(85.5% 0.145 112.5)

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 #D1D960 1.52:1 Fails Lc -27.4 Dividers and decoration only
Black text on #D1D960 13.80:1 AAA Lc 79.6 Fine for body text
#D1D960 text on white 1.52:1 Fails Lc 24.1 Dividers and decoration only
#D1D960 text on black 13.80:1 AAA Lc -79.0 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

    #F5F8E5

    oklch(97.2% 0.025 114.1)

  2. Step 100

    100

    #EAEEC5

    oklch(93.6% 0.054 112)

  3. Step 200

    200 (this color)

    #D1D960

    oklch(85.5% 0.145 112.5)

  4. Step 300

    300

    #C3CB00

    oklch(80.9% 0.18 112.6)

  5. Step 400

    400

    #A3A900

    oklch(70.6% 0.157 112.3)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#D1D960 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)#E8D0530.036
Deuteranopia (no green cones)#E8D3670.037
Tritanopia (no blue cones)#DDCDBF0.129
Achromatopsia (no color)#D1D1D10.145

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1D960

    #D1D960

    oklch(85.5% 0.145 112.5)

  • #D0C7FF

    #D0C7FF

    oklch(85.6% 0.078 292)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1D960

    #D1D960

    oklch(85.5% 0.145 112.5)

  • #FEC652

    #FEC652

    oklch(85.6% 0.145 82.6)

  • #95E88F

    #95E88F

    oklch(85.6% 0.145 142.7)

Open the analogous palette in the generator

Split complementary

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

  • #D1D960

    #D1D960

    oklch(85.5% 0.145 112.5)

  • #B7D0FF

    #B7D0FF

    oklch(85.5% 0.071 262.9)

  • #F6B4FF

    #F6B4FF

    oklch(85.5% 0.123 322.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1D960

    #D1D960

    oklch(85.5% 0.145 112.5)

  • #95DAFF

    #95DAFF

    oklch(85.6% 0.086 232.6)

  • #FFB7D5

    #FFB7D5

    oklch(85.5% 0.091 352.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1D960

    #D1D960

    oklch(85.5% 0.145 112.5)

  • #0DEBF9

    #0DEBF9

    oklch(85.7% 0.145 202.6)

  • #D0C7FF

    #D0C7FF

    oklch(85.6% 0.078 292)

  • #FFBCB8

    #FFBCB8

    oklch(85.6% 0.078 22.7)

Open the square palette in the generator

Palettes with this color

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

No curated palette has a color within ΔE 0.04 of #D1D960.

Similar named colors

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

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