#BAB062

Closest named color: Dark Khaki (#BDB76B). oklch(74.9% 0.1 102), rgb(186, 176, 98).

Aa

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

About this color

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

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

Values

HEX#BAB062
RGBrgb(186, 176, 98)
HSLhsl(53, 39%, 56%)
OKLCHoklch(74.9% 0.1 102)

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 #BAB062 2.21:1 Fails Lc -48.4 Large or bold text, headings
Black text on #BAB062 9.47:1 AAA Lc 60.4 Content text, not long reading
#BAB062 text on white 2.21:1 Fails Lc 43.6 Non-text elements, placeholder text
#BAB062 text on black 9.47:1 AAA Lc -58.5 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

    #DDDAC0

    oklch(88.4% 0.035 101.7)

  4. Step 300

    300

    #C8C394

    oklch(81% 0.063 102.6)

  5. Step 400

    400 (this color)

    #BAB062

    oklch(74.9% 0.1 102)

  6. Step 500

    500

    #998B10

    oklch(63% 0.128 102)

  7. Step 600

    600

    #817500

    oklch(55.6% 0.117 102.3)

  8. Step 700

    700

    #6D6200

    oklch(49.1% 0.103 101.8)

  9. Step 800

    800

    #595000

    oklch(42.7% 0.089 102)

  10. Step 900

    900

    #4A4300

    oklch(37.8% 0.079 102.7)

  11. Step 950

    950

    #2C2703

    oklch(27% 0.053 101.4)

Export this scale for Tailwind in the Tailwind colors tool

#BAB062 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)#BDAB5B0.013
Deuteranopia (no green cones)#C0B0650.010
Tritanopia (no blue cones)#C5A69E0.093
Achromatopsia (no color)#AEAEAE0.100

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAB062

    #BAB062

    oklch(74.9% 0.1 102)

  • #A3A6EC

    #A3A6EC

    oklch(74.9% 0.1 281.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAB062

    #BAB062

    oklch(74.9% 0.1 102)

  • #D5A363

    #D5A363

    oklch(74.8% 0.101 72.1)

  • #96BB78

    #96BB78

    oklch(74.8% 0.1 131.9)

Open the analogous palette in the generator

Split complementary

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

  • #BAB062

    #BAB062

    oklch(74.9% 0.1 102)

  • #7EB2EB

    #7EB2EB

    oklch(74.9% 0.099 251.4)

  • #C39BDC

    #C39BDC

    oklch(74.9% 0.101 312)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAB062

    #BAB062

    oklch(74.9% 0.1 102)

  • #5CBCDB

    #5CBCDB

    oklch(74.9% 0.1 221.8)

  • #DA94BF

    #DA94BF

    oklch(74.9% 0.1 342.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAB062

    #BAB062

    oklch(74.9% 0.1 102)

  • #53C2BE

    #53C2BE

    oklch(74.9% 0.101 192)

  • #A3A6EC

    #A3A6EC

    oklch(74.9% 0.1 281.8)

  • #E5939D

    #E5939D

    oklch(74.9% 0.1 11.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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