#BAC271

Closest named color: Light Olive (#ACBF69). oklch(79% 0.105 113.4), rgb(186, 194, 113).

Aa

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

About this color

#BAC271 is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.105 and its hue 113°. Its hue sits between the warm and cool halves of the wheel. The nearest named color is Light Olive (#ACBF69), ΔE 0.024 away. Black text reads best on it, at 11.04:1.

Hue familyYellows
Lightnesslight (79%)
Chromamoderately saturated (0.105)
Temperaturein between
Nearest nameLight Olive (#ACBF69)
Black text11.04:1
White text1.90:1

Values

HEX#BAC271
RGBrgb(186, 194, 113)
HSLhsl(66, 40%, 60%)
OKLCHoklch(79% 0.105 113.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 #BAC271 1.90:1 Fails Lc -40.5 Non-text elements, placeholder text
Black text on #BAC271 11.04:1 AAA Lc 67.7 Content text, not long reading
#BAC271 text on white 1.90:1 Fails Lc 36.2 Non-text elements, placeholder text
#BAC271 text on black 11.04:1 AAA Lc -66.3 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

    #F5F7EC

    oklch(97.2% 0.015 115)

  2. Step 100

    100

    #E9ECD6

    oklch(93.5% 0.029 113.3)

  3. Step 200

    200

    #D8DEB2

    oklch(88.5% 0.059 113.9)

  4. Step 300

    300 (this color)

    #BAC271

    oklch(79% 0.105 113.4)

  5. Step 400

    400

    #A1AA00

    oklch(70.7% 0.158 113.5)

  6. Step 500

    500

    #8A9200

    oklch(63.2% 0.142 113.6)

  7. Step 600

    600

    #747A00

    oklch(55.6% 0.124 113.2)

  8. Step 700

    700

    #616700

    oklch(49.2% 0.11 113.7)

  9. Step 800

    800

    #4F5400

    oklch(42.7% 0.096 113.7)

  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

#BAC271 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)#CDBB6B0.030
Deuteranopia (no green cones)#CCBD750.030
Tritanopia (no blue cones)#C3B9AE0.092
Achromatopsia (no color)#BCBCBC0.105

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC271

    #BAC271

    oklch(79% 0.105 113.4)

  • #BDAEF8

    #BDAEF8

    oklch(79% 0.105 293.2)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC271

    #BAC271

    oklch(79% 0.105 113.4)

  • #DBB568

    #DBB568

    oklch(79.1% 0.105 83.7)

  • #91CC8F

    #91CC8F

    oklch(78.9% 0.105 143.7)

Open the analogous palette in the generator

Split complementary

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

  • #BAC271

    #BAC271

    oklch(79% 0.105 113.4)

  • #97BAFE

    #97BAFE

    oklch(78.9% 0.105 263.2)

  • #DCA4E1

    #DCA4E1

    oklch(79.1% 0.104 323.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC271

    #BAC271

    oklch(79% 0.105 113.4)

  • #71C6F3

    #71C6F3

    oklch(79% 0.105 233.3)

  • #F09EC0

    #F09EC0

    oklch(79% 0.106 353.3)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC271

    #BAC271

    oklch(79% 0.105 113.4)

  • #5ACED9

    #5ACED9

    oklch(78.9% 0.105 203.8)

  • #BDAEF8

    #BDAEF8

    oklch(79% 0.105 293.2)

  • #F79F9A

    #F79F9A

    oklch(78.9% 0.106 23.3)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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