#D9BA3B

Closest named color: Dark Yellow (#D5B60A). oklch(79.4% 0.144 94.9), rgb(217, 186, 59).

Aa

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

About this color

#D9BA3B is a light, vivid yellow. In OKLCH its lightness is 79%, its chroma 0.144 and its hue 95°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Yellow (#D5B60A), ΔE 0.021 away. Black text reads best on it, at 11.03:1.

Hue familyYellows
Lightnesslight (79%)
Chromavivid (0.144)
Temperaturewarm
Nearest nameDark Yellow (#D5B60A)
Black text11.03:1
White text1.90:1

Values

HEX#D9BA3B
RGBrgb(217, 186, 59)
HSLhsl(48, 68%, 54%)
OKLCHoklch(79.4% 0.144 94.9)

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 #D9BA3B 1.90:1 Fails Lc -40.4 Non-text elements, placeholder text
Black text on #D9BA3B 11.03:1 AAA Lc 67.8 Content text, not long reading
#D9BA3B text on white 1.90:1 Fails Lc 36.1 Non-text elements, placeholder text
#D9BA3B text on black 11.03:1 AAA Lc -66.4 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

    #F9F6E7

    oklch(97.1% 0.02 97.5)

  2. Step 100

    100

    #F2EACB

    oklch(93.5% 0.042 95.1)

  3. Step 200

    200

    #E9D99D

    oklch(88.4% 0.079 95)

  4. Step 300

    300 (this color)

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  5. Step 400

    400

    #BD9E00

    oklch(70.6% 0.145 94.9)

  6. Step 500

    500

    #A28700

    oklch(63% 0.129 94.8)

  7. Step 600

    600

    #897200

    oklch(55.8% 0.114 94.9)

  8. Step 700

    700

    #735F00

    oklch(49.1% 0.101 94.6)

  9. Step 800

    800

    #5E4E00

    oklch(42.8% 0.088 95.4)

  10. Step 900

    900

    #4F4000

    oklch(37.6% 0.077 93.9)

  11. Step 950

    950

    #2F2600

    oklch(27.1% 0.056 95.5)

Export this scale for Tailwind in the Tailwind colors tool

#D9BA3B 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)#CDB6260.025
Deuteranopia (no green cones)#D5C0420.015
Tritanopia (no blue cones)#EAABA10.132
Achromatopsia (no color)#BCBCBC0.144

Harmonies

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

Complementary

The opposite hue (180°).

  • #D9BA3B

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  • #A8B7FF

    #A8B7FF

    oklch(79.5% 0.104 274.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #D9BA3B

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  • #FBA74C

    #FBA74C

    oklch(79.5% 0.144 65)

  • #A7CC5E

    #A7CC5E

    oklch(79.5% 0.144 125)

Open the analogous palette in the generator

Split complementary

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

  • #D9BA3B

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  • #7BC3FF

    #7BC3FF

    oklch(79.3% 0.112 245)

  • #CFA6FF

    #CFA6FF

    oklch(79.4% 0.13 304.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #D9BA3B

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  • #00D2F4

    #00D2F4

    oklch(79.5% 0.14 215)

  • #F497E1

    #F497E1

    oklch(79.5% 0.144 334.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #D9BA3B

    #D9BA3B

    oklch(79.4% 0.144 94.9)

  • #00D8C7

    #00D8C7

    oklch(79.3% 0.14 184.9)

  • #A8B7FF

    #A8B7FF

    oklch(79.5% 0.104 274.8)

  • #FF99B1

    #FF99B1

    oklch(79.5% 0.124 5.1)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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