#B1A87F

Closest named color: Bland (#AFA88B). oklch(72.9% 0.057 97.2), rgb(177, 168, 127).

Aa

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

About this color

#B1A87F is a medium-light, muted yellow. In OKLCH its lightness is 73%, its chroma 0.057 and its hue 97°. Its hue sits on the warm side of the wheel. The nearest named color is Bland (#AFA88B), ΔE 0.016 away. Black text reads best on it, at 8.77:1.

Hue familyYellows
Lightnessmedium-light (73%)
Chromamuted (0.057)
Temperaturewarm
Nearest nameBland (#AFA88B)
Black text8.77:1
White text2.39:1

Values

HEX#B1A87F
RGBrgb(177, 168, 127)
HSLhsl(49, 24%, 60%)
OKLCHoklch(72.9% 0.057 97.2)

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 #B1A87F 2.39:1 Fails Lc -52.1 Large or bold text, headings
Black text on #B1A87F 8.77:1 AAA Lc 56.9 Large or bold text, headings
#B1A87F text on white 2.39:1 Fails Lc 47.1 Large or bold text, headings
#B1A87F text on black 8.77:1 AAA Lc -54.9 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

    #F6F5F2

    oklch(97% 0.004 91.4)

  2. Step 100

    100

    #ECEAE2

    oklch(93.6% 0.011 95.2)

  3. Step 200

    200

    #DCD9CB

    oklch(88.4% 0.019 96.9)

  4. Step 300

    300

    #C7C1A7

    oklch(80.9% 0.036 96.4)

  5. Step 400

    400 (this color)

    #B1A87F

    oklch(72.9% 0.057 97.2)

  6. Step 500

    500

    #968A56

    oklch(63.2% 0.072 96.7)

  7. Step 600

    600

    #80743A

    oklch(55.7% 0.08 97.9)

  8. Step 700

    700

    #6C612C

    oklch(49.1% 0.074 97.8)

  9. Step 800

    800

    #584F26

    oklch(42.7% 0.06 97.2)

  10. Step 900

    900

    #494223

    oklch(37.8% 0.048 97)

  11. Step 950

    950

    #2A2715

    oklch(27.1% 0.031 100)

Export this scale for Tailwind in the Tailwind colors tool

#B1A87F 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)#B0A67C0.006
Deuteranopia (no green cones)#B3A9800.004
Tritanopia (no blue cones)#B9A29D0.052
Achromatopsia (no color)#A7A7A70.057

Harmonies

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

Complementary

The opposite hue (180°).

  • #B1A87F

    #B1A87F

    oklch(72.9% 0.057 97.2)

  • #9EA5CC

    #9EA5CC

    oklch(73% 0.057 276.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B1A87F

    #B1A87F

    oklch(72.9% 0.057 97.2)

  • #C0A181

    #C0A181

    oklch(72.9% 0.057 67.6)

  • #9DAE88

    #9DAE88

    oklch(72.7% 0.056 127.4)

Open the analogous palette in the generator

Split complementary

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

  • #B1A87F

    #B1A87F

    oklch(72.9% 0.057 97.2)

  • #8BABCA

    #8BABCA

    oklch(72.8% 0.057 247.8)

  • #B19EC4

    #B19EC4

    oklch(72.8% 0.058 307.6)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B1A87F

    #B1A87F

    oklch(72.9% 0.057 97.2)

  • #7EB1BF

    #7EB1BF

    oklch(72.9% 0.057 216.7)

  • #C09AB4

    #C09AB4

    oklch(72.9% 0.057 338)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B1A87F

    #B1A87F

    oklch(72.9% 0.057 97.2)

  • #7EB3AD

    #7EB3AD

    oklch(72.8% 0.056 187.2)

  • #9EA5CC

    #9EA5CC

    oklch(73% 0.057 276.9)

  • #C899A1

    #C899A1

    oklch(72.9% 0.057 7.2)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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