#BDB311

Closest named color: Olive Yellow (#C2B709). oklch(75.1% 0.157 105.5), rgb(189, 179, 17).

Aa

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

About this color

#BDB311 is a medium-light, vivid yellow. In OKLCH its lightness is 75%, its chroma 0.157 and its hue 105°. Its hue sits on the warm side of the wheel. The nearest named color is Olive Yellow (#C2B709), ΔE 0.014 away. Black text reads best on it, at 9.61:1.

Hue familyYellows
Lightnessmedium-light (75%)
Chromavivid (0.157)
Temperaturewarm
Nearest nameOlive Yellow (#C2B709)
Black text9.61:1
White text2.18:1

Values

HEX#BDB311
RGBrgb(189, 179, 17)
HSLhsl(57, 83%, 40%)
OKLCHoklch(75.1% 0.157 105.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 #BDB311 2.18:1 Fails Lc -47.5 Large or bold text, headings
Black text on #BDB311 9.61:1 AAA Lc 61.2 Content text, not long reading
#BDB311 text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#BDB311 text on black 9.61:1 AAA Lc -59.4 Large or bold text, headings

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 400.

  1. Step 50

    50

    #F6F6EC

    oklch(97% 0.013 106.6)

  2. Step 100

    100

    #ECEBD6

    oklch(93.5% 0.028 104.7)

  3. Step 200

    200

    #DEDCB3

    oklch(88.6% 0.054 105.1)

  4. Step 300

    300

    #C9C578

    oklch(80.9% 0.099 105.8)

  5. Step 400

    400 (this color)

    #BDB311

    oklch(75.1% 0.157 105.5)

  6. Step 500

    500

    #958D00

    oklch(63% 0.134 105.6)

  7. Step 600

    600

    #7E7600

    oklch(55.5% 0.118 104.9)

  8. Step 700

    700

    #696300

    oklch(49% 0.104 105.5)

  9. Step 800

    800

    #565100

    oklch(42.6% 0.091 105.5)

  10. Step 900

    900

    #484300

    oklch(37.6% 0.08 104.8)

  11. Step 950

    950

    #2B2800

    oklch(27.1% 0.058 105.3)

Export this scale for Tailwind in the Tailwind colors tool

#BDB311 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)#C4AC000.019
Deuteranopia (no green cones)#C7B2250.018
Tritanopia (no blue cones)#CCA6980.143
Achromatopsia (no color)#AFAFAF0.157

Harmonies

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

Complementary

The opposite hue (180°).

  • #BDB311

    #BDB311

    oklch(75.1% 0.157 105.5)

  • #A7A1FF

    #A7A1FF

    oklch(75.1% 0.134 285.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BDB311

    #BDB311

    oklch(75.1% 0.157 105.5)

  • #E79E08

    #E79E08

    oklch(75.2% 0.157 75.5)

  • #80C459

    #80C459

    oklch(75.1% 0.157 135.5)

Open the analogous palette in the generator

Split complementary

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

  • #BDB311

    #BDB311

    oklch(75.1% 0.157 105.5)

  • #75B1FF

    #75B1FF

    oklch(75.2% 0.129 255.5)

  • #D48DF1

    #D48DF1

    oklch(75.1% 0.157 315.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BDB311

    #BDB311

    oklch(75.1% 0.157 105.5)

  • #00C0F2

    #00C0F2

    oklch(75.2% 0.143 225.2)

  • #F382C4

    #F382C4

    oklch(75.1% 0.157 345.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BDB311

    #BDB311

    oklch(75.1% 0.157 105.5)

  • #00C7C8

    #00C7C8

    oklch(75.2% 0.128 195.4)

  • #A7A1FF

    #A7A1FF

    oklch(75.1% 0.134 285.6)

  • #FF838E

    #FF838E

    oklch(75.2% 0.151 15.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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