#D1D266

Closest named color: Greenish Beige (#C9D179). oklch(84.1% 0.131 109.4), rgb(209, 210, 102).

Aa

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

About this color

#D1D266 is a light, moderately saturated yellow. In OKLCH its lightness is 84%, its chroma 0.131 and its hue 109°. Its hue sits on the warm side of the wheel. The nearest named color is Greenish Beige (#C9D179), ΔE 0.022 away. Black text reads best on it, at 13.12:1.

Hue familyYellows
Lightnesslight (84%)
Chromamoderately saturated (0.131)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.12:1
White text1.60:1

Values

HEX#D1D266
RGBrgb(209, 210, 102)
HSLhsl(61, 55%, 61%)
OKLCHoklch(84.1% 0.131 109.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 #D1D266 1.60:1 Fails Lc -30.5 Non-text elements, placeholder text
Black text on #D1D266 13.12:1 AAA Lc 76.8 Fine for body text
#D1D266 text on white 1.60:1 Fails Lc 27.0 Dividers and decoration only
#D1D266 text on black 13.12:1 AAA Lc -76.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 300.

  1. Step 50

    50

    #F6F7E9

    oklch(97.2% 0.018 110.1)

  2. Step 100

    100

    #EBEDD0

    oklch(93.7% 0.038 110.3)

  3. Step 200

    200

    #DCDEA6

    oklch(88.5% 0.073 109.5)

  4. Step 300

    300 (this color)

    #D1D266

    oklch(84.1% 0.131 109.4)

  5. Step 400

    400

    #A8A700

    oklch(70.6% 0.153 109.3)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#D1D266 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)#E0CA5C0.026
Deuteranopia (no green cones)#E2CE6C0.028
Tritanopia (no blue cones)#DEC7BA0.118
Achromatopsia (no color)#CCCCCC0.131

Harmonies

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

Complementary

The opposite hue (180°).

  • #D1D266

    #D1D266

    oklch(84.1% 0.131 109.4)

  • #C9C2FF

    #C9C2FF

    oklch(84.1% 0.085 289.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D1D266

    #D1D266

    oklch(84.1% 0.131 109.4)

  • #F8C05F

    #F8C05F

    oklch(84% 0.131 79.1)

  • #9DE08C

    #9DE08C

    oklch(84.2% 0.132 139.4)

Open the analogous palette in the generator

Split complementary

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

  • #D1D266

    #D1D266

    oklch(84.1% 0.131 109.4)

  • #ADCDFF

    #ADCDFF

    oklch(84.2% 0.078 259.2)

  • #EFB0FF

    #EFB0FF

    oklch(84.2% 0.126 319.4)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D1D266

    #D1D266

    oklch(84.1% 0.131 109.4)

  • #82D8FF

    #82D8FF

    oklch(84.2% 0.1 228.9)

  • #FFAFD5

    #FFAFD5

    oklch(84.1% 0.104 349.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D1D266

    #D1D266

    oklch(84.1% 0.131 109.4)

  • #3CE4EC

    #3CE4EC

    oklch(84% 0.131 199.8)

  • #C9C2FF

    #C9C2FF

    oklch(84.1% 0.085 289.7)

  • #FFB4B4

    #FFB4B4

    oklch(84.1% 0.088 19.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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