#B2B168

Closest named color: Dark Khaki (#BDB76B). oklch(74.5% 0.095 107.8), rgb(178, 177, 104).

Aa

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

About this color

#B2B168 is a medium-light, moderately saturated yellow. In OKLCH its lightness is 74%, its chroma 0.095 and its hue 108°. 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.38:1.

Hue familyYellows
Lightnessmedium-light (74%)
Chromamoderately saturated (0.095)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.38:1
White text2.23:1

Values

HEX#B2B168
RGBrgb(178, 177, 104)
HSLhsl(59, 32%, 55%)
OKLCHoklch(74.5% 0.095 107.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 #B2B168 2.23:1 Fails Lc -48.9 Large or bold text, headings
Black text on #B2B168 9.38:1 AAA Lc 59.9 Large or bold text, headings
#B2B168 text on white 2.23:1 Fails Lc 44.1 Non-text elements, placeholder text
#B2B168 text on black 9.38:1 AAA Lc -58.1 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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDE

    oklch(93.7% 0.017 106.7)

  3. Step 200

    200

    #DBDBC2

    oklch(88.5% 0.033 107.1)

  4. Step 300

    300

    #C4C498

    oklch(80.9% 0.059 107.7)

  5. Step 400

    400 (this color)

    #B2B168

    oklch(74.5% 0.095 107.8)

  6. Step 500

    500

    #918E26

    oklch(63% 0.122 107.8)

  7. Step 600

    600

    #7B7800

    oklch(55.7% 0.12 108)

  8. Step 700

    700

    #676400

    oklch(49% 0.105 107.7)

  9. Step 800

    800

    #545200

    oklch(42.7% 0.092 108.1)

  10. Step 900

    900

    #464403

    oklch(37.7% 0.079 107.7)

  11. Step 950

    950

    #292807

    oklch(27% 0.05 107.6)

Export this scale for Tailwind in the Tailwind colors tool

#B2B168 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)#BCAC620.018
Deuteranopia (no green cones)#BDAF6B0.018
Tritanopia (no blue cones)#BCA99F0.084
Achromatopsia (no color)#ADADAD0.095

Harmonies

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

Complementary

The opposite hue (180°).

  • #B2B168

    #B2B168

    oklch(74.5% 0.095 107.8)

  • #A9A3E5

    #A9A3E5

    oklch(74.5% 0.094 288)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #B2B168

    #B2B168

    oklch(74.5% 0.095 107.8)

  • #CEA565

    #CEA565

    oklch(74.5% 0.095 77.6)

  • #8FBB7F

    #8FBB7F

    oklch(74.5% 0.096 137.6)

Open the analogous palette in the generator

Split complementary

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

  • #B2B168

    #B2B168

    oklch(74.5% 0.095 107.8)

  • #86AEE8

    #86AEE8

    oklch(74.4% 0.095 257.6)

  • #C699D4

    #C699D4

    oklch(74.5% 0.096 318)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #B2B168

    #B2B168

    oklch(74.5% 0.095 107.8)

  • #66B8DC

    #66B8DC

    oklch(74.4% 0.095 228.5)

  • #D994B7

    #D994B7

    oklch(74.5% 0.094 347.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #B2B168

    #B2B168

    oklch(74.5% 0.095 107.8)

  • #58BFC2

    #58BFC2

    oklch(74.5% 0.095 197.9)

  • #A9A3E5

    #A9A3E5

    oklch(74.5% 0.094 288)

  • #E29496

    #E29496

    oklch(74.5% 0.095 17.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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