#D5D562

Closest named color: Greenish Beige (#C9D179). oklch(85% 0.138 109), rgb(213, 213, 98).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.138)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.52:1
White text1.55:1

Values

HEX#D5D562
RGBrgb(213, 213, 98)
HSLhsl(60, 58%, 61%)
OKLCHoklch(85% 0.138 109)

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 #D5D562 1.55:1 Fails Lc -28.7 Dividers and decoration only
Black text on #D5D562 13.52:1 AAA Lc 78.4 Fine for body text
#D5D562 text on white 1.55:1 Fails Lc 25.3 Dividers and decoration only
#D5D562 text on black 13.52:1 AAA Lc -77.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

    #F6F7E5

    oklch(97.1% 0.024 109.4)

  2. Step 100

    100

    #ECEDC6

    oklch(93.5% 0.051 108.6)

  3. Step 200

    200 (this color)

    #D5D562

    oklch(85% 0.138 109)

  4. Step 300

    300

    #CAC800

    oklch(80.8% 0.175 109)

  5. Step 400

    400

    #A9A700

    oklch(70.7% 0.153 108.9)

  6. Step 500

    500

    #918F00

    oklch(63.1% 0.137 108.8)

  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

    #535200

    oklch(42.6% 0.092 108.9)

  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

#D5D562 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)#E4CD560.026
Deuteranopia (no green cones)#E6D1680.028
Tritanopia (no blue cones)#E2C9BC0.124
Achromatopsia (no color)#CFCFCF0.138

Harmonies

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

Complementary

The opposite hue (180°).

  • #D5D562

    #D5D562

    oklch(85% 0.138 109)

  • #CCC6FF

    #CCC6FF

    oklch(85.1% 0.079 289.4)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D5D562

    #D5D562

    oklch(85% 0.138 109)

  • #FEC35A

    #FEC35A

    oklch(85.1% 0.138 79.4)

  • #9EE48B

    #9EE48B

    oklch(85.1% 0.138 139.1)

Open the analogous palette in the generator

Split complementary

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

  • #D5D562

    #D5D562

    oklch(85% 0.138 109)

  • #B1D0FF

    #B1D0FF

    oklch(85.1% 0.074 258.6)

  • #EFB5FF

    #EFB5FF

    oklch(85% 0.118 318.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D5D562

    #D5D562

    oklch(85% 0.138 109)

  • #8ADAFF

    #8ADAFF

    oklch(85% 0.094 229.1)

  • #FFB4D8

    #FFB4D8

    oklch(85.1% 0.098 349.1)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D5D562

    #D5D562

    oklch(85% 0.138 109)

  • #2EE9F0

    #2EE9F0

    oklch(85.1% 0.138 198.9)

  • #CCC6FF

    #CCC6FF

    oklch(85.1% 0.079 289.4)

  • #FFB9B9

    #FFB9B9

    oklch(85.1% 0.081 18.9)

Open the square palette in the generator

Palettes with this color

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

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

Similar named colors

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

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