#D8BE52

Closest named color: Dark Yellow (#D5B60A). oklch(80.3% 0.13 95.8), rgb(216, 190, 82).

Aa

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

About this color

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

Hue familyYellows
Lightnesslight (80%)
Chromamoderately saturated (0.130)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text11.40:1
White text1.84:1

Values

HEX#D8BE52
RGBrgb(216, 190, 82)
HSLhsl(48, 63%, 58%)
OKLCHoklch(80.3% 0.13 95.8)

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 #D8BE52 1.84:1 Fails Lc -38.6 Non-text elements, placeholder text
Black text on #D8BE52 11.40:1 AAA Lc 69.4 Content text, not long reading
#D8BE52 text on white 1.84:1 Fails Lc 34.5 Non-text elements, placeholder text
#D8BE52 text on black 11.40:1 AAA Lc -68.1 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)

    #D8BE52

    oklch(80.3% 0.13 95.8)

  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

    #726000

    oklch(49.2% 0.101 96.3)

  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

#D8BE52 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)#D0BA460.019
Deuteranopia (no green cones)#D7C3570.012
Tritanopia (no blue cones)#E8B1A70.119
Achromatopsia (no color)#BFBFBF0.130

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8BE52

    #D8BE52

    oklch(80.3% 0.13 95.8)

  • #ADBAFF

    #ADBAFF

    oklch(80.4% 0.099 275.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8BE52

    #D8BE52

    oklch(80.3% 0.13 95.8)

  • #F8AD5D

    #F8AD5D

    oklch(80.4% 0.13 65.8)

  • #AACE6D

    #AACE6D

    oklch(80.4% 0.131 125.9)

Open the analogous palette in the generator

Split complementary

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

  • #D8BE52

    #D8BE52

    oklch(80.3% 0.13 95.8)

  • #84C6FF

    #84C6FF

    oklch(80.4% 0.105 245.7)

  • #D2A9FF

    #D2A9FF

    oklch(80.2% 0.126 305.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8BE52

    #D8BE52

    oklch(80.3% 0.13 95.8)

  • #3AD3F4

    #3AD3F4

    oklch(80.3% 0.13 216.1)

  • #F39EDF

    #F39EDF

    oklch(80.4% 0.13 335.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8BE52

    #D8BE52

    oklch(80.3% 0.13 95.8)

  • #37D9CB

    #37D9CB

    oklch(80.2% 0.13 186.2)

  • #ADBAFF

    #ADBAFF

    oklch(80.4% 0.099 275.7)

  • #FF9EB3

    #FF9EB3

    oklch(80.3% 0.118 6)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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