#BABB62

Closest named color: Dark Khaki (#BDB76B). oklch(77.2% 0.112 109.3), rgb(186, 187, 98).

Aa

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

About this color

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

Hue familyYellows
Lightnessmedium-light (77%)
Chromamoderately saturated (0.112)
Temperaturewarm
Nearest nameDark Khaki (#BDB76B)
Black text10.37:1
White text2.02:1

Values

HEX#BABB62
RGBrgb(186, 187, 98)
HSLhsl(61, 40%, 56%)
OKLCHoklch(77.2% 0.112 109.3)

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 #BABB62 2.02:1 Fails Lc -43.8 Non-text elements, placeholder text
Black text on #BABB62 10.37:1 AAA Lc 64.6 Content text, not long reading
#BABB62 text on white 2.02:1 Fails Lc 39.3 Non-text elements, placeholder text
#BABB62 text on black 10.37:1 AAA Lc -63.1 Content text, not long reading

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 300.

  1. Step 50

    50

    #F6F6EB

    oklch(97% 0.015 106.7)

  2. Step 100

    100

    #EBECD4

    oklch(93.6% 0.032 108.9)

  3. Step 200

    200

    #DBDDAE

    oklch(88.4% 0.062 109.6)

  4. Step 300

    300 (this color)

    #BABB62

    oklch(77.2% 0.112 109.3)

  5. Step 400

    400

    #A8A700

    oklch(70.6% 0.153 109.3)

  6. Step 500

    500

    #908F00

    oklch(63% 0.137 109.3)

  7. Step 600

    600

    #797800

    oklch(55.5% 0.121 109.2)

  8. Step 700

    700

    #666500

    oklch(49.1% 0.107 109.1)

  9. Step 800

    800

    #535300

    oklch(42.8% 0.093 109.8)

  10. Step 900

    900

    #454500

    oklch(37.8% 0.082 109.8)

  11. Step 950

    950

    #292800

    oklch(26.9% 0.058 108.3)

Export this scale for Tailwind in the Tailwind colors tool

#BABB62 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)#C7B45A0.023
Deuteranopia (no green cones)#C8B8660.023
Tritanopia (no blue cones)#C5B1A60.101
Achromatopsia (no color)#B6B6B60.113

Harmonies

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

Complementary

The opposite hue (180°).

  • #BABB62

    #BABB62

    oklch(77.2% 0.112 109.3)

  • #B3A9F8

    #B3A9F8

    oklch(77.3% 0.112 289.3)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BABB62

    #BABB62

    oklch(77.2% 0.112 109.3)

  • #DBAC5C

    #DBAC5C

    oklch(77.1% 0.112 79.1)

  • #8FC781

    #8FC781

    oklch(77.3% 0.113 139.5)

Open the analogous palette in the generator

Split complementary

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

  • #BABB62

    #BABB62

    oklch(77.2% 0.112 109.3)

  • #8AB6FD

    #8AB6FD

    oklch(77.3% 0.113 259.7)

  • #D49DE2

    #D49DE2

    oklch(77.1% 0.113 319.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BABB62

    #BABB62

    oklch(77.2% 0.112 109.3)

  • #5EC2EE

    #5EC2EE

    oklch(77.1% 0.112 229.5)

  • #EB97C0

    #EB97C0

    oklch(77.3% 0.112 349.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BABB62

    #BABB62

    oklch(77.2% 0.112 109.3)

  • #47CAD0

    #47CAD0

    oklch(77.1% 0.112 199.5)

  • #B3A9F8

    #B3A9F8

    oklch(77.3% 0.112 289.3)

  • #F49798

    #F49798

    oklch(77.2% 0.112 19.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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