#BAC178

Closest named color: Dark Khaki (#BDB76B). oklch(78.9% 0.096 113.1), rgb(186, 193, 120).

Aa

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

About this color

#BAC178 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.096 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Dark Khaki (#BDB76B), ΔE 0.026 away. Black text reads best on it, at 10.98:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.096)
Temperaturein between
Nearest nameDark Khaki (#BDB76B)
Black text10.98:1
White text1.91:1

Values

HEX#BAC178
RGBrgb(186, 193, 120)
HSLhsl(66, 37%, 61%)
OKLCHoklch(78.9% 0.096 113.1)

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 #BAC178 1.91:1 Fails Lc -40.7 Non-text elements, placeholder text
Black text on #BAC178 10.98:1 AAA Lc 67.4 Content text, not long reading
#BAC178 text on white 1.91:1 Fails Lc 36.4 Non-text elements, placeholder text
#BAC178 text on black 10.98:1 AAA Lc -66.0 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

    #F5F7ED

    oklch(97.2% 0.013 115.8)

  2. Step 100

    100

    #E9ECD7

    oklch(93.5% 0.028 113.5)

  3. Step 200

    200

    #D9DDB6

    oklch(88.4% 0.052 112.2)

  4. Step 300

    300 (this color)

    #BAC178

    oklch(78.9% 0.096 113.1)

  5. Step 400

    400

    #A2AA15

    oklch(70.8% 0.153 113.1)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #626700

    oklch(49.3% 0.11 113.1)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #424600

    oklch(37.8% 0.084 113.4)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#BAC178 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)#CBBB730.026
Deuteranopia (no green cones)#CBBC7B0.028
Tritanopia (no blue cones)#C2B9AF0.084
Achromatopsia (no color)#BBBBBB0.096

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC178

    #BAC178

    oklch(78.9% 0.096 113.1)

  • #BCAFF2

    #BCAFF2

    oklch(78.9% 0.095 293)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC178

    #BAC178

    oklch(78.9% 0.096 113.1)

  • #D8B571

    #D8B571

    oklch(78.9% 0.095 83.1)

  • #96CA92

    #96CA92

    oklch(78.8% 0.095 142.9)

Open the analogous palette in the generator

Split complementary

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

  • #BAC178

    #BAC178

    oklch(78.9% 0.096 113.1)

  • #9ABAF8

    #9ABAF8

    oklch(78.8% 0.096 263.2)

  • #D8A6DE

    #D8A6DE

    oklch(78.9% 0.095 322.8)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC178

    #BAC178

    oklch(78.9% 0.096 113.1)

  • #78C5EE

    #78C5EE

    oklch(78.9% 0.096 233.1)

  • #EBA1BF

    #EBA1BF

    oklch(78.9% 0.095 353.5)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC178

    #BAC178

    oklch(78.9% 0.096 113.1)

  • #66CCD5

    #66CCD5

    oklch(78.8% 0.096 203.1)

  • #BCAFF2

    #BCAFF2

    oklch(78.9% 0.095 293)

  • #F2A29D

    #F2A29D

    oklch(78.9% 0.096 23.4)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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