#BDB271

Closest named color: Dark Khaki (#BDB76B). oklch(75.8% 0.086 99.8), rgb(189, 178, 113).

Aa

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

About this color

#BDB271 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 76%, its chroma 0.086 and its hue 100°. Its hue sits on the warm side of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.017 away. Black text reads best on it, at 9.77:1.

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.086)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.77:1
White text2.14:1

Values

HEX#BDB271
RGBrgb(189, 178, 113)
HSLhsl(51, 37%, 59%)
OKLCHoklch(75.8% 0.086 99.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 #BDB271 2.14:1 Fails Lc -46.9 Large or bold text, headings
Black text on #BDB271 9.77:1 AAA Lc 61.8 Content text, not long reading
#BDB271 text on white 2.14:1 Fails Lc 42.2 Non-text elements, placeholder text
#BDB271 text on black 9.77:1 AAA Lc -60.0 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 400.

  1. Step 50

    50

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #ECEADF

    oklch(93.6% 0.015 98.3)

  3. Step 200

    200

    #DDDAC4

    oklch(88.5% 0.03 100.6)

  4. Step 300

    300

    #C8C29A

    oklch(80.9% 0.054 100.4)

  5. Step 400

    400 (this color)

    #BDB271

    oklch(75.8% 0.086 99.8)

  6. Step 500

    500

    #998A31

    oklch(63% 0.109 99.6)

  7. Step 600

    600

    #847400

    oklch(55.7% 0.116 99.7)

  8. Step 700

    700

    #6F6100

    oklch(49.1% 0.102 99.4)

  9. Step 800

    800

    #5B4F00

    oklch(42.7% 0.088 99.2)

  10. Step 900

    900

    #4B420B

    oklch(37.7% 0.072 99.4)

  11. Step 950

    950

    #2C2709

    oklch(27.1% 0.046 99.8)

Export this scale for Tailwind in the Tailwind colors tool

#BDB271 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)#BEAE6C0.010
Deuteranopia (no green cones)#C1B3740.008
Tritanopia (no blue cones)#C8A9A20.079
Achromatopsia (no color)#B1B1B10.086

Harmonies

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

Complementary

The opposite hue (180°).

  • #BDB271

    #BDB271

    oklch(75.8% 0.086 99.8)

  • #A5ABE7

    #A5ABE7

    oklch(75.8% 0.086 279.7)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BDB271

    #BDB271

    oklch(75.8% 0.086 99.8)

  • #D4A773

    #D4A773

    oklch(75.8% 0.086 70)

  • #9FBC81

    #9FBC81

    oklch(75.9% 0.087 129.5)

Open the analogous palette in the generator

Split complementary

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

  • #BDB271

    #BDB271

    oklch(75.8% 0.086 99.8)

  • #86B5E5

    #86B5E5

    oklch(75.8% 0.086 249.5)

  • #C1A2DA

    #C1A2DA

    oklch(75.9% 0.085 309.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BDB271

    #BDB271

    oklch(75.8% 0.086 99.8)

  • #6EBED6

    #6EBED6

    oklch(75.9% 0.086 219.3)

  • #D69BC2

    #D69BC2

    oklch(75.8% 0.087 339.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BDB271

    #BDB271

    oklch(75.8% 0.086 99.8)

  • #6AC2BC

    #6AC2BC

    oklch(75.7% 0.086 189.8)

  • #A5ABE7

    #A5ABE7

    oklch(75.8% 0.086 279.7)

  • #E19AA4

    #E19AA4

    oklch(75.8% 0.086 10)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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