#D7BD52

Closest named color: Dark Yellow (#D5B60A). oklch(80% 0.129 95.7), rgb(215, 189, 82).

Aa

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

About this color

#D7BD52 is a light, moderately saturated yellow. In OKLCH its lightness is 80%, its chroma 0.129 and its hue 96°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.036 away. Black text reads best on it, at 11.29:1.

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.129)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text11.29:1
White text1.86:1

Values

HEX#D7BD52
RGBrgb(215, 189, 82)
HSLhsl(48, 62%, 58%)
OKLCHoklch(80% 0.129 95.7)

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 #D7BD52 1.86:1 Fails Lc -39.2 Non-text elements, placeholder text
Black text on #D7BD52 11.29:1 AAA Lc 68.9 Content text, not long reading
#D7BD52 text on white 1.86:1 Fails Lc 35.0 Non-text elements, placeholder text
#D7BD52 text on black 11.29:1 AAA Lc -67.6 Content text, not long reading

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

    #F9F6E9

    oklch(97.2% 0.017 96.1)

  2. Step 100

    100

    #F1EACE

    oklch(93.5% 0.038 95.5)

  3. Step 200

    200

    #E7DAA3

    oklch(88.6% 0.073 96.4)

  4. Step 300

    300 (this color)

    #D7BD52

    oklch(80% 0.129 95.7)

  5. Step 400

    400

    #BC9F00

    oklch(70.7% 0.145 95.9)

  6. Step 500

    500

    #A18800

    oklch(63.1% 0.13 96)

  7. Step 600

    600

    #887200

    oklch(55.6% 0.114 95.6)

  8. Step 700

    700

    #725F00

    oklch(49% 0.101 95.4)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4E4100

    oklch(37.8% 0.078 96.2)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#D7BD52 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)#CFB9460.019
Deuteranopia (no green cones)#D5C2570.012
Tritanopia (no blue cones)#E7B0A60.118
Achromatopsia (no color)#BEBEBE0.129

Harmonies

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

Complementary

The opposite hue (180°).

  • #D7BD52

    #D7BD52

    oklch(80% 0.129 95.7)

  • #ABB9FF

    #ABB9FF

    oklch(80.1% 0.101 275.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D7BD52

    #D7BD52

    oklch(80% 0.129 95.7)

  • #F6AC5D

    #F6AC5D

    oklch(80% 0.129 65.9)

  • #AACD6D

    #AACD6D

    oklch(80.1% 0.13 125.6)

Open the analogous palette in the generator

Split complementary

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

  • #D7BD52

    #D7BD52

    oklch(80% 0.129 95.7)

  • #81C5FF

    #81C5FF

    oklch(80% 0.108 245.4)

  • #D2A8FF

    #D2A8FF

    oklch(80.1% 0.127 305.9)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D7BD52

    #D7BD52

    oklch(80% 0.129 95.7)

  • #3AD2F2

    #3AD2F2

    oklch(80% 0.129 215.6)

  • #F29DDE

    #F29DDE

    oklch(80.1% 0.13 335.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D7BD52

    #D7BD52

    oklch(80% 0.129 95.7)

  • #38D8CA

    #38D8CA

    oklch(80% 0.129 186.1)

  • #ABB9FF

    #ABB9FF

    oklch(80.1% 0.101 275.2)

  • #FF9CB2

    #FF9CB2

    oklch(80% 0.12 5.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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