#BAC798

Closest named color: Ash Gray (#BFC8AD). oklch(80.8% 0.065 120.4), rgb(186, 199, 152).

Aa

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

About this color

#BAC798 is a light, muted yellow. In OKLCH its lightness is 81%, its chroma 0.065 and its hue 120°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Ash Gray (#BFC8AD), ΔE 0.029 away. Black text reads best on it, at 11.71:1.

Hue familyYellows
Lightnesslight (81%)
Chromamuted (0.065)
Temperaturein between
Nearest nameAsh Gray (#BFC8AD)
Black text11.71:1
White text1.79:1

Values

HEX#BAC798
RGBrgb(186, 199, 152)
HSLhsl(77, 30%, 69%)
OKLCHoklch(80.8% 0.065 120.4)

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 #BAC798 1.79:1 Fails Lc -37.2 Non-text elements, placeholder text
Black text on #BAC798 11.71:1 AAA Lc 70.7 Content text, not long reading
#BAC798 text on white 1.79:1 Fails Lc 33.2 Non-text elements, placeholder text
#BAC798 text on black 11.71:1 AAA Lc -69.4 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

    #F4F6F0

    oklch(97% 0.008 121.6)

  2. Step 100

    100

    #E8ECDE

    oklch(93.6% 0.019 119.8)

  3. Step 200

    200

    #D5DDC3

    oklch(88.4% 0.036 121.1)

  4. Step 300

    300 (this color)

    #BAC798

    oklch(80.8% 0.065 120.4)

  5. Step 400

    400

    #98AA5E

    oklch(70.6% 0.103 120)

  6. Step 500

    500

    #7F9529

    oklch(63.2% 0.133 120.5)

  7. Step 600

    600

    #697E00

    oklch(55.6% 0.133 120.6)

  8. Step 700

    700

    #586A00

    oklch(49.2% 0.117 120.6)

  9. Step 800

    800

    #485700

    oklch(42.9% 0.102 120.5)

  10. Step 900

    900

    #3C4804

    oklch(37.8% 0.087 120.1)

  11. Step 950

    950

    #232A07

    oklch(27% 0.055 119.9)

Export this scale for Tailwind in the Tailwind colors tool

#BAC798 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)#CDC2950.027
Deuteranopia (no green cones)#CBC29A0.027
Tritanopia (no blue cones)#BEC2BA0.053
Achromatopsia (no color)#C1C1C10.065

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC798

    #BAC798

    oklch(80.8% 0.065 120.4)

  • #C6B7E4

    #C6B7E4

    oklch(80.7% 0.065 300.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC798

    #BAC798

    oklch(80.8% 0.065 120.4)

  • #D0BF90

    #D0BF90

    oklch(80.7% 0.065 90.5)

  • #A3CDAB

    #A3CDAB

    oklch(80.9% 0.065 150.4)

Open the analogous palette in the generator

Split complementary

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

  • #BAC798

    #BAC798

    oklch(80.8% 0.065 120.4)

  • #B0BFEB

    #B0BFEB

    oklch(80.8% 0.065 270.2)

  • #D9B1D4

    #D9B1D4

    oklch(80.7% 0.066 330.3)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC798

    #BAC798

    oklch(80.8% 0.065 120.4)

  • #9BC6E7

    #9BC6E7

    oklch(80.7% 0.065 241.6)

  • #E5AFBE

    #E5AFBE

    oklch(80.8% 0.066 0.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC798

    #BAC798

    oklch(80.8% 0.065 120.4)

  • #8ECCD8

    #8ECCD8

    oklch(80.7% 0.065 211)

  • #C6B7E4

    #C6B7E4

    oklch(80.7% 0.065 300.2)

  • #E7B1A7

    #E7B1A7

    oklch(80.7% 0.065 30.5)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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