#BAB262

Closest named color: Dark Khaki (#BDB76B). oklch(75.3% 0.102 103.5), rgb(186, 178, 98).

Aa

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

About this color

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

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

Values

HEX#BAB262
RGBrgb(186, 178, 98)
HSLhsl(55, 39%, 56%)
OKLCHoklch(75.3% 0.102 103.5)

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 #BAB262 2.18:1 Fails Lc -47.6 Large or bold text, headings
Black text on #BAB262 9.63:1 AAA Lc 61.1 Content text, not long reading
#BAB262 text on white 2.18:1 Fails Lc 42.8 Non-text elements, placeholder text
#BAB262 text on black 9.63: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

    #F6F6EF

    oklch(97.1% 0.009 106.6)

  2. Step 100

    100

    #ECEBDD

    oklch(93.7% 0.019 103.4)

  3. Step 200

    200

    #DDDBC0

    oklch(88.6% 0.036 103.6)

  4. Step 300

    300

    #C7C393

    oklch(80.8% 0.064 103.7)

  5. Step 400

    400 (this color)

    #BAB262

    oklch(75.3% 0.102 103.5)

  6. Step 500

    500

    #988C09

    oklch(63.1% 0.131 103.3)

  7. Step 600

    600

    #807600

    oklch(55.7% 0.117 103.6)

  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

    #2B2702

    oklch(26.9% 0.054 103.3)

Export this scale for Tailwind in the Tailwind colors tool

#BAB262 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)#BFAD5B0.014
Deuteranopia (no green cones)#C1B2660.012
Tritanopia (no blue cones)#C5A89F0.093
Achromatopsia (no color)#B0B0B00.103

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB262

    #BAB262

    oklch(75.3% 0.102 103.5)

  • #A6A6EE

    #A6A6EE

    oklch(75.2% 0.103 283.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB262

    #BAB262

    oklch(75.3% 0.102 103.5)

  • #D6A562

    #D6A562

    oklch(75.3% 0.103 73.8)

  • #95BD7A

    #95BD7A

    oklch(75.3% 0.101 133.4)

Open the analogous palette in the generator

Split complementary

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

  • #BAB262

    #BAB262

    oklch(75.3% 0.102 103.5)

  • #80B2EF

    #80B2EF

    oklch(75.2% 0.103 253.9)

  • #C69CDD

    #C69CDD

    oklch(75.4% 0.102 313.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB262

    #BAB262

    oklch(75.3% 0.102 103.5)

  • #5CBDDE

    #5CBDDE

    oklch(75.3% 0.102 223.1)

  • #DD95BF

    #DD95BF

    oklch(75.4% 0.101 343.9)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB262

    #BAB262

    oklch(75.3% 0.102 103.5)

  • #51C3C1

    #51C3C1

    oklch(75.2% 0.102 193.6)

  • #A6A6EE

    #A6A6EE

    oklch(75.2% 0.103 283.6)

  • #E8939C

    #E8939C

    oklch(75.2% 0.103 13)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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