#BAB368

Closest named color: Dark Khaki (#BDB76B). oklch(75.6% 0.097 103.8), rgb(186, 179, 104).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (76%)
Chromamoderately saturated (0.097)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text9.73:1
White text2.15:1

Values

HEX#BAB368
RGBrgb(186, 179, 104)
HSLhsl(55, 37%, 57%)
OKLCHoklch(75.6% 0.097 103.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 #BAB368 2.15:1 Fails Lc -47.0 Large or bold text, headings
Black text on #BAB368 9.73:1 AAA Lc 61.6 Content text, not long reading
#BAB368 text on white 2.15:1 Fails Lc 42.3 Non-text elements, placeholder text
#BAB368 text on black 9.73:1 AAA Lc -59.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

    #F6F6F0

    oklch(97.1% 0.008 106.5)

  2. Step 100

    100

    #EBEBDD

    oklch(93.6% 0.019 106.8)

  3. Step 200

    200

    #DCDBC1

    oklch(88.5% 0.035 105.3)

  4. Step 300

    300

    #C7C396

    oklch(80.9% 0.06 103.4)

  5. Step 400

    400 (this color)

    #BAB368

    oklch(75.6% 0.097 103.8)

  6. Step 500

    500

    #978C1D

    oklch(63.1% 0.124 103.4)

  7. Step 600

    600

    #7F7600

    oklch(55.6% 0.118 104.3)

  8. Step 700

    700

    #6B6300

    oklch(49.2% 0.104 104)

  9. Step 800

    800

    #585100

    oklch(42.8% 0.09 103.8)

  10. Step 900

    900

    #494300

    oklch(37.7% 0.08 103.8)

  11. Step 950

    950

    #2B2705

    oklch(26.9% 0.051 102.6)

Export this scale for Tailwind in the Tailwind colors tool

#BAB368 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)#BFAE620.014
Deuteranopia (no green cones)#C2B26B0.013
Tritanopia (no blue cones)#C5AAA10.088
Achromatopsia (no color)#B0B0B00.097

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #D5A668

    #D5A668

    oklch(75.5% 0.097 73.2)

  • #97BE7E

    #97BE7E

    oklch(75.7% 0.097 133.8)

Open the analogous palette in the generator

Split complementary

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

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #84B3EC

    #84B3EC

    oklch(75.5% 0.097 253.7)

  • #C69EDB

    #C69EDB

    oklch(75.6% 0.096 313.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #64BDDD

    #64BDDD

    oklch(75.5% 0.097 223.9)

  • #DC97BF

    #DC97BF

    oklch(75.6% 0.097 344)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB368

    #BAB368

    oklch(75.6% 0.097 103.8)

  • #5AC3C1

    #5AC3C1

    oklch(75.5% 0.097 193.6)

  • #A8A8EC

    #A8A8EC

    oklch(75.7% 0.097 283.8)

  • #E6969D

    #E6969D

    oklch(75.5% 0.097 13.9)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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