#D2DF5A

Closest named color: Dull Yellow (#EEDC5B). oklch(86.8% 0.156 114.4), rgb(210, 223, 90).

Aa

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

About this color

#D2DF5A is a light, vivid yellow. In OKLCH its lightness is 87%, its chroma 0.156 and its hue 114°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dull Yellow (#EEDC5B), ΔE 0.039 away. Black text reads best on it, at 14.44:1.

Hue familyYellows
Lightnesslight (87%)
Chromavivid (0.156)
Temperaturein between
Nearest nameDull Yellow (#EEDC5B)
Black text14.44:1
White text1.45:1

Values

HEX#D2DF5A
RGBrgb(210, 223, 90)
HSLhsl(66, 68%, 61%)
OKLCHoklch(86.8% 0.156 114.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 #D2DF5A 1.45:1 Fails Lc -24.5 Dividers and decoration only
Black text on #D2DF5A 14.44:1 AAA Lc 82.2 Fine for body text
#D2DF5A text on white 1.45:1 Fails Lc 21.5 Dividers and decoration only
#D2DF5A text on black 14.44:1 AAA Lc -81.8 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

    #F5F8E4

    oklch(97.2% 0.026 113.8)

  2. Step 100

    100

    #E8EFC3

    oklch(93.6% 0.058 114.9)

  3. Step 200

    200 (this color)

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  4. Step 300

    300

    #BFCD00

    oklch(81% 0.183 114.6)

  5. Step 400

    400

    #9FAB00

    oklch(70.7% 0.16 114.7)

  6. Step 500

    500

    #899200

    oklch(63.1% 0.142 114.1)

  7. Step 600

    600

    #727B00

    oklch(55.6% 0.126 114.8)

  8. Step 700

    700

    #606700

    oklch(49.1% 0.111 114.3)

  9. Step 800

    800

    #4E5400

    oklch(42.6% 0.096 114.4)

  10. Step 900

    900

    #414600

    oklch(37.7% 0.085 114.3)

  11. Step 950

    950

    #262900

    oklch(26.9% 0.06 113.9)

Export this scale for Tailwind in the Tailwind colors tool

#D2DF5A 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)#EED54B0.042
Deuteranopia (no green cones)#EDD7620.044
Tritanopia (no blue cones)#DFD3C30.137
Achromatopsia (no color)#D6D6D60.156

Harmonies

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

Complementary

The opposite hue (180°).

  • #D2DF5A

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  • #D6CBFF

    #D6CBFF

    oklch(86.8% 0.072 294.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D2DF5A

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  • #FFCB5A

    #FFCB5A

    oklch(86.8% 0.141 84.1)

  • #8FEE91

    #8FEE91

    oklch(86.8% 0.155 144.5)

Open the analogous palette in the generator

Split complementary

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

  • #D2DF5A

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  • #BFD4FF

    #BFD4FF

    oklch(86.9% 0.064 264.6)

  • #FBB9FF

    #FBB9FF

    oklch(86.8% 0.118 324.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D2DF5A

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  • #A2DDFF

    #A2DDFF

    oklch(86.9% 0.076 234.1)

  • #FFBED7

    #FFBED7

    oklch(86.8% 0.081 354)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D2DF5A

    #D2DF5A

    oklch(86.8% 0.156 114.4)

  • #2BEEFF

    #2BEEFF

    oklch(86.8% 0.142 204.4)

  • #D6CBFF

    #D6CBFF

    oklch(86.8% 0.072 294.5)

  • #FFC2BD

    #FFC2BD

    oklch(86.8% 0.071 24)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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