#B7B277

Closest named color: Dark Khaki (#BDB76B). oklch(75.4% 0.079 104), rgb(183, 178, 119).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (75%)
Chromamoderately saturated (0.079)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.64:1
White text2.17:1

Values

HEX#B7B277
RGBrgb(183, 178, 119)
HSLhsl(55, 31%, 59%)
OKLCHoklch(75.4% 0.079 104)

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 #B7B277 2.17:1 Fails Lc -47.5 Large or bold text, headings
Black text on #B7B277 9.64:1 AAA Lc 61.2 Content text, not long reading
#B7B277 text on white 2.17:1 Fails Lc 42.8 Non-text elements, placeholder text
#B7B277 text on black 9.64: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

    #F6F6F1

    oklch(97.2% 0.007 106.5)

  2. Step 100

    100

    #EBEAE0

    oklch(93.5% 0.013 102)

  3. Step 200

    200

    #DCDAC6

    oklch(88.5% 0.027 102.3)

  4. Step 300

    300

    #C5C39E

    oklch(80.9% 0.05 104.9)

  5. Step 400

    400 (this color)

    #B7B277

    oklch(75.4% 0.079 104)

  6. Step 500

    500

    #948C3E

    oklch(63.1% 0.1 103.5)

  7. Step 600

    600

    #7E7618

    oklch(55.6% 0.109 104.3)

  8. Step 700

    700

    #6B6306

    oklch(49.2% 0.102 103.9)

  9. Step 800

    800

    #57510D

    oklch(42.8% 0.084 104.1)

  10. Step 900

    900

    #474314

    oklch(37.6% 0.066 104.4)

  11. Step 950

    950

    #2A270E

    oklch(26.9% 0.04 102.5)

Export this scale for Tailwind in the Tailwind colors tool

#B7B277 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)#BCAE730.012
Deuteranopia (no green cones)#BEB1790.011
Tritanopia (no blue cones)#C0AAA30.072
Achromatopsia (no color)#B0B0B00.079

Harmonies

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

Complementary

The opposite hue (180°).

  • #B7B277

    #B7B277

    oklch(75.4% 0.079 104)

  • #A8A9E0

    #A8A9E0

    oklch(75.4% 0.079 283.5)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B7B277

    #B7B277

    oklch(75.4% 0.079 104)

  • #CDA877

    #CDA877

    oklch(75.3% 0.078 74)

  • #9BBA88

    #9BBA88

    oklch(75.3% 0.077 133.9)

Open the analogous palette in the generator

Split complementary

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

  • #B7B277

    #B7B277

    oklch(75.4% 0.079 104)

  • #8DB2E0

    #8DB2E0

    oklch(75.3% 0.078 254.2)

  • #C1A1D2

    #C1A1D2

    oklch(75.4% 0.077 313.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B7B277

    #B7B277

    oklch(75.4% 0.079 104)

  • #76BAD4

    #76BAD4

    oklch(75.3% 0.078 224.3)

  • #D39BBB

    #D39BBB

    oklch(75.2% 0.079 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B7B277

    #B7B277

    oklch(75.4% 0.079 104)

  • #6FBFBE

    #6FBFBE

    oklch(75.3% 0.079 194.6)

  • #A8A9E0

    #A8A9E0

    oklch(75.4% 0.079 283.5)

  • #DC9BA0

    #DC9BA0

    oklch(75.4% 0.078 14)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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