#BAC937

Closest named color: Mustard Yellow (#D2BD0A). oklch(79.9% 0.163 115.3), rgb(186, 201, 55).

Aa

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

About this color

#BAC937 is a light, vivid yellow. In OKLCH its lightness is 80%, its chroma 0.163 and its hue 115°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Mustard Yellow (#D2BD0A), ΔE 0.041 away. Black text reads best on it, at 11.49:1.

Hue familyYellows
Lightnesslight (80%)
Chromavivid (0.163)
Temperaturein between
Nearest nameMustard Yellow (#D2BD0A)
Black text11.49:1
White text1.82:1

Values

HEX#BAC937
RGBrgb(186, 201, 55)
HSLhsl(66, 57%, 50%)
OKLCHoklch(79.9% 0.163 115.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 #BAC937 1.82:1 Fails Lc -38.1 Non-text elements, placeholder text
Black text on #BAC937 11.49:1 AAA Lc 69.8 Content text, not long reading
#BAC937 text on white 1.82:1 Fails Lc 34.0 Non-text elements, placeholder text
#BAC937 text on black 11.49:1 AAA Lc -68.6 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

    #F4F8E7

    oklch(97.2% 0.023 117.6)

  2. Step 100

    100

    #E8EECB

    oklch(93.5% 0.046 115.2)

  3. Step 200

    200

    #D6E19B

    oklch(88.5% 0.091 115.6)

  4. Step 300

    300 (this color)

    #BAC937

    oklch(79.9% 0.163 115.3)

  5. Step 400

    400

    #9EAB00

    oklch(70.7% 0.16 115.1)

  6. Step 500

    500

    #879300

    oklch(63.2% 0.144 115.4)

  7. Step 600

    600

    #717B00

    oklch(55.5% 0.126 115.3)

  8. Step 700

    700

    #5F6700

    oklch(49% 0.111 115)

  9. Step 800

    800

    #4D5500

    oklch(42.8% 0.098 115.9)

  10. Step 900

    900

    #404600

    oklch(37.6% 0.085 115.2)

  11. Step 950

    950

    #262A00

    oklch(27.2% 0.062 115.2)

Export this scale for Tailwind in the Tailwind colors tool

#BAC937 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)#D7BF1A0.044
Deuteranopia (no green cones)#D6C1430.047
Tritanopia (no blue cones)#C6BDAD0.144
Achromatopsia (no color)#C0C0C00.164

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC937

    #BAC937

    oklch(79.9% 0.163 115.3)

  • #C3AEFF

    #C3AEFF

    oklch(79.8% 0.115 295.6)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC937

    #BAC937

    oklch(79.9% 0.163 115.3)

  • #EDB303

    #EDB303

    oklch(79.8% 0.163 84.9)

  • #72D879

    #72D879

    oklch(79.8% 0.162 145.3)

Open the analogous palette in the generator

Split complementary

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

  • #BAC937

    #BAC937

    oklch(79.9% 0.163 115.3)

  • #9EBCFF

    #9EBCFF

    oklch(79.8% 0.101 265.6)

  • #F296F6

    #F296F6

    oklch(79.9% 0.163 325.5)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC937

    #BAC937

    oklch(79.9% 0.163 115.3)

  • #69C9FF

    #69C9FF

    oklch(79.8% 0.119 235.6)

  • #FF99C1

    #FF99C1

    oklch(79.9% 0.13 355.4)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC937

    #BAC937

    oklch(79.9% 0.163 115.3)

  • #00D6E7

    #00D6E7

    oklch(79.9% 0.136 205)

  • #C3AEFF

    #C3AEFF

    oklch(79.8% 0.115 295.6)

  • #FFA097

    #FFA097

    oklch(79.9% 0.115 25.8)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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