#B2B279

Closest named color: Dark Khaki (#BDB76B). oklch(75% 0.076 108.1), rgb(178, 178, 121).

Aa

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

About this color

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

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

Values

HEX#B2B279
RGBrgb(178, 178, 121)
HSLhsl(60, 27%, 59%)
OKLCHoklch(75% 0.076 108.1)

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 #B2B279 2.20:1 Fails Lc -48.1 Large or bold text, headings
Black text on #B2B279 9.53:1 AAA Lc 60.6 Content text, not long reading
#B2B279 text on white 2.20:1 Fails Lc 43.3 Non-text elements, placeholder text
#B2B279 text on black 9.53:1 AAA Lc -58.8 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

    #EAEBE0

    oklch(93.6% 0.015 110.9)

  3. Step 200

    200

    #DADBC7

    oklch(88.5% 0.027 109.3)

  4. Step 300

    300

    #C3C3A0

    oklch(80.8% 0.047 107.4)

  5. Step 400

    400 (this color)

    #B2B279

    oklch(75% 0.076 108.1)

  6. Step 500

    500

    #8F8E43

    oklch(63.1% 0.098 108.2)

  7. Step 600

    600

    #797721

    oklch(55.4% 0.105 108.1)

  8. Step 700

    700

    #666412

    oklch(49% 0.098 108.1)

  9. Step 800

    800

    #535213

    oklch(42.7% 0.082 108.5)

  10. Step 900

    900

    #454418

    oklch(37.7% 0.063 107.9)

  11. Step 950

    950

    #28280F

    oklch(27% 0.041 108.8)

Export this scale for Tailwind in the Tailwind colors tool

#B2B279 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)#BBAD750.017
Deuteranopia (no green cones)#BCB07B0.016
Tritanopia (no blue cones)#BAABA30.068
Achromatopsia (no color)#AFAFAF0.076

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2B279

    #B2B279

    oklch(75% 0.076 108.1)

  • #ABA7DC

    #ABA7DC

    oklch(75% 0.076 287.9)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2B279

    #B2B279

    oklch(75% 0.076 108.1)

  • #C9A876

    #C9A876

    oklch(74.9% 0.077 77.5)

  • #96BA8B

    #96BA8B

    oklch(75% 0.076 138.4)

Open the analogous palette in the generator

Split complementary

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

  • #B2B279

    #B2B279

    oklch(75% 0.076 108.1)

  • #90B0DE

    #90B0DE

    oklch(75% 0.075 257.4)

  • #C39FCE

    #C39FCE

    oklch(75% 0.077 318.2)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2B279

    #B2B279

    oklch(75% 0.076 108.1)

  • #79B8D4

    #79B8D4

    oklch(75% 0.076 227.8)

  • #D39BB6

    #D39BB6

    oklch(75.1% 0.075 348.6)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2B279

    #B2B279

    oklch(75% 0.076 108.1)

  • #70BDBF

    #70BDBF

    oklch(75% 0.076 197.8)

  • #ABA7DC

    #ABA7DC

    oklch(75% 0.076 287.9)

  • #DA9B9C

    #DA9B9C

    oklch(75% 0.076 18)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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