#BAC07B

Closest named color: Dark Khaki (#BDB76B). oklch(78.7% 0.091 112.5), rgb(186, 192, 123).

Aa

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

About this color

#BAC07B is a light, moderately saturated yellow. In OKLCH its lightness is 79%, its chroma 0.091 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.025 away. Black text reads best on it, at 10.91:1.

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

Values

HEX#BAC07B
RGBrgb(186, 192, 123)
HSLhsl(65, 35%, 62%)
OKLCHoklch(78.7% 0.091 112.5)

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 #BAC07B 1.92:1 Fails Lc -41.1 Non-text elements, placeholder text
Black text on #BAC07B 10.91:1 AAA Lc 67.1 Content text, not long reading
#BAC07B text on white 1.92:1 Fails Lc 36.8 Non-text elements, placeholder text
#BAC07B text on black 10.91:1 AAA Lc -65.7 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

    #F5F6ED

    oklch(97% 0.012 111.8)

  2. Step 100

    100

    #EAECD8

    oklch(93.6% 0.027 111.5)

  3. Step 200

    200

    #D9DDB7

    oklch(88.5% 0.051 112.3)

  4. Step 300

    300 (this color)

    #BAC07B

    oklch(78.7% 0.091 112.5)

  5. Step 400

    400

    #A2A926

    oklch(70.6% 0.146 112.7)

  6. Step 500

    500

    #8B9100

    oklch(63% 0.14 112.7)

  7. Step 600

    600

    #757A00

    oklch(55.6% 0.124 112.6)

  8. Step 700

    700

    #626600

    oklch(49% 0.109 112.4)

  9. Step 800

    800

    #505400

    oklch(42.8% 0.095 112.9)

  10. Step 900

    900

    #434600

    oklch(37.9% 0.084 112.5)

  11. Step 950

    950

    #272900

    oklch(27% 0.06 112.6)

Export this scale for Tailwind in the Tailwind colors tool

#BAC07B 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)#CABA760.025
Deuteranopia (no green cones)#CABC7E0.026
Tritanopia (no blue cones)#C2B8AF0.081
Achromatopsia (no color)#BBBBBB0.091

Harmonies

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

Complementary

The opposite hue (180°).

  • #BAC07B

    #BAC07B

    oklch(78.7% 0.091 112.5)

  • #BBAFEF

    #BBAFEF

    oklch(78.7% 0.091 292.8)

Open the complementary palette in the generator

Analogous

Neighbouring hues, 30° either side.

  • #BAC07B

    #BAC07B

    oklch(78.7% 0.091 112.5)

  • #D6B475

    #D6B475

    oklch(78.6% 0.09 82.2)

  • #98C993

    #98C993

    oklch(78.7% 0.091 142.3)

Open the analogous palette in the generator

Split complementary

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

  • #BAC07B

    #BAC07B

    oklch(78.7% 0.091 112.5)

  • #9ABAF5

    #9ABAF5

    oklch(78.7% 0.092 262.4)

  • #D6A6DC

    #D6A6DC

    oklch(78.7% 0.091 322.7)

Open the split complementary palette in the generator

Triadic

Three hues spaced 120° apart.

  • #BAC07B

    #BAC07B

    oklch(78.7% 0.091 112.5)

  • #7BC4EA

    #7BC4EA

    oklch(78.6% 0.091 232.3)

  • #E8A2BF

    #E8A2BF

    oklch(78.8% 0.09 352.8)

Open the triadic palette in the generator

Square

Four hues spaced 90° apart.

  • #BAC07B

    #BAC07B

    oklch(78.7% 0.091 112.5)

  • #6CCBD3

    #6CCBD3

    oklch(78.7% 0.091 202.7)

  • #BBAFEF

    #BBAFEF

    oklch(78.7% 0.091 292.8)

  • #EEA39F

    #EEA39F

    oklch(78.7% 0.09 22.7)

Open the square palette in the generator

Palettes with this color

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

Similar named colors

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

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