#D4D487

Closest named color: Greenish Beige (#C9D179). oklch(85.3% 0.099 108.3), rgb(212, 212, 135).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (85%)
Chromamoderately saturated (0.099)
Temperaturewarm
Nearest nameGreenish Beige (#C9D179)
Black text13.56:1
White text1.54:1

Values

HEX#D4D487
RGBrgb(212, 212, 135)
HSLhsl(60, 47%, 68%)
OKLCHoklch(85.3% 0.099 108.3)

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 #D4D487 1.54:1 Fails Lc -28.5 Dividers and decoration only
Black text on #D4D487 13.56:1 AAA Lc 78.6 Fine for body text
#D4D487 text on white 1.54:1 Fails Lc 25.2 Dividers and decoration only
#D4D487 text on black 13.56:1 AAA Lc -77.9 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

    #F6F7EA

    oklch(97.2% 0.017 110.3)

  2. Step 100

    100

    #ECECD1

    oklch(93.6% 0.036 107.1)

  3. Step 200

    200 (this color)

    #D4D487

    oklch(85.3% 0.099 108.3)

  4. Step 300

    300

    #C8C75F

    oklch(80.9% 0.127 108.4)

  5. Step 400

    400

    #AAA700

    oklch(70.8% 0.153 108.5)

  6. Step 500

    500

    #928F00

    oklch(63.2% 0.136 108.3)

  7. Step 600

    600

    #7A7800

    oklch(55.6% 0.12 108.6)

  8. Step 700

    700

    #676500

    oklch(49.2% 0.106 108.4)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464400

    oklch(37.6% 0.081 107.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#D4D487 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)#E0CE810.020
Deuteranopia (no green cones)#E1D18A0.021
Tritanopia (no blue cones)#DECBC10.088
Achromatopsia (no color)#D0D0D00.099

Harmonies

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

Complementary

The opposite hue (180°).

  • #D4D487

    #D4D487

    oklch(85.3% 0.099 108.3)

  • #CCC7FF

    #CCC7FF

    oklch(85.3% 0.078 288.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D4D487

    #D4D487

    oklch(85.3% 0.099 108.3)

  • #F2C783

    #F2C783

    oklch(85.2% 0.099 78.3)

  • #AFDEA0

    #AFDEA0

    oklch(85.2% 0.097 138.2)

Open the analogous palette in the generator

Split complementary

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

  • #D4D487

    #D4D487

    oklch(85.3% 0.099 108.3)

  • #B2D1FF

    #B2D1FF

    oklch(85.4% 0.073 258.1)

  • #EABAF8

    #EABAF8

    oklch(85.1% 0.099 318.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D4D487

    #D4D487

    oklch(85.3% 0.099 108.3)

  • #8BDBFF

    #8BDBFF

    oklch(85.3% 0.093 228.4)

  • #FFB5D9

    #FFB5D9

    oklch(85.3% 0.097 348.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D4D487

    #D4D487

    oklch(85.3% 0.099 108.3)

  • #78E3E6

    #78E3E6

    oklch(85.3% 0.099 197.9)

  • #CCC7FF

    #CCC7FF

    oklch(85.3% 0.078 288.7)

  • #FFBABA

    #FFBABA

    oklch(85.3% 0.08 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 #D4D487, closest first.

Similar named colors

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

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