#D8BD19

Closest named color: Mustard Yellow (#D2BD0A). oklch(79.8% 0.161 98.5), rgb(216, 189, 25).

Aa

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

About this color

#D8BD19 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.161 and its hue 98°. Its hue sits on the warm side of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.010 away. Black text reads best on it, at 11.21:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.161)
Temperaturewarm
Nearest nameMustard Yellow (#D2BD0A)
Black text11.21:1
White text1.87:1

Values

HEX#D8BD19
RGBrgb(216, 189, 25)
HSLhsl(52, 79%, 47%)
OKLCHoklch(79.8% 0.161 98.5)

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 #D8BD19 1.87:1 Fails Lc -39.4 Non-text elements, placeholder text
Black text on #D8BD19 11.21:1 AAA Lc 68.6 Content text, not long reading
#D8BD19 text on white 1.87:1 Fails Lc 35.2 Non-text elements, placeholder text
#D8BD19 text on black 11.21:1 AAA Lc -67.3 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

    #F9F6E6

    oklch(97.1% 0.021 98.1)

  2. Step 100

    100

    #F1EBC8

    oklch(93.6% 0.046 99.2)

  3. Step 200

    200

    #E8DA95

    oklch(88.4% 0.089 98.1)

  4. Step 300

    300 (this color)

    #D8BD19

    oklch(79.8% 0.161 98.5)

  5. Step 400

    400

    #B8A000

    oklch(70.6% 0.146 98.4)

  6. Step 500

    500

    #9E8900

    oklch(63% 0.13 98.3)

  7. Step 600

    600

    #857300

    oklch(55.6% 0.115 98.3)

  8. Step 700

    700

    #706100

    oklch(49.2% 0.102 98.7)

  9. Step 800

    800

    #5C4F00

    oklch(42.8% 0.088 98.3)

  10. Step 900

    900

    #4C4100

    oklch(37.5% 0.078 98.3)

  11. Step 950

    950

    #2E2600

    oklch(27% 0.056 97.1)

Export this scale for Tailwind in the Tailwind colors tool

#D8BD19 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)#D1B8000.018
Deuteranopia (no green cones)#D8C12A0.010
Tritanopia (no blue cones)#EAAEA10.147
Achromatopsia (no color)#BDBDBD0.161

Harmonies

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

Complementary

The opposite hue (180°).

  • #D8BD19

    #D8BD19

    oklch(79.8% 0.161 98.5)

  • #AEB6FF

    #AEB6FF

    oklch(79.7% 0.104 278.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D8BD19

    #D8BD19

    oklch(79.8% 0.161 98.5)

  • #FFA730

    #FFA730

    oklch(79.8% 0.16 68.5)

  • #9ED056

    #9ED056

    oklch(79.7% 0.161 128.3)

Open the analogous palette in the generator

Split complementary

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

  • #D8BD19

    #D8BD19

    oklch(79.8% 0.161 98.5)

  • #85C3FF

    #85C3FF

    oklch(79.8% 0.107 248.5)

  • #D6A4FF

    #D6A4FF

    oklch(79.7% 0.135 308.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D8BD19

    #D8BD19

    oklch(79.8% 0.161 98.5)

  • #00D2FB

    #00D2FB

    oklch(79.8% 0.144 218.7)

  • #FE91E0

    #FE91E0

    oklch(79.6% 0.161 338.2)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D8BD19

    #D8BD19

    oklch(79.8% 0.161 98.5)

  • #00D9CE

    #00D9CE

    oklch(79.8% 0.139 188.3)

  • #AEB6FF

    #AEB6FF

    oklch(79.7% 0.104 278.9)

  • #FF9BAD

    #FF9BAD

    oklch(79.7% 0.121 8.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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