#B4B987

Closest named color: Dark Khaki (#BDB76B). oklch(76.9% 0.068 112.6), rgb(180, 185, 135).

Aa

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

About this color

#B4B987 is a medium-light, muted yellow. In OKLCH its lightness is 77%, its chroma 0.068 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.032 away. Black text reads best on it, at 10.23:1.

Hue familyYellows
Lightnessmedium-light (77%)
Chromamuted (0.068)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.23:1
White text2.05:1

Values

HEX#B4B987
RGBrgb(180, 185, 135)
HSLhsl(66, 26%, 63%)
OKLCHoklch(76.9% 0.068 112.6)

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 #B4B987 2.05:1 Fails Lc -44.5 Non-text elements, placeholder text
Black text on #B4B987 10.23:1 AAA Lc 63.9 Content text, not long reading
#B4B987 text on white 2.05:1 Fails Lc 40.0 Non-text elements, placeholder text
#B4B987 text on black 10.23:1 AAA Lc -62.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

    #F5F6EF

    oklch(97% 0.009 113.2)

  2. Step 100

    100

    #EAEBDD

    oklch(93.5% 0.019 110.1)

  3. Step 200

    200

    #D9DCC0

    oklch(88.5% 0.038 112.1)

  4. Step 300

    300 (this color)

    #B4B987

    oklch(76.9% 0.068 112.6)

  5. Step 400

    400

    #A1A854

    oklch(70.8% 0.109 113.1)

  6. Step 500

    500

    #8B9107

    oklch(63.1% 0.139 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272902

    oklch(27% 0.057 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#B4B987 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)#C1B4840.021
Deuteranopia (no green cones)#C0B6890.019
Tritanopia (no blue cones)#BAB3AC0.060
Achromatopsia (no color)#B5B5B50.068

Harmonies

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

Complementary

The opposite hue (180°).

  • #B4B987

    #B4B987

    oklch(76.9% 0.068 112.6)

  • #B5ADDC

    #B5ADDC

    oklch(77% 0.067 292.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B4B987

    #B4B987

    oklch(76.9% 0.068 112.6)

  • #C9B182

    #C9B182

    oklch(77% 0.068 83.8)

  • #9BC098

    #9BC098

    oklch(77% 0.069 142.9)

Open the analogous palette in the generator

Split complementary

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

  • #B4B987

    #B4B987

    oklch(76.9% 0.068 112.6)

  • #9DB5E0

    #9DB5E0

    oklch(77% 0.067 262)

  • #C9A6CE

    #C9A6CE

    oklch(76.9% 0.068 322.1)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B4B987

    #B4B987

    oklch(76.9% 0.068 112.6)

  • #88BCD8

    #88BCD8

    oklch(76.9% 0.068 232.3)

  • #D7A3B8

    #D7A3B8

    oklch(77% 0.067 352.7)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B4B987

    #B4B987

    oklch(76.9% 0.068 112.6)

  • #7FC1C7

    #7FC1C7

    oklch(76.9% 0.067 203.1)

  • #B5ADDC

    #B5ADDC

    oklch(77% 0.067 292.6)

  • #DCA3A0

    #DCA3A0

    oklch(76.8% 0.068 22.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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